Hi Carlie and Liz et al.,
I am running into a problem related to M3UTILIO when compiling MCIP in v5.3, any suggestion will be helpful. My make file, ioapi location, and error messages are listed below.
I also tried changing FC from ifort to mpif90, but same error, all these programs are installed using intel 17
Thanks.
Joey
Here is my Makefile
#...Intel Fortran
FC = ifort
NETCDF = /storage/highspeed/apps/netcdf-c-4.7.0-intel17
IOAPI_ROOT = /storage/highspeed/apps/ioapi-3.2_2019025
###FFLAGS = -g -O0 -check all -C -traceback -FR -I$(NETCDF)/include \
### -I$(IOAPI_ROOT)/Linux2_x86_64ifort
FFLAGS = -FR -O3 -traceback -I$(NETCDF)/include -I$(IOAPI_ROOT)/Linux2_x86_64ifort_intel17
#LIBS = -L$(IOAPI_ROOT)/lib -lioapi \
LIBS = -L$(IOAPI_ROOT)/Linux2_x86_64ifort_intel17 -lioapi \
-L$(NETCDF)/lib -lnetcdff -lnetcdf
Here is my m3utilio location
[jhuang@ncaqc2017 Linux2_x86_64ifort_intel17]$ pwd
/storage/highspeed/apps/ioapi-3.2_20190925/Linux2_x86_64ifort_intel17
[jhuang@ncaqc2017 Linux2_x86_64ifort_intel17]$ ls m3utilio.*
m3utilio.mod m3utilio.o
Here is the error
ifort -FR -O3 -traceback -I/storage/highspeed/apps/netcdf-c-4.7.0-intel17/include -I/storage/highspeed/apps/ioapi-3.2_2019025/Linux2_x86_64ifort_intel17 -c const_mod.f90
ifort -FR -O3 -traceback -I/storage/highspeed/apps/netcdf-c-4.7.0-intel17/include -I/storage/highspeed/apps/ioapi-3.2_2019025/Linux2_x86_64ifort_intel17 -c const_pbl_mod.f90
ifort -FR -O3 -traceback -I/storage/highspeed/apps/netcdf-c-4.7.0-intel17/include -I/storage/highspeed/apps/ioapi-3.2_2019025/Linux2_x86_64ifort_intel17 -c coord_mod.f90
ifort -FR -O3 -traceback -I/storage/highspeed/apps/netcdf-c-4.7.0-intel17/include -I/storage/highspeed/apps/ioapi-3.2_2019025/Linux2_x86_64ifort_intel17 -c ctmvars_mod.f90
ifort -FR -O3 -traceback -I/storage/highspeed/apps/netcdf-c-4.7.0-intel17/include -I/storage/highspeed/apps/ioapi-3.2_2019025/Linux2_x86_64ifort_intel17 -c date_time_mod.f90
ifort -FR -O3 -traceback -I/storage/highspeed/apps/netcdf-c-4.7.0-intel17/include -I/storage/highspeed/apps/ioapi-3.2_2019025/Linux2_x86_64ifort_intel17 -c date_pack_mod.f90
ifort -FR -O3 -traceback -I/storage/highspeed/apps/netcdf-c-4.7.0-intel17/include -I/storage/highspeed/apps/ioapi-3.2_2019025/Linux2_x86_64ifort_intel17 -c files_mod.f90
ifort -FR -O3 -traceback -I/storage/highspeed/apps/netcdf-c-4.7.0-intel17/include -I/storage/highspeed/apps/ioapi-3.2_2019025/Linux2_x86_64ifort_intel17 -c lucats_mod.f90
ifort -FR -O3 -traceback -I/storage/highspeed/apps/netcdf-c-4.7.0-intel17/include -I/storage/highspeed/apps/ioapi-3.2_2019025/Linux2_x86_64ifort_intel17 -c mcipparm_mod.f90
mcipparm_mod.f90(146): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [M3UTILIO]
USE m3utilio, ONLY: mxdesc3
------^
mcipparm_mod.f90(310): error #6406: Conflicting attributes or multiple declaration of name. [MXDESC3]
CHARACTER(LEN=80) :: fdesc ( mxdesc3 )
----------------------------------------------------^
mcipparm_mod.f90(310): error #6223: A specification expression is invalid. [MXDESC3]
CHARACTER(LEN=80) :: fdesc ( mxdesc3 )
----------------------------------------------------^
mcipparm_mod.f90(146): error #6580: Name in only-list does not exist. [MXDESC3]
USE m3utilio, ONLY: mxdesc3
----------------------^
compilation aborted for mcipparm_mod.f90 (code 1)
make[1]: *** [mcipparm_mod.o] Error 1
make[1]: Leaving directory `/storage/highspeed/Models/aq/CMAQ/CMAQ_v5.3/PREP/mcip/src'
make: *** [all] Error 2