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

CESM_1_0_3 PIO building error (with PGI compiler)

Hi everyone,

I met the following error when building CESM_1_0_3 for all compsets. However, version CESM_1_0 has no problem in my cluster. So I think the error should come from model modification.

mpif90 -c -pc 64 -r8 -byteswapio -DMCT_INTERFACE -DHAVE_MPI -DGLC_NEC_10 -DLINUX -DSEQ_ -DFORTRANUNDERSCORE -DNO_SHR_VMATH -i4 -Mextend -byteswapio -Mflushz -Kieee -Ktrap=fp -DSYSLINUX -DLINUX -DCPRPGI -DSPMD -DHAVE_MPI -DUSEMPIIO -D_NETCDF -D_NOPNETCDF -D_NOUSEMCT -D_USEBOX -I/opt/libs/netcdf/3.6.2/gcc.pgf90/include piolib_mod.F90
PGF90-S-0038-Symbol, mpi_root, has not been explicitly declared (piolib_mod.F90)
0 inform, 0 warnings, 1 severes, 0 fatal for init_intercom
gmake[1]: *** [piolib_mod.o] Error 2
gmake[1]: Leaving directory `/dcfs2/users/allencapa/tao/cesm1/CASE_OUTPUT/test_X/pio'
gmake: *** [all] Error 2

Can some one tell me why it is so ?

Siraj
 

jedwards

CSEG and Liaisons
Staff member
You are using an older version of mpich without MPI2 support - Please add the flag -DNO_MPI2 to your case Macros file.

Jim
 
Top