Skip to content

Notes on Mars topography

Peter Hjort Lauritzen edited this page Dec 12, 2024 · 5 revisions

On Casper:

qcmd -l walltime=12:00:00 -A P03010039 -l select=1:ncpus=1 -- ./cube_to_target --compute_sgh30_from_sgh_fac 0.5 --jmax_segments 100000 --smoothing_over_ocean --grid_descriptor_file /glade/campaign/cesm/cesmdata/inputdata/share/meshes/ne16np4_ESMFmesh_cdf5_c20211018.nc --intermediate_cs_name /glade/campaign/cgd/amp/pel/topo/cubedata/mars-ncube3000.nc --output_grid ne16np4 --smoothing_scale 200.0 --name_email_of_creator Peter Hjort Lauritzen, [email protected] --output_data_directory output/ >& out &

Debugging:

Getting this error when runnign with "DEBUG=TRUE":

  ---> NSW , bloc            4           4
At line 206 of file ridge_ana.F90
Fortran runtime error: Index '3010' of dimension 1 of array 'terr_dev_halo' outside of expected range (3008:-7)

Fix with this temporary fix:

https://github.com/NCAR/Topo/issues/64

bin_to_cube

When running on Derecho the model stopped with error message "Killed". It looks like it ran out of memory. Problem fixed by logging into casper and run on a node with:

execcasper -A P03010039 -l select=1:ncpus=4:mem=100GB
Clone this wiki locally