ESMCI / ccs_config_cesm

CESM CIME Case Control System configuration files
3 stars 44 forks source link

Path needs to be updated for nag_mpi_argument.txt file #44

Closed ekluzek closed 8 months ago

ekluzek commented 2 years ago

The path needs to be updated to the nag_mpi_sergument.txt file which assumes a path under cime.

Here's how I changed it assuming ccs_config is parallel to the CIMEROOT directory. That might not be the best way to handle this...

diff --git a/machines/config_compilers.xml b/machines/config_compilers.xml
index 0aa7cda..1da28b1 100644
--- a/machines/config_compilers.xml
+++ b/machines/config_compilers.xml
@@ -357,7 +357,7 @@ using a fortran linker.
   <FFLAGS>
     <!-- The indirect flag below is to deal with MPI functions that violate    -->
     <!-- the Fortran standard, by adding a large set of arguments from a file. -->
-    <base>-Wp,-macro=no_com -convert=BIG_ENDIAN -indirect $ENV{CIMEROOT}/config/cesm/machines/nag_mpi_argument.txt</base>
+    <base>-Wp,-macro=no_com -convert=BIG_ENDIAN -indirect $ENV{CIMEROOT}/../ccs_config/machines/nag_mpi_argument.txt</base>
     <!-- DEBUG vs. non-DEBUG runs.                                             -->
     <append DEBUG="FALSE"> -ieee=full -O2 </append>
     <!-- The "-gline" option is nice, but it doesn't work with OpenMP.         -->
ekluzek commented 8 months ago

There were some changes that happened with this. But, it's obviously fixed at least by:

5f6b30ae

So closing.