gabriel_abrahao@ufv_br
New Member
Hello, I'm trying to port CESM 1.0.6 to a generic linux machine (this one is an i7 running ubuntu 14) using the intel compilers. I built netcdf with OpenMPI set to use the intel compilers, but haven't been able yet to manually build OpenMPI so i'm using the one in the repos (likely built with the GNU suite). This resulted in errors while building the PIO libraries (below). In this thread (https://bb.cgd.ucar.edu/problem-running-cesm106) it was mentioned that i could add -DNO_MPIMOD to CPPFLAGS in the Macros file to avoid using F90 MPI (which i won't need anyway). So, that led to the following questions: -- The flag should be added in the first lines of the Macros.$MACH file? I've tried adding it in various ways (such as changing the first line to CPPDEFS := $(USER_CPPDEFS) -DNO_MPIMOD) and the build log still doesn't show the flag being used (e.g. mpif90 -c -I/home/gabriel/openmpi/include -DSYSLINUX -DLINUX -DCPRUNKNOWNCPR -DSPMD -DHAVE_MPI -DUSEMPIIO -D_NETCDF -D_NOPNETCDF -D_NOUSEMCT -D_USEBOX -DNO_SIZEOF -I/home/gabriel/openmpi/include -I/home/gabriel/dumnetcdf/build/include iompi_mod.F90) -- Is it mandatory to have netcdf4 (i.e. HDF5) support on the netcdf library? And if it isn't, is there some different kind of setting to use?Thanks in advance,Gabriel The error (complete log attached):mpif90 -c -I/home/gabriel/openmpi/include -DSYSLINUX -DLINUX -DCPRUNKNOWNCPR -DSPMD -DHAVE_MPI -DUSEMPIIO -D_NETCDF -D_NOPNETCDF -D_NOUSEMCT -D_USEBOX -DNO_SIZEOF -I/home/gabriel/openmpi/include -I/home/gabriel/dumnetcdf/build/include iompi_mod.F90
iompi_mod.F90.in:272.132:
osystem%io_rank,' before set_view iodesc%Read%fileTYPE: ',iodesc%Read%FileT
1
Error: 'filet' at (1) is not a member of the 'io_desc2_t' structure
iompi_mod.F90.in:338.132:
osystem%io_rank,' before set_view iodesc%Read%fileTYPE: ',iodesc%Read%FileT
1
Error: 'filet' at (1) is not a member of the 'io_desc2_t' structure
iompi_mod.F90.in:404.132:
osystem%io_rank,' before set_view iodesc%Read%fileTYPE: ',iodesc%Read%FileT
1
Error: 'filet' at (1) is not a member of the 'io_desc2_t' structure
iompi_mod.F90.in:470.132:
osystem%io_rank,' before set_view iodesc%Read%fileTYPE: ',iodesc%Read%FileT
1
Error: 'filet' at (1) is not a member of the 'io_desc2_t' structure
gmake[1]: *** [iompi_mod.o] Error 1
gmake[1]: Leaving directory `/home/gabriel/nobackup/gabriel/test4/pio'
gmake: *** [all] Error 2
iompi_mod.F90.in:272.132:
osystem%io_rank,' before set_view iodesc%Read%fileTYPE: ',iodesc%Read%FileT
1
Error: 'filet' at (1) is not a member of the 'io_desc2_t' structure
iompi_mod.F90.in:338.132:
osystem%io_rank,' before set_view iodesc%Read%fileTYPE: ',iodesc%Read%FileT
1
Error: 'filet' at (1) is not a member of the 'io_desc2_t' structure
iompi_mod.F90.in:404.132:
osystem%io_rank,' before set_view iodesc%Read%fileTYPE: ',iodesc%Read%FileT
1
Error: 'filet' at (1) is not a member of the 'io_desc2_t' structure
iompi_mod.F90.in:470.132:
osystem%io_rank,' before set_view iodesc%Read%fileTYPE: ',iodesc%Read%FileT
1
Error: 'filet' at (1) is not a member of the 'io_desc2_t' structure
gmake[1]: *** [iompi_mod.o] Error 1
gmake[1]: Leaving directory `/home/gabriel/nobackup/gabriel/test4/pio'
gmake: *** [all] Error 2