pohlan / SheetModel.jl

2 stars 1 forks source link

SheetModel.jl

Run the model

Execute the script examples/run_SHMIP.jl, in the bash with:

../SheetModel.jl$ julia examples/run_SHMIP.jl -gpu       # for running it on GPU
../SheetModel.jl$ julia -t16 examples/run_SHMIP.jl       # running it on CPU with 16 threads

To see the plots, one must run the script from the Julia REPL:

../SheetModel.jl$ julia -t16
julia> include("examples/run_SHMIP.jl")

(Note: I don't know yet how this works with -gpu as this is an input to the script and not to julia in general. One can manually set const USE_GPU = true in src/SheetModel.jl.)

To get optimal performance, one can replace julia by julia -O3 --check-bounds=no.

Where to find what

src/

examples/

test/

Documentation

The thesis can be found here https://github.com/pohlan/MA-notes/tree/main/main_document