I have a cluster with one master and 3 compute nodes. computes have restricted access to the internet.
I installed Julia and Ipopt on the master node. then copied the entire installation to the compute nodes. Ipopt is added and built on the master.
On the master:
/share/apps/Julia/julia-903644385b/
Pkg.dir(): "/home/user1/.julia/v0.6"
On the compute:
partition1/apps/Julia/julia-903644385b/
Pkg.dir(): "/partition1/apps/Julia/julia-903644385b/share/julia/site/v0.6"
base=/partition1
export JULIADIR=$base/apps/Julia/julia-903644385b/
export JULIA_HOME=$JULIADIR/bin
export JULIA_PKGDIR="/partition1/apps/Julia/julia-903644385b/share/julia/site/v0.6"
export LD_LIBRARY_PATH=$JULIADIR/lib/julia:$JULIA_PKGDIR/v0.6/Ipopt/deps/usr/lib/:$LD_LIBRARY_PATH
export PATH=$JULIADIR/bin:$PATH
running a sample Ipopt script is resulting in an error:
ERROR: LoadError: LoadError: Unable to load
libipopt (/share/apps/Julia/julia-903644385b/share/julia/site/v0.6/Ipopt/deps/usr/lib/libipopt.so)
Julia on compute node is trying to pickup Ipopt from the master node. Is this matter of clearing any cache or a missing env variable?
Thanks