fagner_silva@exaflop_com_br
New Member
After unsuccessful tries to build CAM with gfortran and ifort on OSX, I decide to downloaded the latest version of PGROUP SUITE (12.9) and the CESM software (1_0_4). Unfortunately the model starts the compilation and stop with this error (below).
- OS X 10.8.2 and Xcode 4.5
- pgf90 12.9
Another question: is there a successfull report about the 'port' of this model to this platform with this compiler?? (OSX)
Just for your information, I did the same exercise with a linux VM (debian + pgroup compilers + cesm) with the same versions and works!
Thanks,
Fagner
===
fagnergs@rajada:/usr/local/cam5$ make
/usr/local/cesm1_0_4/models/atm/cam/bld/mkSrcfiles > /usr/local/cam5/Srcfiles
/usr/local/cesm1_0_4/models/atm/cam/bld/mkDepends Filepath Srcfiles > /usr/local/cam5/Depends
pgf90 -c -Mfree -I. -I/usr/local/cesm1_0_4/models/atm/cam/src/chemistry/pp_trop_mam3 -I/usr/local/cesm1_0_4/models/atm/cam/src/chemistry/modal_aero -I/usr/local/cesm1_0_4/models/atm/cam/src/chemistry/mozart -I/usr/local/cesm1_0_4/models/atm/cam/src/chemistry/bulk_aero -I/usr/local/cesm1_0_4/models/atm/cam/src/chemistry/utils -I/usr/local/cesm1_0_4/models/atm/cam/src/physics/rrtmg -I/usr/local/cesm1_0_4/models/atm/cam/src/physics/rrtmg/ext/rrtmg_mcica -I/usr/local/cesm1_0_4/models/atm/cam/src/physics/rrtmg/ext/rrtmg_lw -I/usr/local/cesm1_0_4/models/atm/cam/src/physics/rrtmg/ext/rrtmg_sw -I/usr/local/cesm1_0_4/models/atm/cam/src/physics/cam -I/usr/local/cesm1_0_4/models/atm/cam/src/dynamics/fv -I/usr/local/cesm1_0_4/models/atm/cam/src/cpl_mct -I/usr/local/cesm1_0_4/models/atm/cam/src/cpl_share -I/usr/local/cesm1_0_4/models/atm/cam/src/control -I/usr/local/cesm1_0_4/models/atm/cam/src/utils -I/usr/local/cesm1_0_4/models/utils/timing -I/usr/local/cesm1_0_4/models/utils/pio -I/usr/local/cesm1_0_4/models/utils/mct/mpeu -I/usr/local/cesm1_0_4/models/utils/mct/mct -I/usr/local/cesm1_0_4/models/utils/mct/mpi-serial -I/usr/local/cesm1_0_4/models/utils/esmf_wrf_timemgr -I/usr/local/cesm1_0_4/models/atm/cam/src/utils/pilgrim -I/usr/local/cesm1_0_4/models/drv/driver -I/usr/local/cesm1_0_4/models/drv/shr -I/usr/local/cesm1_0_4/models/ocn/docn -I/usr/local/cesm1_0_4/models/ocn/docn/cpl_mct -I/usr/local/cesm1_0_4/models/lnd/clm/src/cpl_mct -I/usr/local/cesm1_0_4/models/lnd/clm/src/cpl_share -I/usr/local/cesm1_0_4/models/lnd/clm/src/main -I/usr/local/cesm1_0_4/models/lnd/clm/src/biogeophys -I/usr/local/cesm1_0_4/models/lnd/clm/src/biogeochem -I/usr/local/cesm1_0_4/models/lnd/clm/src/riverroute -I/usr/local/cesm1_0_4/models/ice/cice/src/drivers/cpl_mct -I/usr/local/cesm1_0_4/models/ice/cice/src/drivers/cpl_share -I/usr/local/cesm1_0_4/models/ice/cice/src/mpi -I/usr/local/cesm1_0_4/models/ice/cice/src/source -I/usr/local/cesm1_0_4/models/glc/sglc/cpl_mct -I/usr/local/cesm1_0_4/models/csm_share/shr -I/usr/local/cesm1_0_4/models/csm_share/dshr -I/usr/local/include -I/usr/local/include -DNO_SHR_VMATH -DSEQ_MCT -DFORTRANUNDERSCORE -DCO2A -DMAXPATCH_PFT=numpft+1 -DLSMLAT=1 -DLSMLON=1 -DPLON=144 -DPLAT=96 -DPLEV=30 -DPCNST=25 -DPCOLS=16 -DPTRM=1 -DPTRN=1 -DPTRK=1 -DSTAGGERED -DCCSMCOUPLED -Dcoupled -Dncdf -DNCAT=1 -DNXGLOB=144 -DNYGLOB=96 -DNTR_AERO=0 -DBLCKX=144 -DBLCKY=96 -DMXBLCKS=1 -DDUST -DPROGSSLT -DMODAL_AERO -DMODAL_AERO_3MODE -D_USEBOX -D_NETCDF -DLINUX -DNO_R16 -i4 -Mdalign -Mextend -byteswapio -gopt -O2 -Mvect=nosse -Kieee -DHIDE_MPI -D_MPISERIAL -DNO_MPI2 /usr/local/cesm1_0_4/models/utils/mct/mpeu/m_String.F90
NOTE: your trial license will expire in 14 days, 8.46 hours.
pgf90-Fatal-/opt/pgi/osx86-64/12.9/bin/pgf901 TERMINATED by signal 11
Arguments to /opt/pgi/osx86-64/12.9/bin/pgf901
/opt/pgi/osx86-64/12.9/bin/pgf901 /usr/local/cesm1_0_4/models/utils/mct/mpeu/m_String.F90 -debug -x 120 0x80000 -x 120 0x200 -x 123 0x400 -opt 2 -terse 1 -inform warn -nohpf -nostatic -quad -x 15 2 -x 49 0x400004 -x 51 0x20 -x 57 0x4c -x 58 0x10000 -x 124 0x1000 -x 119 0x1000 -x 59 4 -x 129 0x10 -x 51 0x20 -x 124 0x401 -x 19 0x400000 -x 57 0x7b0000 -x 58 0x78031040 -x 119 0x610400 -x 70 0x6c00 -x 47 0x400000 -x 119 0x1000 -x 59 4 -x 129 0x10 -x 48 4608 -x 49 0x100 -x 120 0x200 -stdinc /opt/pgi/osx86-64/12.9/include:/usr/local/include:/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/include:/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/include:/usr/include -def unix -def __unix -def __unix__ -def __LITTLE_ENDIAN__ -def __inline__= -def osx86 -def __osx86 -def __osx86__ -def __APPLE__ -def __LP64__ -def __x86_64__ -def _M_IX86 -def __NO_MATH_INLINES -def __amd64__ -def __extension__= -def __SSE__ -def __MMX__ -def __SSE2__ -def __SSE3__ -def __SSSE3__ -idir . -idir /usr/local/cesm1_0_4/models/atm/cam/src/chemistry/pp_trop_mam3 -idir /usr/local/cesm1_0_4/models/atm/cam/src/chemistry/modal_aero -idir /usr/local/cesm1_0_4/models/atm/cam/src/chemistry/mozart -idir /usr/local/cesm1_0_4/models/atm/cam/src/chemistry/bulk_aero -idir /usr/local/cesm1_0_4/models/atm/cam/src/chemistry/utils -idir /usr/local/cesm1_0_4/models/atm/cam/src/physics/rrtmg -idir /usr/local/cesm1_0_4/models/atm/cam/src/physics/rrtmg/ext/rrtmg_mcica -idir /usr/local/cesm1_0_4/models/atm/cam/src/physics/rrtmg/ext/rrtmg_lw -idir /usr/local/cesm1_0_4/models/atm/cam/src/physics/rrtmg/ext/rrtmg_sw -idir /usr/local/cesm1_0_4/models/atm/cam/src/physics/cam -idir /usr/local/cesm1_0_4/models/atm/cam/src/dynamics/fv -idir /usr/local/cesm1_0_4/models/atm/cam/src/cpl_mct -idir /usr/local/cesm1_0_4/models/atm/cam/src/cpl_share -idir /usr/local/cesm1_0_4/models/atm/cam/src/control -idir /usr/local/cesm1_0_4/models/atm/cam/src/utils -idir /usr/local/cesm1_0_4/models/utils/timing -idir /usr/local/cesm1_0_4/models/utils/pio -idir /usr/local/cesm1_0_4/models/utils/mct/mpeu -idir /usr/local/cesm1_0_4/models/utils/mct/mct -idir /usr/local/cesm1_0_4/models/utils/mct/mpi-serial -idir /usr/local/cesm1_0_4/models/utils/esmf_wrf_timemgr -idir /usr/local/cesm1_0_4/models/atm/cam/src/utils/pilgrim -idir /usr/local/cesm1_0_4/models/drv/driver -idir /usr/local/cesm1_0_4/models/drv/shr -idir /usr/local/cesm1_0_4/models/ocn/docn -idir /usr/local/cesm1_0_4/models/ocn/docn/cpl_mct -idir /usr/local/cesm1_0_4/models/lnd/clm/src/cpl_mct -idir /usr/local/cesm1_0_4/models/lnd/clm/src/cpl_share -idir /usr/local/cesm1_0_4/models/lnd/clm/src/main -idir /usr/local/cesm1_0_4/models/lnd/clm/src/biogeophys -idir /usr/local/cesm1_0_4/models/lnd/clm/src/biogeochem -idir /usr/local/cesm1_0_4/models/lnd/clm/src/riverroute -idir /usr/local/cesm1_0_4/models/ice/cice/src/drivers/cpl_mct -idir /usr/local/cesm1_0_4/models/ice/cice/src/drivers/cpl_share -idir /usr/local/cesm1_0_4/models/ice/cice/src/mpi -idir /usr/local/cesm1_0_4/models/ice/cice/src/source -idir /usr/local/cesm1_0_4/models/glc/sglc/cpl_mct -idir /usr/local/cesm1_0_4/models/csm_share/shr -idir /usr/local/cesm1_0_4/models/csm_share/dshr -idir /usr/local/include -idir /usr/local/include -def NO_SHR_VMATH -def SEQ_MCT -def FORTRANUNDERSCORE -def CO2A -def MAXPATCH_PFT=numpft+1 -def LSMLAT=1 -def LSMLON=1 -def PLON=144 -def PLAT=96 -def PLEV=30 -def PCNST=25 -def PCOLS=16 -def PTRM=1 -def PTRN=1 -def PTRK=1 -def STAGGERED -def CCSMCOUPLED -def coupled -def ncdf -def NCAT=1 -def NXGLOB=144 -def NYGLOB=96 -def NTR_AERO=0 -def BLCKX=144 -def BLCKY=96 -def MXBLCKS=1 -def DUST -def PROGSSLT -def MODAL_AERO -def MODAL_AERO_3MODE -def _USEBOX -def _NETCDF -def LINUX -def NO_R16 -def HIDE_MPI -def _MPISERIAL -def NO_MPI2 -preprocess -freeform -i4 -extend -x 125 2 -vect 48 -y 54 1 -freeform -x 49 0x1000 -modexport /var/folders/9h/mqxh1nm13696dhwp1sn8s_hm0000gn/T/pgf90SthheM2OVaQB.cmod -modindex /var/folders/9h/mqxh1nm13696dhwp1sn8s_hm0000gn/T/pgf90mthhKwR1lXlk.cmdx -output /var/folders/9h/mqxh1nm13696dhwp1sn8s_hm0000gn/T/pgf90mthhKzBxQ_BF.ilm
make: *** [m_String.o] Error 127
- OS X 10.8.2 and Xcode 4.5
- pgf90 12.9
Another question: is there a successfull report about the 'port' of this model to this platform with this compiler?? (OSX)
Just for your information, I did the same exercise with a linux VM (debian + pgroup compilers + cesm) with the same versions and works!
Thanks,
Fagner
===
fagnergs@rajada:/usr/local/cam5$ make
/usr/local/cesm1_0_4/models/atm/cam/bld/mkSrcfiles > /usr/local/cam5/Srcfiles
/usr/local/cesm1_0_4/models/atm/cam/bld/mkDepends Filepath Srcfiles > /usr/local/cam5/Depends
pgf90 -c -Mfree -I. -I/usr/local/cesm1_0_4/models/atm/cam/src/chemistry/pp_trop_mam3 -I/usr/local/cesm1_0_4/models/atm/cam/src/chemistry/modal_aero -I/usr/local/cesm1_0_4/models/atm/cam/src/chemistry/mozart -I/usr/local/cesm1_0_4/models/atm/cam/src/chemistry/bulk_aero -I/usr/local/cesm1_0_4/models/atm/cam/src/chemistry/utils -I/usr/local/cesm1_0_4/models/atm/cam/src/physics/rrtmg -I/usr/local/cesm1_0_4/models/atm/cam/src/physics/rrtmg/ext/rrtmg_mcica -I/usr/local/cesm1_0_4/models/atm/cam/src/physics/rrtmg/ext/rrtmg_lw -I/usr/local/cesm1_0_4/models/atm/cam/src/physics/rrtmg/ext/rrtmg_sw -I/usr/local/cesm1_0_4/models/atm/cam/src/physics/cam -I/usr/local/cesm1_0_4/models/atm/cam/src/dynamics/fv -I/usr/local/cesm1_0_4/models/atm/cam/src/cpl_mct -I/usr/local/cesm1_0_4/models/atm/cam/src/cpl_share -I/usr/local/cesm1_0_4/models/atm/cam/src/control -I/usr/local/cesm1_0_4/models/atm/cam/src/utils -I/usr/local/cesm1_0_4/models/utils/timing -I/usr/local/cesm1_0_4/models/utils/pio -I/usr/local/cesm1_0_4/models/utils/mct/mpeu -I/usr/local/cesm1_0_4/models/utils/mct/mct -I/usr/local/cesm1_0_4/models/utils/mct/mpi-serial -I/usr/local/cesm1_0_4/models/utils/esmf_wrf_timemgr -I/usr/local/cesm1_0_4/models/atm/cam/src/utils/pilgrim -I/usr/local/cesm1_0_4/models/drv/driver -I/usr/local/cesm1_0_4/models/drv/shr -I/usr/local/cesm1_0_4/models/ocn/docn -I/usr/local/cesm1_0_4/models/ocn/docn/cpl_mct -I/usr/local/cesm1_0_4/models/lnd/clm/src/cpl_mct -I/usr/local/cesm1_0_4/models/lnd/clm/src/cpl_share -I/usr/local/cesm1_0_4/models/lnd/clm/src/main -I/usr/local/cesm1_0_4/models/lnd/clm/src/biogeophys -I/usr/local/cesm1_0_4/models/lnd/clm/src/biogeochem -I/usr/local/cesm1_0_4/models/lnd/clm/src/riverroute -I/usr/local/cesm1_0_4/models/ice/cice/src/drivers/cpl_mct -I/usr/local/cesm1_0_4/models/ice/cice/src/drivers/cpl_share -I/usr/local/cesm1_0_4/models/ice/cice/src/mpi -I/usr/local/cesm1_0_4/models/ice/cice/src/source -I/usr/local/cesm1_0_4/models/glc/sglc/cpl_mct -I/usr/local/cesm1_0_4/models/csm_share/shr -I/usr/local/cesm1_0_4/models/csm_share/dshr -I/usr/local/include -I/usr/local/include -DNO_SHR_VMATH -DSEQ_MCT -DFORTRANUNDERSCORE -DCO2A -DMAXPATCH_PFT=numpft+1 -DLSMLAT=1 -DLSMLON=1 -DPLON=144 -DPLAT=96 -DPLEV=30 -DPCNST=25 -DPCOLS=16 -DPTRM=1 -DPTRN=1 -DPTRK=1 -DSTAGGERED -DCCSMCOUPLED -Dcoupled -Dncdf -DNCAT=1 -DNXGLOB=144 -DNYGLOB=96 -DNTR_AERO=0 -DBLCKX=144 -DBLCKY=96 -DMXBLCKS=1 -DDUST -DPROGSSLT -DMODAL_AERO -DMODAL_AERO_3MODE -D_USEBOX -D_NETCDF -DLINUX -DNO_R16 -i4 -Mdalign -Mextend -byteswapio -gopt -O2 -Mvect=nosse -Kieee -DHIDE_MPI -D_MPISERIAL -DNO_MPI2 /usr/local/cesm1_0_4/models/utils/mct/mpeu/m_String.F90
NOTE: your trial license will expire in 14 days, 8.46 hours.
pgf90-Fatal-/opt/pgi/osx86-64/12.9/bin/pgf901 TERMINATED by signal 11
Arguments to /opt/pgi/osx86-64/12.9/bin/pgf901
/opt/pgi/osx86-64/12.9/bin/pgf901 /usr/local/cesm1_0_4/models/utils/mct/mpeu/m_String.F90 -debug -x 120 0x80000 -x 120 0x200 -x 123 0x400 -opt 2 -terse 1 -inform warn -nohpf -nostatic -quad -x 15 2 -x 49 0x400004 -x 51 0x20 -x 57 0x4c -x 58 0x10000 -x 124 0x1000 -x 119 0x1000 -x 59 4 -x 129 0x10 -x 51 0x20 -x 124 0x401 -x 19 0x400000 -x 57 0x7b0000 -x 58 0x78031040 -x 119 0x610400 -x 70 0x6c00 -x 47 0x400000 -x 119 0x1000 -x 59 4 -x 129 0x10 -x 48 4608 -x 49 0x100 -x 120 0x200 -stdinc /opt/pgi/osx86-64/12.9/include:/usr/local/include:/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/include:/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/include:/usr/include -def unix -def __unix -def __unix__ -def __LITTLE_ENDIAN__ -def __inline__= -def osx86 -def __osx86 -def __osx86__ -def __APPLE__ -def __LP64__ -def __x86_64__ -def _M_IX86 -def __NO_MATH_INLINES -def __amd64__ -def __extension__= -def __SSE__ -def __MMX__ -def __SSE2__ -def __SSE3__ -def __SSSE3__ -idir . -idir /usr/local/cesm1_0_4/models/atm/cam/src/chemistry/pp_trop_mam3 -idir /usr/local/cesm1_0_4/models/atm/cam/src/chemistry/modal_aero -idir /usr/local/cesm1_0_4/models/atm/cam/src/chemistry/mozart -idir /usr/local/cesm1_0_4/models/atm/cam/src/chemistry/bulk_aero -idir /usr/local/cesm1_0_4/models/atm/cam/src/chemistry/utils -idir /usr/local/cesm1_0_4/models/atm/cam/src/physics/rrtmg -idir /usr/local/cesm1_0_4/models/atm/cam/src/physics/rrtmg/ext/rrtmg_mcica -idir /usr/local/cesm1_0_4/models/atm/cam/src/physics/rrtmg/ext/rrtmg_lw -idir /usr/local/cesm1_0_4/models/atm/cam/src/physics/rrtmg/ext/rrtmg_sw -idir /usr/local/cesm1_0_4/models/atm/cam/src/physics/cam -idir /usr/local/cesm1_0_4/models/atm/cam/src/dynamics/fv -idir /usr/local/cesm1_0_4/models/atm/cam/src/cpl_mct -idir /usr/local/cesm1_0_4/models/atm/cam/src/cpl_share -idir /usr/local/cesm1_0_4/models/atm/cam/src/control -idir /usr/local/cesm1_0_4/models/atm/cam/src/utils -idir /usr/local/cesm1_0_4/models/utils/timing -idir /usr/local/cesm1_0_4/models/utils/pio -idir /usr/local/cesm1_0_4/models/utils/mct/mpeu -idir /usr/local/cesm1_0_4/models/utils/mct/mct -idir /usr/local/cesm1_0_4/models/utils/mct/mpi-serial -idir /usr/local/cesm1_0_4/models/utils/esmf_wrf_timemgr -idir /usr/local/cesm1_0_4/models/atm/cam/src/utils/pilgrim -idir /usr/local/cesm1_0_4/models/drv/driver -idir /usr/local/cesm1_0_4/models/drv/shr -idir /usr/local/cesm1_0_4/models/ocn/docn -idir /usr/local/cesm1_0_4/models/ocn/docn/cpl_mct -idir /usr/local/cesm1_0_4/models/lnd/clm/src/cpl_mct -idir /usr/local/cesm1_0_4/models/lnd/clm/src/cpl_share -idir /usr/local/cesm1_0_4/models/lnd/clm/src/main -idir /usr/local/cesm1_0_4/models/lnd/clm/src/biogeophys -idir /usr/local/cesm1_0_4/models/lnd/clm/src/biogeochem -idir /usr/local/cesm1_0_4/models/lnd/clm/src/riverroute -idir /usr/local/cesm1_0_4/models/ice/cice/src/drivers/cpl_mct -idir /usr/local/cesm1_0_4/models/ice/cice/src/drivers/cpl_share -idir /usr/local/cesm1_0_4/models/ice/cice/src/mpi -idir /usr/local/cesm1_0_4/models/ice/cice/src/source -idir /usr/local/cesm1_0_4/models/glc/sglc/cpl_mct -idir /usr/local/cesm1_0_4/models/csm_share/shr -idir /usr/local/cesm1_0_4/models/csm_share/dshr -idir /usr/local/include -idir /usr/local/include -def NO_SHR_VMATH -def SEQ_MCT -def FORTRANUNDERSCORE -def CO2A -def MAXPATCH_PFT=numpft+1 -def LSMLAT=1 -def LSMLON=1 -def PLON=144 -def PLAT=96 -def PLEV=30 -def PCNST=25 -def PCOLS=16 -def PTRM=1 -def PTRN=1 -def PTRK=1 -def STAGGERED -def CCSMCOUPLED -def coupled -def ncdf -def NCAT=1 -def NXGLOB=144 -def NYGLOB=96 -def NTR_AERO=0 -def BLCKX=144 -def BLCKY=96 -def MXBLCKS=1 -def DUST -def PROGSSLT -def MODAL_AERO -def MODAL_AERO_3MODE -def _USEBOX -def _NETCDF -def LINUX -def NO_R16 -def HIDE_MPI -def _MPISERIAL -def NO_MPI2 -preprocess -freeform -i4 -extend -x 125 2 -vect 48 -y 54 1 -freeform -x 49 0x1000 -modexport /var/folders/9h/mqxh1nm13696dhwp1sn8s_hm0000gn/T/pgf90SthheM2OVaQB.cmod -modindex /var/folders/9h/mqxh1nm13696dhwp1sn8s_hm0000gn/T/pgf90mthhKwR1lXlk.cmdx -output /var/folders/9h/mqxh1nm13696dhwp1sn8s_hm0000gn/T/pgf90mthhKzBxQ_BF.ilm
make: *** [m_String.o] Error 127