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
-
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
cmake
with-DENABLE_MPI
. I used the Docker images in theDocker/
directory.The setup consists of the single column
config_column.cfg
configuration 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
, changingnfirst
andnsecond
to 30 (lines 3 and 4 in the file). I also changed the name of the output file toinit_column_30x30.nc
for clarity).Then, from the
run/
directory do:You can also run it with just one MPI partition by using
--model.partition_file=partition.nc
in the above line. If you want to change the number of rows and columns, you must edit thepartition.cdl
file, replacingNX
,NY
,domain_extent_x
,domain_extent_y
with the desired dimensions. Then recreatepartition.nc
withThe 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