We prepared a shared environment in "/g/data/dk92/notebooks/examples-julia/Oceananigans/SharedEnv". It is ready to use in our example notebooks and benchmarks.

To create one for your own, install Ocenanigans.jl on top of singularity image based module "NCI-data-analysis/2022.06". Follow the example below and choose a directory where you have write permission to replace the string "$myENVs". It will has all relevant packages installed in the named directory.  

Please note, our example notebooks and benchmarks are tested in an environment prepared like the following.

gadi-login-node$ module use /g/data/dk92/apps/Modules/modulefiles/ 
gadi-login-node$ module load NCI-data-analysis/2022.06 
gadi-login-node$ julia

julia> versioninfo() Julia Version 1.7.2
Commit bf53498635 (2022-02-06 15:21 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: Intel(R) Xeon(R) Platinum 8268 CPU @ 2.90GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-12.0.1 (ORCJIT, cascadelake)
Environment:
  JULIA_COPY_STACKS = 1
  JULIA_DEPOT_PATH = /opt/julia
  JULIA_PKGDIR = /opt/julia
  JULIA_VERSION = 1.7.2

shell> mkdir -p $myENVs/julia/Oceananigans/v0.79.5/environments/v1.7 
shell> touch $myENVs/julia/Oceananigans/v0.79.5/environments/v1.7/Project.toml

julia> pushfirst!(DEPOT_PATH,"$myENVs/julia/Oceananigans/v0.79.5")
# add CairoMakie, CUDA, and Oceananigans
(@v1.8) pkg> add CairoMakie
(@v1.8) pkg> add CUDA
(@v1.8) pkg> add Oceananigans
  • No labels