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. -->
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...