Skip to content

COAWST compile error :atm_coupler.f90(317): error #7012: The module file cannot be read. Its format requires a more recent F90 compiler. [MCT_WRF_COUPLER_PARAMS] #427

@yuke4500

Description

@yuke4500

Mr Warner,
I am compiling COAWST in a new PC, the System is Ubuntu 2404
with:
./coawst.bash -nocleanwrf &>log_compile (configure WRF first and modify DM_FC,DM_CC in configure.wrf)
My libraries:
ZLIB-1.2.11
HDF5-1.10.4
NETCDF-c4.7.4 fortran4.5.2
MCT-2.6.0
I used these libraries running COAWST in the centos7 PCs smoothly.

But on this machine, errors look like in MCT.(I can compile WRF in this PC successfully.)

time mpiifort -o module_nesting.o -c -O3 -ip -fp-model precise -w -ftz -align all -fno-alias -FR -convert big_endian -I../dyn_em -I../dyn_nmm -I/mnt/shared/WIND/simulations/forecast/COAWST_3waycpl_test1/WRF/external/esmf_time_f90 -I/mnt/shared/WIND/simulations/forecast/COAWST_3waycpl_test1/WRF/main -I/mnt/shared/WIND/simulations/forecast/COAWST_3waycpl_test1/WRF/external/io_netcdf -I/mnt/shared/WIND/simulations/forecast/COAWST_3waycpl_test1/WRF/external/io_int -I/mnt/shared/WIND/simulations/forecast/COAWST_3waycpl_test1/WRF/frame -I/mnt/shared/WIND/simulations/forecast/COAWST_3waycpl_test1/WRF/share -I/mnt/shared/WIND/simulations/forecast/COAWST_3waycpl_test1/WRF/phys -I/mnt/shared/WIND/simulations/forecast/COAWST_3waycpl_test1/WRF/wrftladj -I/mnt/shared/WIND/simulations/forecast/COAWST_3waycpl_test1/WRF/chem -I/mnt/shared/WIND/simulations/forecast/COAWST_3waycpl_test1/WRF/inc -I/mnt/shared/WIND/libs/COAWST_LIBRARIES/netcdf/netcdf-c474-f452-intel2019/include -I.././Build -I/mnt/shared/WIND/libs/COAWST_LIBRARIES/MCT/MCT-2.6.0-intel2019-fpp/include -real-size expr 8 * 4-i4 module_nesting.f90 atm_coupler.f90(317): error #7012: The module file cannot be read. Its format requires a more recent F90 compiler. [MCT_WRF_COUPLER_PARAMS] USE mct_wrf_coupler_params ----------^ atm_coupler.f90(340): error #6457: This derived type name has not been declared. [GLOBALSEGMAP] TYPE(GlobalSegMap) :: GSMapWRF -------------^ atm_coupler.f90(359): error #6457: This derived type name has not been declared. [ATTRVECT] TYPE(AttrVect) :: atm2ocn_AV -------------^ atm_coupler.f90(360): error #6457: This derived type name has not been declared. [ATTRVECT] TYPE(AttrVect) :: ocn2atm_AV -------------^ atm_coupler.f90(364): error #6457: This derived type name has not been declared. [ATTRVECT] TYPE(AttrVect) :: atm2wav_AV ------------^ atm_coupler.f90(365): error #6457: This derived type name has not been declared. [ATTRVECT] TYPE(AttrVect) :: wav2atm_AV ------------^ atm_coupler.f90(370): error #6457: This derived type name has not been declared. [ROUTER] type(Router) :: WRFtoROMS -------------^ atm_coupler.f90(374): error #6457: This derived type name has not been declared. [ROUTER] type(Router) :: WRFtoSWAN -------------^ atm_coupler.f90(253): error #6581: Unresolved rename. [MCTWORLD_INIT] USE m_MCTWorld, ONLY : MCTWorld_init => init -----------------------------^ atm_coupler.f90(254): error #6581: Unresolved rename. [MCTWORLD_CLEAN] USE m_MCTWorld, ONLY : MCTWorld_clean => clean -----------------------------^ atm_coupler.f90(258): error #6580: Name in only-list does not exist or is not accessible. [GLOBALSEGMAP] USE m_GlobalSegMap, ONLY : GlobalSegMap ---------------------------------^ atm_coupler.f90(259): error #6581: Unresolved rename. [GLOBALSEGMAP_INIT] USE m_GlobalSegMap, ONLY : GlobalSegMap_init => init ---------------------------------^ atm_coupler.f90(260): error #6581: Unresolved rename. [GLOBALSEGMAP_LSIZE] USE m_GlobalSegMap, ONLY : GlobalSegMap_lsize => lsize ---------------------------------^ atm_coupler.f90(261): error #6581: Unresolved rename. [GLOBALSEGMAP_CLEAN] USE m_GlobalSegMap, ONLY : GlobalSegMap_clean => clean ---------------------------------^ atm_coupler.f90(262): error #6581: Unresolved rename. [GLOBALSEGMAP_ORDPNTS] USE m_GlobalSegMap, ONLY : GlobalSegMap_Ordpnts => OrderedPoints ---------------------------------^ atm_coupler.f90(266): error #6580: Name in only-list does not exist or is not accessible. [ATTRVECT] USE m_AttrVect, ONLY : AttrVect -----------------------------^ atm_coupler.f90(267): error #6581: Unresolved rename. [ATTRVECT_INIT] USE m_AttrVect, ONLY : AttrVect_init => init -----------------------------^ atm_coupler.f90(268): error #6581: Unresolved rename. [ATTRVECT_ZERO] USE m_AttrVect, ONLY : AttrVect_zero => zero -----------------------------^ atm_coupler.f90(269): error #6581: Unresolved rename. [ATTRVECT_CLEAN] USE m_AttrVect, ONLY : AttrVect_clean => clean -----------------------------^ atm_coupler.f90(270): error #6581: Unresolved rename. [ATTRVECT_INDXR] USE m_AttrVect, ONLY : AttrVect_indxR => indexRA -----------------------------^ atm_coupler.f90(271): error #6581: Unresolved rename. [ATTRVECT_IMPORTRATTR] USE m_AttrVect, ONLY : AttrVect_importRAttr => importRAttr -----------------------------^ atm_coupler.f90(272): error #6581: Unresolved rename. [ATTRVECT_EXPORTRATTR] USE m_AttrVect, ONLY : AttrVect_exportRAttr => exportRAttr -----------------------------^ atm_coupler.f90(276): error #6580: Name in only-list does not exist or is not accessible. [ROUTER] USE m_Router, ONLY : Router ---------------------------^ atm_coupler.f90(277): error #6581: Unresolved rename. [ROUTER_INIT] USE m_Router, ONLY : Router_init => init ---------------------------^ atm_coupler.f90(278): error #6581: Unresolved rename. [ROUTER_CLEAN] USE m_Router, ONLY : Router_clean => clean ---------------------------^ atm_coupler.f90(282): error #6581: Unresolved rename. [MCT_SEND] USE m_Transfer, ONLY: MCT_send => send ----------------------------^ atm_coupler.f90(283): error #6581: Unresolved rename. [MCT_RECV] USE m_Transfer, ONLY: MCT_recv => recv ----------------------------^ atm_coupler.f90(284): error #6581: Unresolved rename. [MCT_ISEND] USE m_Transfer, ONLY: MCT_isend => isend ----------------------------^ atm_coupler.f90(285): error #6581: Unresolved rename. [MCT_IRECV] USE m_Transfer, ONLY: MCT_irecv => irecv ----------------------------^ atm_coupler.f90(286): error #6581: Unresolved rename. [MCT_WAITR] USE m_Transfer, ONLY: MCT_waitr => waitrecv ----------------------------^ atm_coupler.f90(2235): catastrophic error: Too many errors, exiting compilation aborted for atm_coupler.f90 (code 1) Command exited with non-zero status 1

I have attached my bashrc text, configure.wrf,Linux-ifort.mk and log_compile file.

bashrc.txt
coawst.bash.txt
configure.wrf.txt
Linux-ifort.mk.txt
log_compile.txt

Thank you
Yu

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions