init_atmosphere make error

Discussions related to downloading and compiling MPAS-Atmosphere.
Post Reply
mahmoud
Posts: 3
Joined: Mon Jun 15, 2020 12:36 am

init_atmosphere make error

Post by mahmoud » Mon Jun 15, 2020 12:48 am

i want to configure MPAS-Atmosphere so i started with make for init_atmosphere i found this error during make


( make all \
"FC_PARALLEL = mpif90" \
"CC_PARALLEL = mpicc" \
"CXX_PARALLEL = mpicxx" \
"FC_SERIAL = gfortran" \
"CC_SERIAL = gcc" \
"CXX_SERIAL = g++" \
"FFLAGS_PROMOTION = -fdefault-real-8 -fdefault-double-8" \
"FFLAGS_OPT = -O3 -m64 -ffree-line-length-none -fconvert=big-endian -ffree-form" \
"CFLAGS_OPT = -O3 -m64" \
"CXXFLAGS_OPT = -O3 -m64" \
"LDFLAGS_OPT = -O3 -m64" \
"FFLAGS_DEBUG = -g -m64 -ffree-line-length-none -fconvert=big-endian -ffree-form -fbounds-check -fbacktrace -ffpe-trap=invalid,zero,overflow" \
"CFLAGS_DEBUG = -g -m64" \
"CXXFLAGS_DEBUG = -O3 -m64" \
"LDFLAGS_DEBUG = -g -m64" \
"FFLAGS_OMP = -fopenmp" \
"CFLAGS_OMP = -fopenmp" \
"CORE = init_atmosphere" \
"DEBUG = " \
"USE_PAPI = " \
"OPENMP = true" \
"CPPFLAGS = -D_MPI" )
make[1]: Entering directory '/home/mahmoud/mpas/MPAS-Model-7.0'
Testing compiler for OpenMP support
Checking for a usable PIO library...
=> PIO 1 detected
cd src; make FC="mpif90" \
CC="mpicc" \
CXX="mpicxx" \
SFC="gfortran" \
SCC="gcc" \
LINKER="mpif90" \
CFLAGS="-O3 -m64 -fopenmp "-DSINGLE_PRECISION"" \
CXXFLAGS="-O3 -m64 -fopenmp "-DSINGLE_PRECISION"" \
FFLAGS="-O3 -m64 -ffree-line-length-none -fconvert=big-endian -ffree-form -fopenmp" \
LDFLAGS="-O3 -m64 -fopenmp" \
RM="rm -f" \
CPP="cpp -P -traditional" \
CPPFLAGS="-D_MPI -DCORE_INIT_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=init_atmosphere -DMPAS_EXE_NAME=init_atmosphere_model "-DMPAS_OPENMP" "-DSINGLE_PRECISION" -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION="unknown"" \
LIBS="-L/home/mahmoud/libs_install/pio1_9_23_build -lpio -L/home/mahmoud/libs_install/lib -lnetcdff -lnetcdf -L/home/mahmoud/libs_install/lib -lpnetcdf" \
CPPINCLUDES=" -I/home/mahmoud/libs_install/pio1_9_23_build -I/home/mahmoud/libs_install/include -I/home/mahmoud/libs_install/include" \
FCINCLUDES=" -I/home/mahmoud/libs_install/pio1_9_23_build -I/home/mahmoud/libs_install/include -I/home/mahmoud/libs_install/include" \
CORE="init_atmosphere"\
AUTOCLEAN="false" \
GEN_F90="false" \
NAMELIST_SUFFIX="init_atmosphere" \
EXE_NAME="init_atmosphere_model"
make[2]: Entering directory '/home/mahmoud/mpas/MPAS-Model-7.0/src'
( cd external; make FC="mpif90" SFC="gfortran" CC="mpicc" SCC="gcc" FFLAGS="-O3 -m64 -ffree-line-length-none -fconvert=big-endian -ffree-form -fopenmp" CFLAGS="-O3 -m64 -fopenmp -DSINGLE_PRECISION" CPP="cpp -P -traditional" NETCDF="/home/mahmoud/libs_install" CORE="init_atmosphere" all )
make[3]: Entering directory '/home/mahmoud/mpas/MPAS-Model-7.0/src/external'
( cd esmf_time_f90; make FC="mpif90 -O3 -m64 -ffree-line-length-none -fconvert=big-endian -ffree-form -fopenmp" CPP="cpp -P -traditional" CPPFLAGS="-D_MPI -DCORE_INIT_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=init_atmosphere -DMPAS_EXE_NAME=init_atmosphere_model -DMPAS_OPENMP -DSINGLE_PRECISION -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=unknown -DHIDE_MPI" GEN_F90=false )
( cd ezxml; make )
make[4]: Entering directory '/home/mahmoud/mpas/MPAS-Model-7.0/src/external/ezxml'
rm -f *.o *.i
make[4]: Entering directory '/home/mahmoud/mpas/MPAS-Model-7.0/src/external/esmf_time_f90'
ar -ru libesmf_time.a *.o
make -j 1 library
make[4]: Leaving directory '/home/mahmoud/mpas/MPAS-Model-7.0/src/external/esmf_time_f90'
make[5]: Entering directory '/home/mahmoud/mpas/MPAS-Model-7.0/src/external/ezxml'
make[5]: warning: -jN forced in submake: disabling jobserver mode.
mpicc -O3 -m64 -fopenmp -DSINGLE_PRECISION -D_MPI -DCORE_INIT_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=init_atmosphere -DMPAS_EXE_NAME=init_atmosphere_model -DMPAS_OPENMP -DSINGLE_PRECISION -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=unknown -c ezxml.c
make[5]: Leaving directory '/home/mahmoud/mpas/MPAS-Model-7.0/src/external/ezxml'
make[4]: Leaving directory '/home/mahmoud/mpas/MPAS-Model-7.0/src/external/ezxml'
make[3]: Leaving directory '/home/mahmoud/mpas/MPAS-Model-7.0/src/external'
( cd framework; make CPPFLAGS="-D_MPI -DCORE_INIT_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=init_atmosphere -DMPAS_EXE_NAME=init_atmosphere_model -DMPAS_OPENMP -DSINGLE_PRECISION -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=unknown" CPPINCLUDES="-I/home/mahmoud/libs_install/pio1_9_23_build -I/home/mahmoud/libs_install/include -I/home/mahmoud/libs_install/include" all )
(cd tools; make CPPFLAGS="-D_MPI -DCORE_INIT_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=init_atmosphere -DMPAS_EXE_NAME=init_atmosphere_model -DMPAS_OPENMP -DSINGLE_PRECISION -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=unknown" CC="gcc" CFLAGS="-O3 -m64 -fopenmp -DSINGLE_PRECISION")
make[3]: Entering directory '/home/mahmoud/mpas/MPAS-Model-7.0/src/framework'
make[3]: Entering directory '/home/mahmoud/mpas/MPAS-Model-7.0/src/tools'
( make build_registry CPPFLAGS="-D_MPI -DCORE_INIT_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=init_atmosphere -DMPAS_EXE_NAME=init_atmosphere_model -DMPAS_OPENMP -DSINGLE_PRECISION -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=unknown" CC="gcc" CFLAGS="-O3 -m64 -fopenmp -DSINGLE_PRECISION" )
make[4]: Entering directory '/home/mahmoud/mpas/MPAS-Model-7.0/src/tools'
*** Building MPAS tools from source ***
(cd registry; make CPPFLAGS="-D_MPI -DCORE_INIT_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=init_atmosphere -DMPAS_EXE_NAME=init_atmosphere_model -DMPAS_OPENMP -DSINGLE_PRECISION -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=unknown" CC="gcc" CFLAGS="-O3 -m64 -fopenmp -DSINGLE_PRECISION")
make[5]: Entering directory '/home/mahmoud/mpas/MPAS-Model-7.0/src/tools/registry'
(cd ../../external/ezxml; make CFLAGS="-O3 -m64 -fopenmp -DSINGLE_PRECISION ")
make[6]: Entering directory '/home/mahmoud/mpas/MPAS-Model-7.0/src/external/ezxml'
rm -f *.o *.i
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 -j 1 library
make[3]: Leaving directory '/home/mahmoud/mpas/MPAS-Model-7.0/src/framework'
make[7]: Entering directory '/home/mahmoud/mpas/MPAS-Model-7.0/src/external/ezxml'
make[7]: warning: -jN forced in submake: disabling jobserver mode.
ln -sf framework/libframework.a libframework.a
gcc -O3 -m64 -fopenmp -DSINGLE_PRECISION -D_MPI -DCORE_INIT_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=init_atmosphere -DMPAS_EXE_NAME=init_atmosphere_model -DMPAS_OPENMP -DSINGLE_PRECISION -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=unknown -c ezxml.c
( cd operators; make CPPFLAGS="-D_MPI -DCORE_INIT_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=init_atmosphere -DMPAS_EXE_NAME=init_atmosphere_model -DMPAS_OPENMP -DSINGLE_PRECISION -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=unknown" CPPINCLUDES="-I/home/mahmoud/libs_install/pio1_9_23_build -I/home/mahmoud/libs_install/include -I/home/mahmoud/libs_install/include" all )
make[3]: Entering directory '/home/mahmoud/mpas/MPAS-Model-7.0/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 '/home/mahmoud/mpas/MPAS-Model-7.0/src/operators'
ln -sf operators/libops.a libops.a
make[7]: Leaving directory '/home/mahmoud/mpas/MPAS-Model-7.0/src/external/ezxml'
make[6]: Leaving directory '/home/mahmoud/mpas/MPAS-Model-7.0/src/external/ezxml'
#(make ezxml CPPFLAGS="-D_MPI -DCORE_INIT_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=init_atmosphere -DMPAS_EXE_NAME=init_atmosphere_model -DMPAS_OPENMP -DSINGLE_PRECISION -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=unknown" CPPINCLUDES="-I/home/mahmoud/libs_install/pio1_9_23_build -I/home/mahmoud/libs_install/include -I/home/mahmoud/libs_install/include")
(make parse CPPFLAGS="-D_MPI -DCORE_INIT_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=init_atmosphere -DMPAS_EXE_NAME=init_atmosphere_model -DMPAS_OPENMP -DSINGLE_PRECISION -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=unknown" CPPINCLUDES="-I/home/mahmoud/libs_install/pio1_9_23_build -I/home/mahmoud/libs_install/include -I/home/mahmoud/libs_install/include")
make[6]: Entering directory '/home/mahmoud/mpas/MPAS-Model-7.0/src/tools/registry'
make[6]: 'parse' is up to date.
make[6]: Leaving directory '/home/mahmoud/mpas/MPAS-Model-7.0/src/tools/registry'
make[5]: Leaving directory '/home/mahmoud/mpas/MPAS-Model-7.0/src/tools/registry'
make[4]: Leaving directory '/home/mahmoud/mpas/MPAS-Model-7.0/src/tools'
( make build_input_gen CPPFLAGS="-D_MPI -DCORE_INIT_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=init_atmosphere -DMPAS_EXE_NAME=init_atmosphere_model -DMPAS_OPENMP -DSINGLE_PRECISION -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=unknown" CC="gcc" CFLAGS="-O3 -m64 -fopenmp -DSINGLE_PRECISION" )
make[4]: Entering directory '/home/mahmoud/mpas/MPAS-Model-7.0/src/tools'
*** Building MPAS tools from source ***
(cd input_gen; make CPPFLAGS="-D_MPI -DCORE_INIT_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=init_atmosphere -DMPAS_EXE_NAME=init_atmosphere_model -DMPAS_OPENMP -DSINGLE_PRECISION -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=unknown" CC="gcc" CFLAGS="-O3 -m64 -fopenmp -DSINGLE_PRECISION")
make[5]: Entering directory '/home/mahmoud/mpas/MPAS-Model-7.0/src/tools/input_gen'
(cd ../../external/ezxml; make CFLAGS="-O3 -m64 -fopenmp -DSINGLE_PRECISION ")
make[6]: Entering directory '/home/mahmoud/mpas/MPAS-Model-7.0/src/external/ezxml'
rm -f *.o *.i
make -j 1 library
make[7]: Entering directory '/home/mahmoud/mpas/MPAS-Model-7.0/src/external/ezxml'
make[7]: warning: -jN forced in submake: disabling jobserver mode.
gcc -O3 -m64 -fopenmp -DSINGLE_PRECISION -D_MPI -DCORE_INIT_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=init_atmosphere -DMPAS_EXE_NAME=init_atmosphere_model -DMPAS_OPENMP -DSINGLE_PRECISION -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=unknown -c ezxml.c
make[7]: Leaving directory '/home/mahmoud/mpas/MPAS-Model-7.0/src/external/ezxml'
make[6]: Leaving directory '/home/mahmoud/mpas/MPAS-Model-7.0/src/external/ezxml'
(make -j 1 namelist_gen CPPFLAGS="-D_MPI -DCORE_INIT_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=init_atmosphere -DMPAS_EXE_NAME=init_atmosphere_model -DMPAS_OPENMP -DSINGLE_PRECISION -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=unknown" CPPINCLUDES="-I/home/mahmoud/libs_install/pio1_9_23_build -I/home/mahmoud/libs_install/include -I/home/mahmoud/libs_install/include")
make[6]: Entering directory '/home/mahmoud/mpas/MPAS-Model-7.0/src/tools/input_gen'
make[6]: warning: -jN forced in submake: disabling jobserver mode.
(cd ../../external/ezxml; make CFLAGS="-O3 -m64 -fopenmp -DSINGLE_PRECISION ")
make[7]: Entering directory '/home/mahmoud/mpas/MPAS-Model-7.0/src/external/ezxml'
rm -f *.o *.i
make -j 1 library
make[8]: Entering directory '/home/mahmoud/mpas/MPAS-Model-7.0/src/external/ezxml'
gcc -O3 -m64 -fopenmp -DSINGLE_PRECISION -D_MPI -DCORE_INIT_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=init_atmosphere -DMPAS_EXE_NAME=init_atmosphere_model -DMPAS_OPENMP -DSINGLE_PRECISION -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=unknown -c ezxml.c
make[8]: Leaving directory '/home/mahmoud/mpas/MPAS-Model-7.0/src/external/ezxml'
make[7]: Leaving directory '/home/mahmoud/mpas/MPAS-Model-7.0/src/external/ezxml'
gcc -D_MPI -DCORE_INIT_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=init_atmosphere -DMPAS_EXE_NAME=init_atmosphere_model -DMPAS_OPENMP -DSINGLE_PRECISION -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=unknown -O3 -m64 -fopenmp -DSINGLE_PRECISION -I../../external/ezxml -o namelist_gen namelist_gen.o test_functions.o ../../external/ezxml/ezxml.o
make[6]: Leaving directory '/home/mahmoud/mpas/MPAS-Model-7.0/src/tools/input_gen'
(make -j 1 streams_gen CPPFLAGS="-D_MPI -DCORE_INIT_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=init_atmosphere -DMPAS_EXE_NAME=init_atmosphere_model -DMPAS_OPENMP -DSINGLE_PRECISION -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=unknown" CPPINCLUDES="-I/home/mahmoud/libs_install/pio1_9_23_build -I/home/mahmoud/libs_install/include -I/home/mahmoud/libs_install/include")
make[6]: Entering directory '/home/mahmoud/mpas/MPAS-Model-7.0/src/tools/input_gen'
make[6]: warning: -jN forced in submake: disabling jobserver mode.
(cd ../../external/ezxml; make CFLAGS="-O3 -m64 -fopenmp -DSINGLE_PRECISION ")
make[7]: Entering directory '/home/mahmoud/mpas/MPAS-Model-7.0/src/external/ezxml'
rm -f *.o *.i
make -j 1 library
make[8]: Entering directory '/home/mahmoud/mpas/MPAS-Model-7.0/src/external/ezxml'
gcc -O3 -m64 -fopenmp -DSINGLE_PRECISION -D_MPI -DCORE_INIT_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=init_atmosphere -DMPAS_EXE_NAME=init_atmosphere_model -DMPAS_OPENMP -DSINGLE_PRECISION -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=unknown -c ezxml.c
make[8]: Leaving directory '/home/mahmoud/mpas/MPAS-Model-7.0/src/external/ezxml'
make[7]: Leaving directory '/home/mahmoud/mpas/MPAS-Model-7.0/src/external/ezxml'
gcc -D_MPI -DCORE_INIT_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=init_atmosphere -DMPAS_EXE_NAME=init_atmosphere_model -DMPAS_OPENMP -DSINGLE_PRECISION -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=unknown -O3 -m64 -fopenmp -DSINGLE_PRECISION -I../../external/ezxml -o streams_gen streams_gen.o test_functions.o ../../external/ezxml/ezxml.o
make[6]: Leaving directory '/home/mahmoud/mpas/MPAS-Model-7.0/src/tools/input_gen'
make[5]: Leaving directory '/home/mahmoud/mpas/MPAS-Model-7.0/src/tools/input_gen'
make[4]: Leaving directory '/home/mahmoud/mpas/MPAS-Model-7.0/src/tools'
make[3]: Leaving directory '/home/mahmoud/mpas/MPAS-Model-7.0/src/tools'
( cd core_init_atmosphere; make CPPFLAGS="-D_MPI -DCORE_INIT_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=init_atmosphere -DMPAS_EXE_NAME=init_atmosphere_model -DMPAS_OPENMP -DSINGLE_PRECISION -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=unknown" CPPINCLUDES="-I/home/mahmoud/libs_install/pio1_9_23_build -I/home/mahmoud/libs_install/include -I/home/mahmoud/libs_install/include" REG_PARSE="/home/mahmoud/mpas/MPAS-Model-7.0/src/tools/registry/parse" gen_includes )
make[3]: Entering directory '/home/mahmoud/mpas/MPAS-Model-7.0/src/core_init_atmosphere'
cpp -P -traditional -D_MPI -DCORE_INIT_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=init_atmosphere -DMPAS_EXE_NAME=init_atmosphere_model -DMPAS_OPENMP -DSINGLE_PRECISION -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=unknown -I/home/mahmoud/libs_install/pio1_9_23_build -I/home/mahmoud/libs_install/include -I/home/mahmoud/libs_install/include Registry.xml > Registry_processed.xml
(if [ ! -d inc ]; then mkdir -p inc; fi) # To generate *.inc files
(cd inc; /home/mahmoud/mpas/MPAS-Model-7.0/src/tools/registry/parse < ../Registry_processed.xml )
Reading registry file from standard input
---- GENERATING IMMUTABLE STREAMS ----
make[3]: Leaving directory '/home/mahmoud/mpas/MPAS-Model-7.0/src/core_init_atmosphere'
( cd core_init_atmosphere; make CPPFLAGS="-D_MPI -DCORE_INIT_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=init_atmosphere -DMPAS_EXE_NAME=init_atmosphere_model -DMPAS_OPENMP -DSINGLE_PRECISION -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=unknown" CPPINCLUDES="-I/home/mahmoud/libs_install/pio1_9_23_build -I/home/mahmoud/libs_install/include -I/home/mahmoud/libs_install/include" NL_GEN="/home/mahmoud/mpas/MPAS-Model-7.0/src/tools/input_gen/namelist_gen" ST_GEN="/home/mahmoud/mpas/MPAS-Model-7.0/src/tools/input_gen/streams_gen" core_input_gen )
make[3]: Entering directory '/home/mahmoud/mpas/MPAS-Model-7.0/src/core_init_atmosphere'
if [ ! -e default_inputs ]; then mkdir default_inputs; fi
( cd default_inputs; /home/mahmoud/mpas/MPAS-Model-7.0/src/tools/input_gen/namelist_gen ../Registry_processed.xml namelist.init_atmosphere in_defaults=true )
( cd default_inputs; /home/mahmoud/mpas/MPAS-Model-7.0/src/tools/input_gen/streams_gen ../Registry_processed.xml streams.init_atmosphere stream_list.init_atmosphere. listed )
make[3]: Leaving directory '/home/mahmoud/mpas/MPAS-Model-7.0/src/core_init_atmosphere'
( cd core_init_atmosphere; make CPPFLAGS="-D_MPI -DCORE_INIT_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=init_atmosphere -DMPAS_EXE_NAME=init_atmosphere_model -DMPAS_OPENMP -DSINGLE_PRECISION -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=unknown" CPPINCLUDES="-I/home/mahmoud/libs_install/pio1_9_23_build -I/home/mahmoud/libs_install/include -I/home/mahmoud/libs_install/include" all )
make[3]: Entering directory '/home/mahmoud/mpas/MPAS-Model-7.0/src/core_init_atmosphere'
rm -f mpas_init_atm_core.o mpas_init_atm_core.mod
mpif90 -D_MPI -DCORE_INIT_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=init_atmosphere -DMPAS_EXE_NAME=init_atmosphere_model -DMPAS_OPENMP -DSINGLE_PRECISION -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=unknown -O3 -m64 -ffree-line-length-none -fconvert=big-endian -ffree-form -fopenmp -c mpas_init_atm_core.F -I/home/mahmoud/libs_install/pio1_9_23_build -I/home/mahmoud/libs_install/include -I/home/mahmoud/libs_install/include -I/home/mahmoud/libs_install/pio1_9_23_build -I/home/mahmoud/libs_install/include -I/home/mahmoud/libs_install/include -I./inc -I../framework -I../operators -I../external/esmf_time_f90
mpas_init_atm_core.F:43.72:

call mpas_pool_get_config(mesh, 'sphere_radius', sphere_radius)
1
Error: There is no specific subroutine for the generic 'mpas_pool_get_config' at (1)
Makefile:100: recipe for target 'mpas_init_atm_core.o' failed
make[3]: *** [mpas_init_atm_core.o] Error 1
make[3]: Leaving directory '/home/mahmoud/mpas/MPAS-Model-7.0/src/core_init_atmosphere'
Makefile:39: recipe for target 'dycore' failed
make[2]: *** [dycore] Error 2
make[2]: Leaving directory '/home/mahmoud/mpas/MPAS-Model-7.0/src'
Makefile:780: recipe for target 'mpas_main' failed
make[1]: *** [mpas_main] Error 2
make[1]: Leaving directory '/home/mahmoud/mpas/MPAS-Model-7.0'
Makefile:214: recipe for target 'gfortran' failed
make: *** [gfortran] Error 2

thanks for advance

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

Re: init_atmosphere make error

Post by mgduda » Mon Jun 15, 2020 10:03 pm

Is it the case that a previous attempt to compile, in which "PRECISION=single" was not specified, failed, and you are compiling again with "PRECISION=single" without first running "make clean CORE=init_atmosphere"?

Can you try running

Code: Select all

make clean CORE=init_atmosphere
followed by

Code: Select all

make gfortran CORE=init_atmosphere PRECISION=single >& make.log
?

If this also fails, could you attach the "make.log" file?
NCAR/MMM

mahmoud
Posts: 3
Joined: Mon Jun 15, 2020 12:36 am

Re: init_atmosphere make error

Post by mahmoud » Mon Jun 15, 2020 11:25 pm

dear mgduda
thank you so much for attention
i have tried make clean CORE=init_atmosphere
after that make gfortran CORE=init_atmosphere PRECISION=single >& make.log
but i found error pls see attached file make.log

regards
mahmoud
Attachments
make.log
(67.3 KiB) Downloaded 16 times

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

Re: init_atmosphere make error

Post by mgduda » Tue Jun 16, 2020 12:32 am

The error you're getting now looks like it might be the same as the one in this post. As described in that post, could you try to either modify the PIO 1.9.23 code to work around the PIO issue, or try to install PIO 2.4.4?
NCAR/MMM

mahmoud
Posts: 3
Joined: Mon Jun 15, 2020 12:36 am

Re: init_atmosphere make error

Post by mahmoud » Wed Jun 17, 2020 9:10 pm

dear mgduda

i have installed pio-2.5 and error resolved thank you so much for help. now i will try to follow guide and run real case
i wish to keep help

regards
mahmoud

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

Re: init_atmosphere make error

Post by mgduda » Mon Jun 22, 2020 6:47 pm

Thanks for following-up -- it's good to know that switching to a newer version of PIO resolved the issue.
NCAR/MMM

Post Reply

Return to “Compilation / installation”