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 while building CESM on zeus (linux)

Hello,I am building CESM on a linux machine and I get an error while building pio:mpif90  -c -DLINUX -DMCT_INTERFACE -DHAVE_MPI -DFORTRANUNDERSCORE -DNO_R16 -DHAVE_F2008_CONTIGUOUS -DLINUX -DCPRINTEL -DHAVE_SLASHPROC -DSPMD -DHAVE_MPI -DUSEMPIIO -DSYSLINUX -D_NETCDF -I/apps/netcdf/4.2-intel-12.0.4.191-mpt-2.05/include -D_NOPNETCDF -DTIMING  -O2 -fp-model precise -convert big_endian -assume byterecl -ftz -traceback -xHost -g -CU -check pointers -fpe0 -ftz  -I.  -I/apps/netcdf/4.2-intel-12.0.4.191-mpt-2.05/include -I/apps/mpt/2.06/include -I/scratch2/portfolios/BMC/epaw/CESMtest/bld/mct/mct -I/scratch2/portfolios/BMC/epaw/CESMtest/bld/mct/mpeu -I/scratch2/portfolios/BMC/epaw/CESMtest/bld/pio -I/scratch2/portfolios/BMC/epaw/CESM/models/utils/pio -I/scratch2/portfolios/BMC/epaw/CESMtest/bld/lib/include -I/apps/netcdf/4.2-intel-12.0.4.191-mpt-2.05/include   -I../timing  /scratch2/portfolios/BMC/epaw/CESM/models/utils/pio/pio_msg_callbacks.F90/scratch2/portfolios/BMC/epaw/CESM/models/utils/pio/pio_msg_callbacks.F90(17): error #6457: This derived type name has not been declared.   [FILE_DESC_T]  type(file_desc_t), pointer :: file-------^/scratch2/portfolios/BMC/epaw/CESMmodels/utils/pio/pio_msg_callbacks.F90(27): error #6404: This name does not have a type, and must have an explicit type.   [FILE]  file=> lookupfile(fh)--^/scratch2/portfolios/BMC/epaw/CESM/models/utils/pio/pio_msg_callbacks.F90(27): error #6795: The target must be of the same type and kind type parameters as the pointer.   [FILE]  file=> lookupfile(fh)etc..Am I missing a library?Thank you,Amy 
 

jedwards

CSEG and Liaisons
Staff member
file_desc_t is defined in pio_types.F90 look for the compile log for that file and see if there is an error there.  
 
Top