Skip to content

Commit b1ad95a

Browse files
authored
Merge pull request #122 from Tmonster/try_to_fix_julia
Try to fix Julia & spark
2 parents 6692777 + 2e57d0e commit b1ad95a

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

_launcher/launcher.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,8 @@ launch = function(dt, mockup, out_dir="out") {
160160
uniqueN(dt$nodename)==1L, # this should be single value of current nodename
161161
!anyNA(dt$solution), !anyNA(dt$task), !anyNA(dt$data)
162162
)
163+
# unset LD_LIBRARY_PATH for julia see https://github.com/JuliaLang/julia/issues/55765#issuecomment-2641247134
164+
Sys.setenv(LD_LIBRARY_PATH="")
163165
machine_type = Sys.getenv("MACHINE_TYPE")
164166
stopifnot(is.character(machine_type))
165167
batch = Sys.getenv("BATCH", NA)

_setup_utils/setup_small.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ sudo apt-get -qq install make
1111

1212
sudo apt-get -qq install wget curl openssl build-essential
1313
sudo apt-get -qq install -y r-base-dev virtualenv
14-
sudo apt-get -qq install openjdk-8-jdk
14+
sudo apt-get -qq install openjdk-17-jdk
1515

1616
sudo apt-get install -y zlib1g-dev
1717
sudo apt-get install -y pandoc unzip

spark/setup-spark.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ virtualenv spark/py-spark --python=python3
88

99

1010
# put to paths
11-
echo 'export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64' >> path.env
11+
echo 'export JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64' >> path.env
1212

1313
source path.env
1414

0 commit comments

Comments
 (0)