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

CESM2 bug intel compiler

stevenDH

Member
there appears to be a bug in the "config_compilers.xml" file in cesm2.0. The name of the MPI compilers used with the Intel compiler collection is wrong, as those are set to the names of the GNU compilers. This appears very odd to me, as these settings are wrong on any environment using the standard installation of the Intel compilers. I wonder what they do on cheyenne or other clusters to not have this issue. The part that is wrong starts on line 210, with the definition of the Intel compiler `<compiler COMPILER="intel">`. At the end of that group (line 248) you will see
[...]
<MPICC> mpicc </MPICC>
<MPICXX> mpicxx </MPICXX>
<MPIFC> mpif90 </MPIFC>
[...]
These three settings have to be changed to
[...]
<MPICC> mpiicc </MPICC>
<MPICXX> mpiicpc </MPICXX>
<MPIFC> mpiifort </MPIFC>
[...]

When changing these, I tested the build with a control case and it worked well. I wonder what the reason is to change the standard name of the Intel compilers and how is this handled on eg cheyenne which is compiled on intel if I am not mistaken. Anyone aware of this issue?
 

sacks

Bill Sacks
CSEG and Liaisons
Staff member
I believe this is machine dependent. On cheyenne, with intel modules loaded, mpif90 has the same meaning as mpiifort. Perhaps the machine you're using does not have the module environment set up the same way?
 
Top