In the shell, prepare the Julia environment on an octopus node:
$ ssh <username>@octopus.unil.ch
$ ssh -YC nodeXX
$ cd /scratch/<username>/<path-to-folder>
$ module load julia cuda/11.0
$ export JULIA_CUDA_USE_BINARYBUILDER=falseLauch Julia:
$ juliaThen in the Julia REPL (and package manager):
julia> ]
(@v1.5) pkg> add Plots
(@v1.5) pkg> add CUDA
(@v1.5) pkg> add ParallelStencil
julia>
julia> exit()Then, running the code.
-
From the Julia REPL (bound checks - good for development). Launch julia:
$ julia
then in the REPL:
julia> include("myJuliaCode.jl")
-
Or from the terminal (better perf. - production run):
$ julia -O3 --check-bounds=no myJuliaCode.jl