First in terminal you need to set XDG_RUNTIME_DIR environment to TMPDIR: export XDG_RUNTIME_DIR=$TMPDIR.

load required python module, ie. plgrid/tools/python/3.6.0 and browser, ie. firefox: plgrid/apps/firefox and run jupyter: jupyter notebook

Julia in jupyter

module load plgrid/tools/julia/0.6.1 plgrid/tools/python/3.6.0 plgrid/apps/firefox
julia

Next in julia:

ENV["JUPYTER"]="/net/software/local/python/3.6.0/bin/jupyter"
Pkg.add("IJulia")
using IJulia
notebook() 

If it fails remove line 'provides(Yum, "czmq", zmq, os = :Linux);' from file ~/.julia/v0.6/ZMQ/deps/build.jl and next in julia:

Pkg.build("ZMQ")
Pkg.add("IJulia")
using IJulia
notebook()


  • No labels