Make ifort error

Discussions related to downloading and compiling MPAS-Atmosphere.
Post Reply
JCollins
Posts: 52
Joined: Thu Aug 23, 2018 11:01 am

Make ifort error

Post by JCollins » Tue Oct 30, 2018 1:59 pm

Hello everyone.

I'm building MPAS_Atmosphere with intel. I have built the libraries (NETCDF, PNETCDF, PIO) with Intel and the environment is configured correctly. To compile MPAS I put the following:

Code: Select all

make ifort CORE=atmosphere USE_PIO2=true
And I get this error:

Code: Select all

( make all \
"FC_PARALLEL = mpif90" \
"CC_PARALLEL = mpicc" \
"CXX_PARALLEL = mpicxx" \
"FC_SERIAL = ifort" \
"CC_SERIAL = icc" \
"CXX_SERIAL = icpc" \
"FFLAGS_PROMOTION = -real-size 64" \
"FFLAGS_OPT = -O3 -convert big_endian -FR" \
"CFLAGS_OPT = -O3" \
"CXXFLAGS_OPT = -O3" \
"LDFLAGS_OPT = -O3" \
"FFLAGS_DEBUG = -g -convert big_endian -FR -CU -CB -check all -fpe0 -traceback" \
"CFLAGS_DEBUG = -g -traceback" \
"CXXFLAGS_DEBUG = -g -traceback" \
"LDFLAGS_DEBUG = -g -fpe0 -traceback" \
"FFLAGS_OMP = -qopenmp" \
"CFLAGS_OMP = -qopenmp" \
"CORE = atmosphere" \
"DEBUG = " \
"USE_PAPI = " \
"OPENMP = " \
"CPPFLAGS =  -D_MPI -DUNDERSCORE" )
make[1]: se ingresa al directorio `/home/models/intel/mpas'
cd src; make FC="mpif90" \
                 CC="mpicc" \
                 CXX="mpicxx" \
                 SFC="ifort" \
                 SCC="icc" \
                 LINKER="mpif90" \
                 CFLAGS="-O3" \
                 CXXFLAGS="-O3" \
                 FFLAGS="-O3 -convert big_endian -FR -real-size 64" \
                 LDFLAGS="-O3" \
                 RM="rm -f" \
                 CPP="cpp -P -traditional" \
                 CPPFLAGS="-D_MPI -DUNDERSCORE -DCORE_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=atmosphere -DMPAS_EXE_NAME=atmosphere_model -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=v6.1" \
                 LIBS="-L/home/libraries/intel/pio/lib -lpiof -lpioc -L/home/libraries/intel/pnetcdf/lib -lpnetcdf -L/home/libraries/intel/netcdf/lib -lnetcdff -lnetcdf" \
                 CPPINCLUDES="-DUSE_PIO2 -I/home/libraries/intel/pio/include -I/home/libraries/intel/pnetcdf/include -I/home/libraries/intel/netcdf/include" \
                 FCINCLUDES="-DUSE_PIO2 -I/home/libraries/intel/pio/include -I/home/libraries/intel/pnetcdf/include -I/home/libraries/intel/netcdf/include" \
                 CORE="atmosphere"\
                 AUTOCLEAN="false" \
                 GEN_F90="false" \
                 NAMELIST_SUFFIX="atmosphere" \
                 EXE_NAME="atmosphere_model"
make[2]: se ingresa al directorio `/home/models/intel/mpas/src'
( cd external; make FC="mpif90" SFC="ifort" CC="mpicc" SCC="icc" FFLAGS="-O3 -convert big_endian -FR -real-size 64" CFLAGS="-O3" CPP="cpp -P -traditional" NETCDF="/home/libraries/intel/netcdf" CORE="atmosphere" all )
make[3]: se ingresa al directorio `/home/models/intel/mpas/src/external'
( cd esmf_time_f90; make FC="mpif90 -O3 -convert big_endian -FR -real-size 64" CPP="cpp -P -traditional" CPPFLAGS="-D_MPI -DUNDERSCORE -DCORE_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=atmosphere -DMPAS_EXE_NAME=atmosphere_model -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=v6.1 -DHIDE_MPI" GEN_F90=false )
make[4]: se ingresa al directorio `/home/models/intel/mpas/src/external/esmf_time_f90'
rm -f ESMF_BaseMod.o ESMF_BaseMod.mod
mpif90 -O3 -convert big_endian -FR -real-size 64 -D_MPI -DUNDERSCORE -DCORE_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=atmosphere -DMPAS_EXE_NAME=atmosphere_model -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=v6.1 -DHIDE_MPI -O3 -convert big_endian -FR -real-size 64 -c ESMF_BaseMod.F90 -DUSE_PIO2 -I/home/libraries/intel/pio/include -I/home/libraries/intel/pnetcdf/include -I/home/libraries/intel/netcdf/include -DUSE_PIO2 -I/home/libraries/intel/pio/include -I/home/libraries/intel/pnetcdf/include -I/home/libraries/intel/netcdf/include -I.
gfortran: error: big_endian: No existe el fichero o el directorio
gfortran: error: 64: No existe el fichero o el directorio
gfortran: error: big_endian: No existe el fichero o el directorio
gfortran: error: 64: No existe el fichero o el directorio
gfortran: error: unrecognized command line option ‘-convert’
gfortran: error: unrecognized command line option ‘-real-size’
gfortran: error: unrecognized command line option ‘-convert’
gfortran: error: unrecognized command line option ‘-real-size’
make[4]: *** [ESMF_BaseMod.o] Error 1
make[4]: se sale del directorio `/home/models/intel/mpas/src/external/esmf_time_f90'
make[3]: *** [esmf_time] Error 2
make[3]: se sale del directorio `/home/models/intel/mpas/src/external'
make[2]: *** [externals] Error 2
make[2]: se sale del directorio `/home/models/intel/mpas/src'
make[1]: *** [mpas_main] Error 2
make[1]: se sale del directorio `/home/models/intel/mpas'
make: *** [ifort] Error 2
Any ideas?

mgduda
Posts: 362
Joined: Mon Feb 26, 2018 7:35 pm

Re: Make ifort error

Post by mgduda » Tue Oct 30, 2018 9:32 pm

It looks like the "mpif90" command is actually invoking the "gfortran" compiler. Can you check whether your MPI installation was built with the Intel compilers?
NCAR/MMM

JCollins
Posts: 52
Joined: Thu Aug 23, 2018 11:01 am

Re: Make ifort error

Post by JCollins » Thu Nov 01, 2018 4:13 pm

Yes, MPI is correct. I also have WRF compiled with Intel, and it works correctly. Do I have to change something in the Makefile?

JCollins
Posts: 52
Joined: Thu Aug 23, 2018 11:01 am

Re: Make ifort error

Post by JCollins » Thu Nov 01, 2018 5:31 pm

After reading your comment I decided to edit the Makefile, and in the lines of ifort I made the following change:

Code: Select all

ifort:
        ( $(MAKE) all \
        "FC_PARALLEL = mpiifort" \
        "CC_PARALLEL = mpiicc" \
        "CXX_PARALLEL = mpiicpc" \
        "FC_SERIAL = ifort" \
        "CC_SERIAL = icc" \
        "CXX_SERIAL = icpc" \
With this change the compilation ended without failures.

Code: Select all

*******************************************************************************
MPAS was built with default double-precision reals.
Debugging is off.
Parallel version is on.
Papi libraries are off.
TAU Hooks are off.
MPAS was built without OpenMP support.
MPAS was built with .F files.
The native timer interface is being used
Using the PIO 2 library.
*******************************************************************************

mgduda
Posts: 362
Joined: Mon Feb 26, 2018 7:35 pm

Re: Make ifort error

Post by mgduda » Wed Nov 07, 2018 6:25 pm

It looks like you may be using the Intel MPI library, rather than, e.g., MPICH or OpenMPI; is that right? From what I recall, the WRF configuration file sets the compiler to "mpif90 -f90=ifort" or something similar, which might explain why WRF was able to build with no changes.
NCAR/MMM

kwthomas
Posts: 73
Joined: Tue Nov 06, 2018 10:25 pm

Re: Make ifort error

Post by kwthomas » Wed Nov 14, 2018 6:56 pm

You are getting the default that "mpif90" is set to use. I've run into the same problem on BRIDGES/PSC.

If you have "mpiifort", you can try that. You'll have to change it in "configure.wrf".

You can try (tcsh syntax):

setenv I_MPI_F90 ifort
setenv I_MPI_CC icc

If this works, nothing needs to be changed on "configure.wrf".
Kevin W. Thomas
Center for Analysis and Prediction of Storms
University of Oklahoma
Norman, Oklahoma

ntmanhvn181
Posts: 26
Joined: Thu Jul 04, 2019 4:07 am

Re: Make ifort error

Post by ntmanhvn181 » Mon Jul 08, 2019 3:55 am

Dear Mr. mgduda,0
I follow my installation script which was introduced in attachment to compilation MPAS model (version 6.3), however, I have the some problem when I use command "make ifort CORE=atmosphere USE_PIO2=true" to install this model.
Please help me solve this problem, I have try many ways but it isn't changed.
My error was introduced this following sentence:

Code: Select all

[/( make all \
	"FC_PARALLEL = mpif90" \
	"CC_PARALLEL = mpicc" \
	"CXX_PARALLEL = mpicxx" \
	"FC_SERIAL = ifort" \
	"CC_SERIAL = icc" \
	"CXX_SERIAL = icpc" \
	"FFLAGS_PROMOTION = -real-size 64" \
	"FFLAGS_OPT = -O3 -convert big_endian -FR" \
	"CFLAGS_OPT = -O3" \
	"CXXFLAGS_OPT = -O3" \
	"LDFLAGS_OPT = -O3" \
	"FFLAGS_DEBUG = -g -convert big_endian -FR -CU -CB -check all -fpe0 -traceback" \
	"CFLAGS_DEBUG = -g -traceback" \
	"CXXFLAGS_DEBUG = -g -traceback" \
	"LDFLAGS_DEBUG = -g -fpe0 -traceback" \
	"FFLAGS_OMP = -qopenmp" \
	"CFLAGS_OMP = -qopenmp" \
	"CORE = atmosphere" \
	"DEBUG = " \
	"USE_PAPI = " \
	"OPENMP = " \
	"CPPFLAGS =  -D_MPI -DUNDERSCORE" )
make[1]: Entering directory `/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3'
cd src; make FC="mpif90" \
                 CC="mpicc" \
                 CXX="mpicxx" \
                 SFC="ifort" \
                 SCC="icc" \
                 LINKER="mpif90" \
                 CFLAGS="-O3" \
                 CXXFLAGS="-O3" \
                 FFLAGS="-O3 -convert big_endian -FR -real-size 64" \
                 LDFLAGS="-O3" \
                 RM="rm -f" \
                 CPP="cpp -P -traditional" \
                 CPPFLAGS="-D_MPI -DUNDERSCORE -DCORE_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=atmosphere -DMPAS_EXE_NAME=atmosphere_model -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION="unknown"" \
                 LIBS="-L/lib -lpiof -lpioc -L/share/apps/intel_16/netcdf/4.4.0/lib -lnetcdff -lnetcdf" \
                 CPPINCLUDES="-DUSE_PIO2 -I/include -I/share/apps/intel_16/netcdf/4.4.0/include" \
                 FCINCLUDES="-DUSE_PIO2 -I/include -I/share/apps/intel_16/netcdf/4.4.0/include" \
                 CORE="atmosphere"\
                 AUTOCLEAN="false" \
                 GEN_F90="false" \
                 NAMELIST_SUFFIX="atmosphere" \
                 EXE_NAME="atmosphere_model"
make[2]: Entering directory `/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src'
( cd external; make FC="mpif90" SFC="ifort" CC="mpicc" SCC="icc" FFLAGS="-O3 -convert big_endian -FR -real-size 64" CFLAGS="-O3" CPP="cpp -P -traditional" NETCDF="/share/apps/intel_16/netcdf/4.4.0" CORE="atmosphere" all )
make[3]: Entering directory `/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src/external'
( cd esmf_time_f90; make FC="mpif90 -O3 -convert big_endian -FR -real-size 64" CPP="cpp -P -traditional" CPPFLAGS="-D_MPI -DUNDERSCORE -DCORE_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=atmosphere -DMPAS_EXE_NAME=atmosphere_model -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=unknown -DHIDE_MPI" GEN_F90=false )
make[4]: Entering directory `/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src/external/esmf_time_f90'
ar -ru libesmf_time.a *.o
make[4]: Leaving directory `/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src/external/esmf_time_f90'
( cd ezxml; make )
make[4]: Entering directory `/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src/external/ezxml'
rm -f *.o *.i
make -j 1 library
make[5]: Entering directory `/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src/external/ezxml'
mpicc -O3 -D_MPI -DUNDERSCORE -DCORE_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=atmosphere -DMPAS_EXE_NAME=atmosphere_model -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=unknown -c ezxml.c
make[5]: Leaving directory `/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src/external/ezxml'
make[4]: Leaving directory `/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src/external/ezxml'
make[3]: Leaving directory `/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src/external'
( cd framework; make CPPFLAGS="-D_MPI -DUNDERSCORE -DCORE_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=atmosphere -DMPAS_EXE_NAME=atmosphere_model -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=unknown" CPPINCLUDES="-DUSE_PIO2 -I/include -I/share/apps/intel_16/netcdf/4.4.0/include" all ) 
make[3]: Entering directory `/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src/framework'
ar -ru libframework.a mpas_kind_types.o mpas_framework.o mpas_timer.o mpas_timekeeping.o mpas_constants.o mpas_attlist.o mpas_hash.o mpas_sort.o mpas_block_decomp.o mpas_block_creator.o mpas_dmpar.o mpas_abort.o mpas_decomp.o mpas_threading.o mpas_io.o mpas_io_streams.o mpas_bootstrapping.o mpas_io_units.o mpas_stream_manager.o mpas_stream_list.o mpas_forcing.o mpas_c_interfacing.o random_id.o pool_hash.o mpas_derived_types.o mpas_domain_routines.o mpas_field_routines.o mpas_pool_routines.o xml_stream_parser.o regex_matching.o mpas_field_accessor.o mpas_log.o ../external/ezxml/ezxml.o
make[3]: Leaving directory `/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src/framework'
ln -sf framework/libframework.a libframework.a
( cd operators; make CPPFLAGS="-D_MPI -DUNDERSCORE -DCORE_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=atmosphere -DMPAS_EXE_NAME=atmosphere_model -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=unknown" CPPINCLUDES="-DUSE_PIO2 -I/include -I/share/apps/intel_16/netcdf/4.4.0/include" all ) 
make[3]: Entering directory `/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src/operators'
ar -ru libops.a mpas_vector_operations.o mpas_matrix_operations.o mpas_tensor_operations.o mpas_rbf_interpolation.o mpas_vector_reconstruction.o mpas_spline_interpolation.o mpas_tracer_advection_helpers.o mpas_tracer_advection_mono.o mpas_tracer_advection_std.o mpas_geometry_utils.o
make[3]: Leaving directory `/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src/operators'
ln -sf operators/libops.a libops.a
(cd tools; make CPPFLAGS="-D_MPI -DUNDERSCORE -DCORE_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=atmosphere -DMPAS_EXE_NAME=atmosphere_model -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=unknown" CC="icc" CFLAGS="-O3")
make[3]: Entering directory `/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src/tools'
( make build_registry CPPFLAGS="-D_MPI -DUNDERSCORE -DCORE_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=atmosphere -DMPAS_EXE_NAME=atmosphere_model -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=unknown" CC="icc" CFLAGS="-O3" )
make[4]: Entering directory `/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src/tools'
*** Building MPAS tools from source ***
(cd registry; make CPPFLAGS="-D_MPI -DUNDERSCORE -DCORE_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=atmosphere -DMPAS_EXE_NAME=atmosphere_model -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=unknown" CC="icc" CFLAGS="-O3")
make[5]: Entering directory `/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src/tools/registry'
(cd ../../external/ezxml; make CFLAGS="-O3 ")
make[6]: Entering directory `/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src/external/ezxml'
rm -f *.o *.i
make -j 1 library
make[7]: Entering directory `/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src/external/ezxml'
icc -O3  -D_MPI -DUNDERSCORE -DCORE_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=atmosphere -DMPAS_EXE_NAME=atmosphere_model -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=unknown -c ezxml.c
make[7]: Leaving directory `/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src/external/ezxml'
make[6]: Leaving directory `/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src/external/ezxml'
#(make ezxml CPPFLAGS="-D_MPI -DUNDERSCORE -DCORE_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=atmosphere -DMPAS_EXE_NAME=atmosphere_model -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=unknown" CPPINCLUDES="-DUSE_PIO2 -I/include -I/share/apps/intel_16/netcdf/4.4.0/include")
(make parse CPPFLAGS="-D_MPI -DUNDERSCORE -DCORE_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=atmosphere -DMPAS_EXE_NAME=atmosphere_model -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=unknown" CPPINCLUDES="-DUSE_PIO2 -I/include -I/share/apps/intel_16/netcdf/4.4.0/include")
make[6]: Entering directory `/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src/tools/registry'
make[6]: `parse' is up to date.
make[6]: Leaving directory `/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src/tools/registry'
make[5]: Leaving directory `/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src/tools/registry'
make[4]: Leaving directory `/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src/tools'
( make build_input_gen CPPFLAGS="-D_MPI -DUNDERSCORE -DCORE_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=atmosphere -DMPAS_EXE_NAME=atmosphere_model -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=unknown" CC="icc" CFLAGS="-O3" )
make[4]: Entering directory `/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src/tools'
*** Building MPAS tools from source ***
(cd input_gen; make CPPFLAGS="-D_MPI -DUNDERSCORE -DCORE_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=atmosphere -DMPAS_EXE_NAME=atmosphere_model -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=unknown" CC="icc" CFLAGS="-O3")
make[5]: Entering directory `/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src/tools/input_gen'
(cd ../../external/ezxml; make CFLAGS="-O3 ")
make[6]: Entering directory `/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src/external/ezxml'
rm -f *.o *.i
make -j 1 library
make[7]: Entering directory `/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src/external/ezxml'
icc -O3  -D_MPI -DUNDERSCORE -DCORE_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=atmosphere -DMPAS_EXE_NAME=atmosphere_model -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=unknown -c ezxml.c
make[7]: Leaving directory `/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src/external/ezxml'
make[6]: Leaving directory `/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src/external/ezxml'
(make -j 1 namelist_gen CPPFLAGS="-D_MPI -DUNDERSCORE -DCORE_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=atmosphere -DMPAS_EXE_NAME=atmosphere_model -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=unknown" CPPINCLUDES="-DUSE_PIO2 -I/include -I/share/apps/intel_16/netcdf/4.4.0/include")
make[6]: Entering directory `/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src/tools/input_gen'
(cd ../../external/ezxml; make CFLAGS="-O3 ")
make[7]: Entering directory `/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src/external/ezxml'
rm -f *.o *.i
make -j 1 library
make[8]: Entering directory `/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src/external/ezxml'
icc -O3  -D_MPI -DUNDERSCORE -DCORE_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=atmosphere -DMPAS_EXE_NAME=atmosphere_model -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=unknown -c ezxml.c
make[8]: Leaving directory `/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src/external/ezxml'
make[7]: Leaving directory `/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src/external/ezxml'
icc -D_MPI -DUNDERSCORE -DCORE_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=atmosphere -DMPAS_EXE_NAME=atmosphere_model -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=unknown -O3 -I../../external/ezxml -o namelist_gen namelist_gen.o test_functions.o ../../external/ezxml/ezxml.o
make[6]: Leaving directory `/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src/tools/input_gen'
(make -j 1 streams_gen CPPFLAGS="-D_MPI -DUNDERSCORE -DCORE_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=atmosphere -DMPAS_EXE_NAME=atmosphere_model -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=unknown" CPPINCLUDES="-DUSE_PIO2 -I/include -I/share/apps/intel_16/netcdf/4.4.0/include")
make[6]: Entering directory `/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src/tools/input_gen'
(cd ../../external/ezxml; make CFLAGS="-O3 ")
make[7]: Entering directory `/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src/external/ezxml'
rm -f *.o *.i
make -j 1 library
make[8]: Entering directory `/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src/external/ezxml'
icc -O3  -D_MPI -DUNDERSCORE -DCORE_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=atmosphere -DMPAS_EXE_NAME=atmosphere_model -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=unknown -c ezxml.c
make[8]: Leaving directory `/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src/external/ezxml'
make[7]: Leaving directory `/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src/external/ezxml'
icc -D_MPI -DUNDERSCORE -DCORE_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=atmosphere -DMPAS_EXE_NAME=atmosphere_model -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=unknown -O3 -I../../external/ezxml -o streams_gen streams_gen.o test_functions.o ../../external/ezxml/ezxml.o
make[6]: Leaving directory `/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src/tools/input_gen'
make[5]: Leaving directory `/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src/tools/input_gen'
make[4]: Leaving directory `/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src/tools'
make[3]: Leaving directory `/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src/tools'
( cd core_atmosphere; make CPPFLAGS="-D_MPI -DUNDERSCORE -DCORE_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=atmosphere -DMPAS_EXE_NAME=atmosphere_model -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=unknown" CPPINCLUDES="-DUSE_PIO2 -I/include -I/share/apps/intel_16/netcdf/4.4.0/include" REG_PARSE="/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src/tools/registry/parse" gen_includes )
make[3]: Entering directory `/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src/core_atmosphere'
cpp -P -traditional -D_MPI -DUNDERSCORE -DCORE_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=atmosphere -DMPAS_EXE_NAME=atmosphere_model -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=unknown -DUSE_PIO2 -I/include -I/share/apps/intel_16/netcdf/4.4.0/include Registry.xml > Registry_processed.xml
(if [ ! -d inc ]; then mkdir -p inc; fi) # To generate *.inc files
(cd inc; /work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src/tools/registry/parse < ../Registry_processed.xml )
Reading registry file from standard input
---- GENERATING IMMUTABLE STREAMS ----
make[3]: Leaving directory `/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src/core_atmosphere'
( cd core_atmosphere; make CPPFLAGS="-D_MPI -DUNDERSCORE -DCORE_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=atmosphere -DMPAS_EXE_NAME=atmosphere_model -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=unknown" CPPINCLUDES="-DUSE_PIO2 -I/include -I/share/apps/intel_16/netcdf/4.4.0/include" NL_GEN="/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src/tools/input_gen/namelist_gen" ST_GEN="/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src/tools/input_gen/streams_gen" core_input_gen )
make[3]: Entering directory `/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src/core_atmosphere'
if [ ! -e default_inputs ]; then  mkdir default_inputs; fi
( cd default_inputs; /work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src/tools/input_gen/namelist_gen ../Registry_processed.xml namelist.atmosphere in_defaults=true )
( cd default_inputs; /work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src/tools/input_gen/streams_gen ../Registry_processed.xml streams.atmosphere stream_list.atmosphere. listed )
make[3]: Leaving directory `/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src/core_atmosphere'
( cd core_atmosphere; make CPPFLAGS="-D_MPI -DUNDERSCORE -DCORE_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=atmosphere -DMPAS_EXE_NAME=atmosphere_model -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=unknown" CPPINCLUDES="-DUSE_PIO2 -I/include -I/share/apps/intel_16/netcdf/4.4.0/include" all ) 
make[3]: Entering directory `/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src/core_atmosphere'
rm -f mpas_atm_dimensions.o mpas_atm_dimensions.mod
mpif90 -D_MPI -DUNDERSCORE -DCORE_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=atmosphere -DMPAS_EXE_NAME=atmosphere_model -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=unknown -DDO_PHYSICS -O3 -convert big_endian -FR -real-size 64 -c mpas_atm_dimensions.F -DUSE_PIO2 -I/include -I/share/apps/intel_16/netcdf/4.4.0/include -DUSE_PIO2 -I/include -I/share/apps/intel_16/netcdf/4.4.0/include -I../framework -I../operators -I./physics -I./dynamics -I./diagnostics -I./physics/physics_wrf -I../external/esmf_time_f90
mpas_atm_dimensions.F(35): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [PIO]
        use mpas_derived_types, only : MPAS_LOG_ERR, MPAS_LOG_CRIT
------------^
mpas_atm_dimensions.F(35): error #6580: Name in only-list does not exist.   [MPAS_LOG_ERR]
        use mpas_derived_types, only : MPAS_LOG_ERR, MPAS_LOG_CRIT
---------------------------------------^
mpas_atm_dimensions.F(35): error #6580: Name in only-list does not exist.   [MPAS_LOG_CRIT]
        use mpas_derived_types, only : MPAS_LOG_ERR, MPAS_LOG_CRIT
-----------------------------------------------------^
mpas_atm_dimensions.F(46): error #6279: A specification expression object must be a dummy argument, a COMMON block object, or an object accessible through host or use association.   [STRKIND]
        character(len=StrKIND) :: errstring1, errstring2
----------------------^
mpas_atm_dimensions.F(36): error #6580: Name in only-list does not exist.   [STRKIND]
        use mpas_kind_types, only : StrKIND
------------------------------------^
mpas_atm_dimensions.F(37): error #6580: Name in only-list does not exist.   [MPAS_LOG_WRITE]
        use mpas_log, only : mpas_log_write
-----------------------------^
mpas_atm_dimensions.F(46): error #6404: This name does not have a type, and must have an explicit type.   [STRKIND]
        character(len=StrKIND) :: errstring1, errstring2
----------------------^
compilation aborted for mpas_atm_dimensions.F (code 1)
make[3]: *** [mpas_atm_dimensions.o] Error 1
make[3]: Leaving directory `/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src/core_atmosphere'
make[2]: *** [dycore] Error 2
make[2]: Leaving directory `/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/src'
make[1]: *** [mpas_main] Error 2
make[1]: Leaving directory `/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3'
make: *** [ifort] Error 2]
Attachments
iolib_installation.txt
(3.5 KiB) Downloaded 18 times

mgduda
Posts: 362
Joined: Mon Feb 26, 2018 7:35 pm

Re: Make ifort error

Post by mgduda » Mon Jul 08, 2019 5:35 pm

@ntmanhvn181 It looks like the compilation log is only a partial log -- for example, I don't see where the "mpas_derived_types.F" file is being compiled.

In any case, it looks like you've created a separate thread here, so I would propose to continue the discussion there.
NCAR/MMM

Post Reply

Return to “Compilation / installation”