I am attempting to compile the CMAQ CCTM model on my system using options that have worked previously. However, I am now encountering the following error during compilation:
In file included from /usr/include/bits/floatn.h(119),
from /usr/include/stdlib.h(55),
from distr_env.c(29):
/usr/include/bits/floatn-common.h(214): error: invalid combination of type specifiers
typedef float _Float32;
^
In file included from /usr/include/bits/floatn.h(119),
from /usr/include/stdlib.h(55),
from distr_env.c(29):
/usr/include/bits/floatn-common.h(251): error: invalid combination of type specifiers
typedef double _Float64;
^
In file included from /usr/include/bits/floatn.h(119),
from /usr/include/stdlib.h(55),
from distr_env.c(29):
/usr/include/bits/floatn-common.h(268): error: invalid combination of type specifiers
typedef double _Float32x;
^
In file included from /usr/include/bits/floatn.h(119),
from /usr/include/stdlib.h(55),
from distr_env.c(29):
/usr/include/bits/floatn-common.h(285): error: invalid combination of type specifiers
typedef long double _Float64x;
^
mpiifort -c -fixed -132 -O3 -fno-alias -mp1 -fp-model source -ftz -simd -align all -xHost -vec-guard-write -unroll-aggressive -I /usr/local/usrapps/fgarcia4/CMAQ-5.4/CMAQ_HOME/lib/x86_64/intel/ioapi/lib -I /usr/local/usrapps/fgarcia4/CMAQ-5.4/CMAQ_HOME/lib/x86_64/intel/ioapi/include_files -I /usr/local/usrapps/fgarcia4/CMAQ-5.4/CMAQ_HOME/lib/x86_64/intel/mpi -I. coags.f
mpiifort -c -fixed -132 -O3 -fno-alias -mp1 -fp-model source -ftz -simd -align all -xHost -vec-guard-write -unroll-aggressive -I /usr/local/usrapps/fgarcia4/CMAQ-5.4/CMAQ_HOME/lib/x86_64/intel/ioapi/lib -I /usr/local/usrapps/fgarcia4/CMAQ-5.4/CMAQ_HOME/lib/x86_64/intel/ioapi/include_files -I /usr/local/usrapps/fgarcia4/CMAQ-5.4/CMAQ_HOME/lib/x86_64/intel/mpi -I. isocom.f
mpiifort -c -fixed -132 -O3 -fno-alias -mp1 -fp-model source -ftz -simd -align all -xHost -vec-guard-write -unroll-aggressive -I /usr/local/usrapps/fgarcia4/CMAQ-5.4/CMAQ_HOME/lib/x86_64/intel/ioapi/lib -I /usr/local/usrapps/fgarcia4/CMAQ-5.4/CMAQ_HOME/lib/x86_64/intel/ioapi/include_files -I /usr/local/usrapps/fgarcia4/CMAQ-5.4/CMAQ_HOME/lib/x86_64/intel/mpi -I. isofwd.f
mpiifort -c -fixed -132 -O3 -fno-alias -mp1 -fp-model source -ftz -simd -align all -xHost -vec-guard-write -unroll-aggressive -I /usr/local/usrapps/fgarcia4/CMAQ-5.4/CMAQ_HOME/lib/x86_64/intel/ioapi/lib -I /usr/local/usrapps/fgarcia4/CMAQ-5.4/CMAQ_HOME/lib/x86_64/intel/ioapi/include_files -I /usr/local/usrapps/fgarcia4/CMAQ-5.4/CMAQ_HOME/lib/x86_64/intel/mpi -I. isorev.f
mpiifort -c -fixed -132 -O3 -fno-alias -mp1 -fp-model source -ftz -simd -align all -xHost -vec-guard-write -unroll-aggressive -I /usr/local/usrapps/fgarcia4/CMAQ-5.4/CMAQ_HOME/lib/x86_64/intel/ioapi/lib -I /usr/local/usrapps/fgarcia4/CMAQ-5.4/CMAQ_HOME/lib/x86_64/intel/ioapi/include_files -I /usr/local/usrapps/fgarcia4/CMAQ-5.4/CMAQ_HOME/lib/x86_64/intel/mpi -I. acmcld.f
compilation aborted for distr_env.c (code 2)
make: *** [Makefile:464: distr_env.o] Error 2
make: *** Waiting for unfinished jobs....
**ERROR** while running make command
if ( ! 0 ) then
mv Makefile Makefile.intel
if ( -e Makefile.intel && -e Makefile ) rm Makefile
ln -s Makefile.intel Makefile
endif
if ( 0 != 0 ) then
if ( -e /usr/local/usrapps/fgarcia4/CMAQ-5.4/CMAQ_HOME/CCTM/scripts/BLD_CCTM_v54_intel/CCTM_v54.cfg ) then
mv CCTM_v54.cfg.bld /usr/local/usrapps/fgarcia4/CMAQ-5.4/CMAQ_HOME/CCTM/scripts/BLD_CCTM_v54_intel/CCTM_v54.cfg
if ( 0 ) then
exit
I have attached the full log here for the reference. I would greatly appreciate any suggestions that could help resolve this issue.
Amir
build_log.txt (169.4 KB)