wuzhongyuan08@mails_gucas_ac_cn
New Member
hello! there is an error happened when I am building the 1.2.2 with pgi 17.4 compiler, If anyone has any ideas for me to try, that would be greatly appreciated. and the fortran code error is as flow:mpif90 -c -I. -I/sinoecodata/DATA/CESM/root/t40.T2000/bld/pgi/mpich/nodebug/nothreads/include -I/sinoecodata/DATA/CESM/root/t40.T2000/bld/pgi/mpich/nodebug/nothreads/MCT/noesmf/a1l1r1i1o1g1w1/csm_share -I/usr/local/netcdf4/include -I/usr/local/mpich_pgcc/include -I/sinoecodata/DATA/CESM/root/t40.T2000/bld/pgi/mpich/nodebug/nothreads/include -I/root/public/cesm1_2_2/models/csm_share/shr -I. -I/root/public/cesm1_2_2/scripts/t40.T2000/SourceMods/src.clm -I/root/public/cesm1_2_2/models/lnd/clm/src/cpl_share -I/root/public/cesm1_2_2/models/lnd/clm/src/util_share -I/root/public/cesm1_2_2/models/lnd/clm/src/clm4_0/main -I/root/public/cesm1_2_2/models/lnd/clm/src/clm4_0/biogeophys -I/root/public/cesm1_2_2/models/lnd/clm/src/clm4_0/biogeochem -I/root/public/cesm1_2_2/models/lnd/clm/src/cpl_mct -I/sinoecodata/DATA/CESM/root/t40.T2000/bld/lib/include -I/sinoecodata/DATA/CESM/root/t40.T2000/bld/pgi/mpich/nodebug/nothreads/pio/pio -i4 -gopt -Mlist -time -Mextend -byteswapio -Mflushz -Kieee -nomp -DMAXPATCH_PFT=17 -DLINUX -DNDEBUG -DMCT_INTERFACE -DHAVE_MPI -DFORTRANUNDERSCORE -DNO_SHR_VMATH -DNO_R16 -DLINUX -DCPRPGI -DHAVE_SLASHPROC -Mfree /root/public/cesm1_2_2/models/lnd/clm/src/util_share/decompInitMod.F90PGF90-S-0155-lsize is use associated and cannot be redeclared (/root/public/cesm1_2_2/models/lnd/clm/src/util_share/decompInitMod.F90: 350) 0 inform, 0 warnings, 1 severes, 0 fatal for decompinit_glcp/root/public/cesm1_2_2/scripts/t40.T2000/Tools/Makefile:640: recipe for target 'decompInitMod.o' failed gmake: *** [decompInitMod.o] Error 2Thanks in advance!!