Hi,
I was trying to compile CCTM and stuck for two days. I getting the following error:
make list
file /usr/local/usrapps/fgarcia4/CMAQ5.2.1-Sadia/CCTM/src/util/util/subhfile.F added to make list
file /usr/local/usrapps/fgarcia4/CMAQ5.2.1-Sadia/CCTM/src/util/util/UTILIO_DEFN.F added to make list
ERROR Cannot Open source file:alloc_data_mod.f
endif
else if ( 0 ) then
endif
mv Makefile Makefile.intel2017.1.132
mv: cannot stat ‘Makefile’: No such file or directory
if ( -e Makefile.intel2017.1.132 && -e Makefile ) rm Makefile
ln -s Makefile.intel2017.1.132 Makefile
if ( 0 != 0 ) then
if ( -e /usr/local/usrapps/fgarcia4/CMAQ5.2.1-Sadia/CCTM/scripts/BLD_CCTM_v521_intel2017.1.132/CCTM_v521.cfg ) then
mv CCTM_v521.cfg.bld /usr/local/usrapps/fgarcia4/CMAQ5.2.1-Sadia/CCTM/scripts/BLD_CCTM_v521_intel2017.1.132/CCTM_v521.cfg
exit
I also got the following error after running the script second time:
): In function NC4_rename_att': /usr/local/usrapps/fgarcia4/downloads/netcdf-c-intel2017/download/netcdf-c-4.6.1/libsrc4/nc4attr.c:463: undefined reference to
H5Adelete’
/usr/local/usrapps/fgarcia4/downloads/netcdf-c-intel2017/download/netcdf-c-4.6.1/libsrc4/nc4attr.c:456: undefined reference to H5Adelete' /usr/local/usrapps/fgarcia4/CMAQ5.2.1-Sadia/lib/x86_64/intel2017.1.132/ioapi/lib/libnetcdf.a(libnetcdf4_la-nc4attr.o): In function
NC4_del_att’:
/usr/local/usrapps/fgarcia4/downloads/netcdf-c-intel2017/download/netcdf-c-4.6.1/libsrc4/nc4attr.c:566: undefined reference to `H5Adelete’
make: *** [CCTM_v521.exe] Error 1
ERROR while running make command
endif
else if ( 0 ) then
endif
mv Makefile Makefile.intel2017.1.132
mv: ‘Makefile’ and ‘Makefile.intel2017.1.132’ are the same file
if ( -e Makefile.intel2017.1.132 && -e Makefile ) rm Makefile
rm Makefile
ln -s Makefile.intel2017.1.132 Makefile
if ( 0 != 0 ) then
if ( -e /usr/local/usrapps/fgarcia4/CMAQ5.2.1-Sadia/CCTM/scripts/BLD_CCTM_v521_intel2017.1.132/CCTM_v521.cfg ) then
echo >>> previous CCTM_v521.cfg exists, re-naming to CCTM_v521.cfg.old <<<
previous CCTM_v521.cfg exists, re-naming to CCTM_v521.cfg.old <<<
mv /usr/local/usrapps/fgarcia4/CMAQ5.2.1-Sadia/CCTM/scripts/BLD_CCTM_v521_intel2017.1.132/CCTM_v521.cfg /usr/local/usrapps/fgarcia4/CMAQ5.2.1-Sadia/CCTM/scripts/BLD_CCTM_v521_intel2017.1.132/CCTM_v521.cfg.old
endif
mv CCTM_v521.cfg.bld /usr/local/usrapps/fgarcia4/CMAQ5.2.1-Sadia/CCTM/scripts/BLD_CCTM_v521_intel2017.1.132/CCTM_v521.cfg
exit
It would be great if you could help me out.
Thanks,
Sadia