Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

Installing WRF-Chem using intel compiler

seti

Member
Dear WRF-Chem community,

I tried to install WRF-chem version 4.1.2 using intel (intel compiler has been installed already- ifort version 19.0.4.243 ) on a remote server (HPC). I follow this link to install required library ( Compiling WRF), and before installing the libraries I set environmental variables as follow:

export CC=icc
export CXX=icpc
export FC=ifort
export F77=ifort
export F90=ifort
export MPIFC=mpiifort
export MPIF77=mpiifort
export MPIF90=mpiifort
export MPICC=mpiicc
export MPICXX=mpiicpc

After installing all the libraries, I configure the WRF, and selected number 15 [15. (dmpar) INTEL (ifort/icc) ] . Then I set "DM_FC= mpiifort" and "DM_CC =mpiicc" in configure.wrf file, and save the changes. In addition I insert "sed -i '154s|mpif90 -f90=$(SFC)|mpiifort|g' configure.wrf" and "sed -i '155s|mpicc -cc=$(SCC)|mpiicc|g' configure.wrf " in terminal and then compile the model.

However, the model did not compiled successfully and I do not know what is the problem is?
I attached logs file. Would you please kindly advise me on how to remove this problem?
Many thanks in advance.
Kind regards,
 

Attachments

  • configure.wrf.txt
    23 KB · Views: 2
  • compile_wrf.log.txt
    1.9 MB · Views: 0
  • compile_kpp.log.txt
    336.7 KB · Views: 1
I also need to add that I checked for the Library Compatibility Tests and it failed to pass Test #1: Fortran + C + NetCDF.
This is part of the failed message I received:


seti@HPC-Main TESTS]$gfortran 01_fortran+c+netcdf_f.o 01_fortran+c+netcdf_c.o -L${NETCDF}/lib -lnetcdff -lnetcdf
/backup3/seti/setii/s/LIBRARIES/netcdf/lib/libnetcdff.a(nf_control.o): In function `nf_create_':
nf_control.F90:(.text+0x1be): undefined reference to `for_cpystr'
/backup3/seti/setii/s/LIBRARIES/netcdf/lib/libnetcdff.a(nf_control.o): In function `nf__create_':
nf_control.F90:(.text+0x43f): undefined reference to `for_cpystr'
/backup3/seti/setii/s/LIBRARIES/netcdf/lib/libnetcdff.a(nf_control.o): In function `nf__create_mp_':
nf_control.F90:(.text+0x603): undefined reference to `iso_c_binding_mp_c_loc_private_'
nf_control.F90:(.text+0x700): undefined reference to `for_cpystr'
/backup3/seti/setii/s/LIBRARIES/netcdf/lib/libnetcdff.a(nf_control.o): In function `nf_open_':
nf_control.F90:(.text+0x965): undefined reference to `for_cpystr'
/backup3/seti/setii/s/LIBRARIES/netcdf/lib/libnetcdff.a(nf_control.o): In function `nf__open_':
nf_control.F90:(.text+0xbb6): undefined reference to `for_cpystr'
/backup3/seti/setii/s/LIBRARIES/netcdf/lib/libnetcdff.a(nf_control.o): In function `nf__open_mp_':
nf_control.F90:(.text+0xd5e): undefined reference to `iso_c_binding_mp_c_loc_private_'
nf_control.F90:(.text+0xe5e): undefined reference to `for_cpystr'
/backup3/seti/setii/s/LIBRARIES/netcdf/lib/libnetcdff.a(nf_control.o): In function `nf_open_mem_':
nf_control.F90:(.text+0x10b8): undefined reference to `for_cpystr'
nf_control.F90:(.text+0x10f4): undefined reference to `iso_c_binding_mp_c_loc_private_'
/backup3/seti/setii/s/LIBRARIES/netcdf/lib/libnetcdff.a(nf_control.o): In function `nf_inq_path_':
nf_control.F90:(.text+0x137c): undefined reference to `for_cpystr'
nf_control.F90:(.text+0x147f): undefined reference to `for_cpystr'
nf_control.F90:(.text+0x1611): undefined reference to `for_cpystr'
/backup3/seti/setii/s/LIBRARIES/netcdf/lib/libnetcdff.a(nf_control.o): In function `nf_delete_':
nf_control.F90:(.text+0x1a25): undefined reference to `for_cpystr'
/backup3/seti/setii/s/LIBRARIES/netcdf/lib/libnetcdff.a(nf_control.o): In function `nf_delete_mp_':
nf_control.F90:(.text+0x1c20): undefined reference to `for_cpystr'
/backup3/seti/setii/s/LIBRARIES/netcdf/lib/libnetcdff.a(module_netcdf_nc_interfaces.o): In function `netcdf_nc_interfaces_mp_addcnullchar_':
module_netcdf_nc_interfaces.f90:(.text+0x77): undefined reference to `for_len_trim'
module_netcdf_nc_interfaces.f90:(.text+0xce): undefined reference to `for_f90_scan'
module_netcdf_nc_interfaces.f90:(.text+0x228): undefined reference to `for_cpystr'
module_netcdf_nc_interfaces.f90:(.text+0x307): undefined reference to `for_cpystr'
module_netcdf_nc_interfaces.f90:(.text+0x3a1): undefined reference to `for_concat'
/backup3/seti/setii/s/LIBRARIES/netcdf/lib/libnetcdff.a(module_netcdf_nc_interfaces.o): In function `netcdf_nc_interfaces_mp_stripcnullchar_':
module_netcdf_nc_interfaces.f90:(.text+0x440): undefined reference to `for_len_trim'
module_netcdf_nc_interfaces.f90:(.text+0x48e): undefined reference to `for_f90_scan'
module_netcdf_nc_interfaces.f90:(.text+0x5d0): undefined reference to `for_cpystr'
module_netcdf_nc_interfaces.f90:(.text+0x687): undefined reference to `for_cpystr'
/backup3/seti/setii/s/LIBRARIES/netcdf/lib/libnetcdf.a(libdispatch_la-dfile.o): In function `nc_def_user_format':
dfile.c:(.text+0x4a): undefined reference to `__intel_sse2_strlen'
 
Top