Skip to content

Commit 77fc39f

Browse files
authored
Merge branch E3SM-Project/ndk/machinefiles/pm-cpu-nvidia-trace-env-var (PR #7852)
For pm-cpu using nvidia compiler, add environment variable to get more DEBUG information
2 parents 6e53f24 + fefda4b commit 77fc39f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

cime_config/machines/config_machines.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,9 @@
305305
<env name="LAPACK_ROOT">$SHELL{if [ -z "$LAPACK_ROOT" ]; then echo $NVIDIA_PATH/compilers; else echo "$LAPACK_ROOT"; fi}</env>
306306
<env name="BLA_VENDOR">NVHPC</env>
307307
</environment_variables>
308+
<environment_variables compiler="nvidia" DEBUG="TRUE">
309+
<env name="NVCOMPILER_TERM">trace</env>
310+
</environment_variables>
308311
<environment_variables compiler="intel">
309312
<env name="BLA_VENDOR">Intel10_64_dyn</env>
310313
</environment_variables>
@@ -657,6 +660,9 @@
657660
<env name="LAPACK_ROOT">$SHELL{if [ -z "$LAPACK_ROOT" ]; then echo $NVIDIA_PATH/compilers; else echo "$LAPACK_ROOT"; fi}</env>
658661
<env name="BLA_VENDOR">NVHPC</env>
659662
</environment_variables>
663+
<environment_variables compiler="nvidia" DEBUG="TRUE">
664+
<env name="NVCOMPILER_TERM">trace</env>
665+
</environment_variables>
660666
<environment_variables compiler="intel">
661667
<env name="BLA_VENDOR">Intel10_64_dyn</env>
662668
</environment_variables>
@@ -1009,6 +1015,9 @@
10091015
<env name="LAPACK_ROOT">$SHELL{if [ -z "$LAPACK_ROOT" ]; then echo $NVIDIA_PATH/compilers; else echo "$LAPACK_ROOT"; fi}</env>
10101016
<env name="BLA_VENDOR">NVHPC</env>
10111017
</environment_variables>
1018+
<environment_variables compiler="nvidia" DEBUG="TRUE">
1019+
<env name="NVCOMPILER_TERM">trace</env>
1020+
</environment_variables>
10121021
<environment_variables compiler="intel">
10131022
<env name="BLA_VENDOR">Intel10_64_dyn</env>
10141023
</environment_variables>

0 commit comments

Comments
 (0)