From d14f346508854b0d2a7c366611862b99ad3b1b35 Mon Sep 17 00:00:00 2001 From: Michael Zingale Date: Wed, 10 Jan 2024 15:15:39 -0500 Subject: [PATCH] some updates --- sphinx_docs/source/olcf-workflow.rst | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/sphinx_docs/source/olcf-workflow.rst b/sphinx_docs/source/olcf-workflow.rst index 615a44f..3b78ff6 100644 --- a/sphinx_docs/source/olcf-workflow.rst +++ b/sphinx_docs/source/olcf-workflow.rst @@ -541,7 +541,7 @@ Setup the environment: .. prompt:: bash - module load PrgEnv-cray + module load PrgEnv-gnu module load cray-mpich/8.1.27 module load craype-accel-amd-gfx90a module load amd-mixed/5.6.0 @@ -559,16 +559,36 @@ Startup an interactive session: salloc -A ast106 -J mz -t 0:30:00 -p batch -N 1 -This will automatically log you onto the compute now. Now set the following -environment variables: +This will automatically log you onto the compute now. + +.. note:: + + It's a good idea to do: + + .. prompt:: bash + + module restore + + and then reload *the same* modules used for compiling in the interactive shell. + +Now set the following environment variables: .. prompt:: bash export HIP_ENABLE_DEFERRED_LOADING=0 - export AMD_LOG_LEVEL=3 export AMD_SERIALIZE_KERNEL=3 export AMD_SERIALIZE_COPY=3 +.. note:: + + You can also set + + .. prompt:: bash + + export AMD_LOG_LEVEL=3 + + to get *a lot* of information about the GPU calls. + Run the debugger: .. prompt:: bash