Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

Run CESM using job arrays

ijaguirre

Ignacio Aguirre
New Member
Hi,

I want to run 128 1-core simulations of CESM in a single Derecho PBS node using the job array way option, described in NCAR HPC Documentation - Job Scripts. I want to run these simulations at the same time (i.e., concurrently, with no exchange of information between the simulations.

This approach of Multiple Program, Multiple Data (MPMD) based on job-arrays, has been suggested in the CESM forum before: CTSM single-point simulation and CESM/CTSM single-point simulation on Derecho

In this regard, I am wondering how run CESM via ./case.submit in the job array.

The examples in NCAR HPC Documentation - Job Scripts suggest calling a .exe file directly
Code:
# this is a comment line for demonstration
./cmd1.exe < input1 # comments are allowed for steps too, but not required
./cmd2.exe < input2
./cmd3.exe < input3
...
./cmdN.exe < inputN

However, when I ran CESM via ./case.submit there is not a cmd1.exe file that I can call, and provide the parameters following the proposed configuration.

In this regard, I am wondering for any suggestion on how to call CESM via job array (i.e., something similar to ./cmd1.exe < input1)

Thank you in advance,
 
Top