Problem with building CLM4

Dear all,

When trying to run CLM4, after

create_newcase;
edit Macros.generic_linux_pgi and edit env_mach_sepcific;
configure;

Then when I tried to build, the building always stopped and the last lines of error message from the machine are like this:

-------------------------------------------------------------------------
CCSM BUILDEXE SCRIPT STARTING
- Build Libraries: mct pio csm_share
Fri Aug 27 15:11:53 CDT 2010 /home/clm4_case1/clm4_case1/mct/mct.bldlog.100827-151150
Fri Aug 27 15:12:07 CDT 2010 /home/clm4_case1/clm4_case1/pio/pio.bldlog.100827-151150
ERROR: pio.buildlib failed, see /home/clm4_case1/clm4_case1/pio/pio.bldlog.100827-151150
ERROR: cat /home/clm4_case1/clm4_case1/pio/pio.bldlog.100827-151150

_______________________________________________________________

And the last several lines of pio.bldlog.100827-151150 show that:

mpicc -c -g -O2 -DFORTRAN_UNDERSCORE_ -DFORTRANUNDERSCORE -DSYSLINUX -DLINUX -DCPRUNKNOWNCPR -DSPMD -DHAVE_MPI -DUSEMPIIO -D_NETCDF -D_NOPNETCDF -D_NOUSEMCT -D_USEBOX -DNO_SIZEOF -I/usr/local/netcdf-3.6.1/include topology.c
mpicc -c -g -O2 -DFORTRAN_UNDERSCORE_ -DFORTRANUNDERSCORE -DSYSLINUX -DLINUX -DCPRUNKNOWNCPR -DSPMD -DHAVE_MPI -DUSEMPIIO -D_NETCDF -D_NOPNETCDF -D_NOUSEMCT -D_USEBOX -DNO_SIZEOF -I/usr/local/netcdf-3.6.1/include pnetcdfversion.c
mpif90 -c -DMCT_INTERFACE -DHAVE_MPI -DLINUX -DSEQ_ -DFORTRANUNDERSCORE -DNO_SHR_VMATH -i4 -gopt -Mlist -Mextend -byteswapio -Mflushz -Kieee -Ktrap=fp -DSYSLINUX -DLINUX -DCPRUNKNOWNCPR -DSPMD -DHAVE_MPI -DUSEMPIIO -D_NETCDF -D_NOPNETCDF -D_NOUSEMCT -D_USEBOX -DNO_SIZEOF -I/usr/local/netcdf-3.6.1/include pio_kinds.F90
f95: unrecognized option '-Mlist'
f95: unrecognized option '-Mextend'
f95: unrecognized option '-byteswapio'
f95: unrecognized option '-Mflushz'
f95: unrecognized option '-Kieee'
f95: unrecognized option '-Ktrap=fp'

------------------------------------------------------------------------

Have anyone met with the same problem before? Or anyone can provide some clues of solving this error in building?

Thank you for the attention.

Azure66
 
Back
Top