Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

Next 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

  1. load modules plgrid/tools/julia/0.6.1 and plgrid/tools/python/3.6.0 (and plgrid/apps/firefox)
  2. run julia
  3. set env for jupyter in julia: ENV["JUPYTER"]="/net/software/local/python/3.6.0/bin/jupyter"
  4. install IJulia: Pkg.add("IJulia")
  5. it the above will fail:
    1. remove line 'provides(Yum, "czmq", zmq, os = :Linux);' from file ~/.julia/v0.6/ZMQ/deps/build.jl
    2. run Pkg.build("ZMQ")
    3. run Pkg.add("IJulia") once more
  6. run using IJulia
  7. notebook()