CESM1.0.3 PIO compilation error

brunke

New Member
I'm trying to port CESM1.0.3 to a Linux cluster using Intel compilers. When compiling PIO, it trips up on compiling pio_msg_callbacks.F90. The compile command is:

mpif90 -c -I/usr/local/include -DSYSLINUX -DLINUX -DCPRUNKNOWNCPR -DSPMD -DHAVE_MPI -DUSEMPIIO -D_NETCDF -D_NOPNETCDF -D_NOUSEMCT -D_USEBOX -I/usr/local/include -I/usr/local/include pio_msg_callbacks.F90

And one of the errors that it sends back is:

pio_msg_callbacks.F90(12): error #6457: This derived type name has not been declared. [FILE_DESC_T]
type(file_desc_t), pointer :: file

Has anybody else gotten this error before and know what to do to fix it? Thanks!
 

jedwards

CSEG and Liaisons
Staff member
This is an error with certain versions of the pgi and intel compilers, please update to the latest compiler version and try again.
 
Back
Top