Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 1.74 KB

NCAR_tips.md

File metadata and controls

42 lines (30 loc) · 1.74 KB

Running CUPiD on NCAR Supercomputers

A few tips and tricks tailored for the CISL's compute environment.

Running in Parallel

There are two ways to request multiple cores on either casper or derecho. Both cases are requesting 12 cores and 120 GB of memory.

The recommended approach releases the cores immediately after cupid-run finishes:

[login-node] $ conda activate cupid-dev
(cupid-dev) [login-node] $ qcmd -l select=1:ncpus=12:mem=120GB -- cupid-run config.yml

Alternatively, you can start an interactive session and remain on the compute nodes after cupid-run completes:

[login-node] $ qinteractive -l select=1:ncpus=12:mem=120GB
[compute-node] $ conda activate cupid-dev
(cupid-dev) [compute-node] $ cupid-run config.yml

Notes:

  1. If you chose to run on derecho, specify the develop queue by adding the option -q develop to either qcmd or qinteractive (the develop queue is a shared resource and you are charged by the core hour rather than the node hour).
  2. cupid-build is not computationally expensive, and can be run on a login node for either machine.

Looking at Output

You can visualize the web page in a browser using the FastX service. FastX requires you to be on the internal NCAR network (either on-site or via the VPN), and can be accessed via the following steps:

  1. Open a new browser window that points to https://fastx.ucar.edu:3300/session/
  2. Open a default desktop icon.
  3. Select the browser client.
  4. Type xterm and hit enter to open a terminal.
  5. In the terminal, run cd ${CUPID_ROOT}/examples/coupled_model/computed_notebooks/quick-run/_build/html to enter the html directory.
  6. From the updated directory, run firefox index.html & to open a web browser pointed at the generated web page.