Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

Error building CESM 1.2.1 on Pleiades-san

santos

Member
I didn't think this made sense at all, so I went digging deeper. The problem is in ${CESMROOT}/scripts/ccsm_utils/Machines/config_compilers.xml, and this is the fix:
Code:
--- /u/spsantos/CESM/cesm1_2_1/scripts/ccsm_utils/Machines/config_compilers.xml	(revision 57235)<br />+++ /u/spsantos/CESM/cesm1_2_1/scripts/ccsm_utils/Machines/config_compilers.xml	(working copy)<br />@@ -613,7 +613,7 @@<br /> <br /> <compiler MACH="pleiades-wes"><br />   <NETCDF_PATH> /nasa/netcdf/4.0-i10.1</NETCDF_PATH><br />-  <MPI_PATH>/nasa/sgi/mpt/2.08r7<MPI_PATH><br />+  <MPI_PATH>/nasa/sgi/mpt/2.08r7</MPI_PATH><br />   <MPI_LIB_NAME>mpi</MPI_LIB_NAME><br />   <MPICC>icc</MPICC><br />   <ADD_FFLAGS DEBUG="FALSE"> -O2 -axAVX -xSSE4.1 </ADD_FFLAGS>

It turns out that this invalid XML was causing the pleiades section of this file to be ignored, hence the problems with CESM 1.2.0. I'll make a note of this bug...Edit: replaced the diff with the full unified diff.
 

santos

Member
I didn't think this made sense at all, so I went digging deeper. The problem is in ${CESMROOT}/scripts/ccsm_utils/Machines/config_compilers.xml, and this is the fix:
Code:
--- /u/spsantos/CESM/cesm1_2_1/scripts/ccsm_utils/Machines/config_compilers.xml	(revision 57235)<br />+++ /u/spsantos/CESM/cesm1_2_1/scripts/ccsm_utils/Machines/config_compilers.xml	(working copy)<br />@@ -613,7 +613,7 @@<br /> <br /> <compiler MACH="pleiades-wes"><br />   <NETCDF_PATH> /nasa/netcdf/4.0-i10.1</NETCDF_PATH><br />-  <MPI_PATH>/nasa/sgi/mpt/2.08r7<MPI_PATH><br />+  <MPI_PATH>/nasa/sgi/mpt/2.08r7</MPI_PATH><br />   <MPI_LIB_NAME>mpi</MPI_LIB_NAME><br />   <MPICC>icc</MPICC><br />   <ADD_FFLAGS DEBUG="FALSE"> -O2 -axAVX -xSSE4.1 </ADD_FFLAGS>

It turns out that this invalid XML was causing the pleiades section of this file to be ignored, hence the problems with CESM 1.2.0. I'll make a note of this bug...Edit: replaced the diff with the full unified diff.
 

santos

Member
I didn't think this made sense at all, so I went digging deeper. The problem is in ${CESMROOT}/scripts/ccsm_utils/Machines/config_compilers.xml, and this is the fix:
Code:
--- /u/spsantos/CESM/cesm1_2_1/scripts/ccsm_utils/Machines/config_compilers.xml	(revision 57235)<br />+++ /u/spsantos/CESM/cesm1_2_1/scripts/ccsm_utils/Machines/config_compilers.xml	(working copy)<br />@@ -613,7 +613,7 @@<br /> <br /> <compiler MACH="pleiades-wes"><br />   <NETCDF_PATH> /nasa/netcdf/4.0-i10.1</NETCDF_PATH><br />-  <MPI_PATH>/nasa/sgi/mpt/2.08r7<MPI_PATH><br />+  <MPI_PATH>/nasa/sgi/mpt/2.08r7</MPI_PATH><br />   <MPI_LIB_NAME>mpi</MPI_LIB_NAME><br />   <MPICC>icc</MPICC><br />   <ADD_FFLAGS DEBUG="FALSE"> -O2 -axAVX -xSSE4.1 </ADD_FFLAGS>

It turns out that this invalid XML was causing the pleiades section of this file to be ignored, hence the problems with CESM 1.2.0. I'll make a note of this bug...Edit: replaced the diff with the full unified diff.
 

santos

Member
This is a diff (in the "unified" format), so you should find the line with the "-" and replace it with the line that has the "+". If you look closely, you see that these are identical except that the "+" line ends with "". So you just have to add one slash.The problem is only present in the "pleiades-wes" block. However, it causes a problem that prevents an XML parser from processing the "pleiades-san" block as well. So if you fix the line I pointed out in pleiades-wes, it should fix pleiades-san and pleiades-ivy as well.
 

santos

Member
This is a diff (in the "unified" format), so you should find the line with the "-" and replace it with the line that has the "+". If you look closely, you see that these are identical except that the "+" line ends with "". So you just have to add one slash.The problem is only present in the "pleiades-wes" block. However, it causes a problem that prevents an XML parser from processing the "pleiades-san" block as well. So if you fix the line I pointed out in pleiades-wes, it should fix pleiades-san and pleiades-ivy as well.
 

santos

Member
This is a diff (in the "unified" format), so you should find the line with the "-" and replace it with the line that has the "+". If you look closely, you see that these are identical except that the "+" line ends with "". So you just have to add one slash.The problem is only present in the "pleiades-wes" block. However, it causes a problem that prevents an XML parser from processing the "pleiades-san" block as well. So if you fix the line I pointed out in pleiades-wes, it should fix pleiades-san and pleiades-ivy as well.
 
Top