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

Problems building CCSM on cluster

Hi Folks,

I am having problems building CCSM on a cluster using PGI 6. I am getting the following when build CPL.

mpif90 -O -I. -I/home/jjt/netcdf/pgi/include -I. -I/home/jjt/BNU/ccsm/T85/SourceMods/src.cpl -I/home/jjt/BNU/ccsm/ccsm3_0/models/cpl/cpl6 -I/home/jjt/BNU/ccsm/ccsm3_0/models/csm_share -I/home/jjt/BNU/ccsm/ccsm3_0/models/csm_share/shr -I/home/jjt/BNU/ccsm/ccsm3_0/models/csm_share/cpl -c -r8 -i4 -Kieee -Mrecursive -Mdalign -Mextend -Mfree -DLINUX -DPGF90 -DNO_SHR_VMATH -DLINUX /home/jjt/BNU/ccsm/ccsm3_0/models/csm_share/cpl/cpl_mct_mod.F90
PGF90-F-0004-Unable to open MODULE file m_mctworld.mod (/home/jjt/BNU/ccsm/ccsm3_0/models/csm_share/cpl/cpl_mct_mod.F90: 37)
PGF90/any Linux/x86-64 6.0-5: compilation aborted
gmake: *** [cpl_mct_mod.o] Error 2

Basicly, it appears that the search location for "m_mctworld.mod" is not specified in the compile. It is located in lib/include but this isnt specified on the compile. Any idea why this is before I start hacking up stuff? Thanks
 

jacob@mcs_anl_gov

Rob Jacob
New Member
You're right that $EXEROOT/lib/include is missing from the compile. I can't say why that might be.

Below is what the compile line for that routine looks like on jazz.

Rob

mpif90 -I. -I/soft/apps/packages/netcdf-3.6.0-p1-pgi-5.2/include -I/usr/include -I/home/jacob/exe/deadtest/lib/include -I. -I/home/jacob/ccsm3_0/scripts/deadtest/SourceMods/src.cpl -I/home/jacob/ccsm3_0/models/cpl/cpl6 -I/home/jacob/ccsm3_0/models/csm_share
-I/home/jacob/ccsm3_0/models/csm_share/shr -I/home/jacob/ccsm3_0/models/csm_share/cpl -c -r8 -i4 -Kieee -Mrecursive -Mdalign -Me
xtend -Mfree -DLINUX -DPGF90 -DNO_SHR_VMATH -DLINUX /home/jacob/ccsm3_0/models/csm_share/cpl/cpl_mct_mod.F90
 
Top