Running thermodynamics only with MPI #697
einola
started this conversation in
Show and tell
Replies: 1 comment
-
|
Thanks, I can perfectly reproduce your run. Talk to you soon |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
Running something simple and quick but with MPI is essential for those working on coupling (@andreapiacentini, @monsieuralok). Here is how I do this (even though it crashes at the end until this issue is resolved).
Get nextsim running in your favourite environment; just be sure to run
cmakewith-DENABLE_MPI. I used the Docker images in theDocker/directory.The setup consists of the single column
config_column.cfgconfiguration run on a 30x30 grid. This should result in a spatially uniform solution that is time-varying.I created the init file using
make_init_column.py, changingnfirstandnsecondto 30 (lines 3 and 4 in the file). I also changed the name of the output file toinit_column_30x30.ncfor clarity).Then, from the
run/directory do:You can also run it with just one MPI partition by using
--model.partition_file=partition.ncin the above line. If you want to change the number of rows and columns, you must edit thepartition.cdlfile, replacingNX,NY,domain_extent_x,domain_extent_ywith the desired dimensions. Then recreatepartition.ncwithThe result of the 30x30 run is spatially uniform, but ice thickness and temperatures vary with time, e.g.
Beta Was this translation helpful? Give feedback.
All reactions