From 1c1d0be1f00b2921ec782cd392c37f1e94500fc5 Mon Sep 17 00:00:00 2001 From: Michael Zingale Date: Sat, 9 Sep 2023 08:15:16 -0400 Subject: [PATCH] some tweaks to NERSC --- sphinx_docs/source/nersc-compilers.rst | 2 +- sphinx_docs/source/nersc-workflow.rst | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/sphinx_docs/source/nersc-compilers.rst b/sphinx_docs/source/nersc-compilers.rst index 65ef3ce..52a9bc3 100644 --- a/sphinx_docs/source/nersc-compilers.rst +++ b/sphinx_docs/source/nersc-compilers.rst @@ -34,7 +34,7 @@ Build, e.g. the Castro Sedov hydro test problem .. prompt:: bash - make -j COMP=gnu TINY_PROFILE=TRUE USE_MPI=TRUE USE_OMP=FALSE USE_CUDA=TRUE -j 4 + make COMP=gnu TINY_PROFILE=TRUE USE_MPI=TRUE USE_OMP=FALSE USE_CUDA=TRUE -j 4 Hypre ^^^^^ diff --git a/sphinx_docs/source/nersc-workflow.rst b/sphinx_docs/source/nersc-workflow.rst index 2dee56c..db131dc 100644 --- a/sphinx_docs/source/nersc-workflow.rst +++ b/sphinx_docs/source/nersc-workflow.rst @@ -39,6 +39,9 @@ each OpenMP thread per physical core, so it is best to set ``OMP_NUM_THREADS`` t Jobs should be run in your ``$SCRATCH`` directory. By default, SLURM will change directory into the submission directory. + Alternately, you can run in the common file system, ``$CFS/m3018``, + which everyone in the project has access to. + Jobs are submitted as: .. prompt:: bash @@ -57,6 +60,8 @@ and an estimate of the start time can be found via: squeue --me --start +to cancel a job, you would use ``scancel``. + Chaining ^^^^^^^^