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

unable to compile wrf hydro coupled with intel llvm compilers

William.Hatheway

Active member
############################################################################

workhorse@workhorse-MS-7D91:~/WRFHYDRO_COUPLED_Intel$
cd "${WRF_FOLDER}"
git clone GitHub - wrf-model/WRF: The official repository for the Weather Research and Forecasting (WRF) model

cd WRF
git submodule update --init --recursive
Cloning into 'WRF'...
remote: Enumerating objects: 64441, done.
remote: Counting objects: 100% (437/437), done.
remote: Compressing objects: 100% (284/284), done.
remote: Total 64441 (delta 297), reused 153 (delta 153), pack-reused 64004 (from 4)
Receiving objects: 100% (64441/64441), 269.66 MiB | 37.22 MiB/s, done.
Resolving deltas: 100% (49738/49738), done.
Submodule '.ci/hpc-workflows' (GitHub - islas/hpc-workflows: Template Workflows for running HPC CI/CD Regression Suites) registered for path '.ci/hpc-workflows'
Submodule 'phys/noahmp' (GitHub - NCAR/noahmp: Noah-MP Community Repository) registered for path 'phys/noahmp'
Cloning into '/home/workhorse/WRFHYDRO_COUPLED_Intel/WRF/.ci/hpc-workflows'...
Cloning into '/home/workhorse/WRFHYDRO_COUPLED_Intel/WRF/phys/noahmp'...
Submodule path '.ci/hpc-workflows': checked out 'dfc8e6d823b80497ea41bab94e1fdf3f4594ad18'
Submodule path 'phys/noahmp': checked out '848f54ad3d28c4303151fe5ad83724e232694422'
workhorse@workhorse-MS-7D91:~/WRFHYDRO_COUPLED_Intel/WRF$
#If statment for changing folder name
if [ -d ""${WRF_FOLDER}"/WRF" ]; then
mv -f "${WRF_FOLDER}"/WRF "${WRF_FOLDER}"/WRFV${WRF_VERSION}
fi

cd "${WRF_FOLDER}"/WRFV${WRF_VERSION}
workhorse@workhorse-MS-7D91:~/WRFHYDRO_COUPLED_Intel/WRFV4.6.1$ ./configure_new
Using default build directory : _build
Using default install directory : /home/workhorse/WRFHYDRO_COUPLED_Intel/WRFV4.6.1/install
0 Linux gfortran / gcc / mpif90 / mpicc GNU (gfortran/gcc)
1 Linux ifx / icx / mpif90 / mpicc INTEL (ifx/icx) : oneAPI LLVM
!! - Compiler not found, some configurations will not work and will be hidden
Select configuration [0-1] Default [0] (note !!) : 1
Select option for WRF_CORE from WRF_CORE_OPTIONS [0-4]
0 : ARW
1 : CONVERT
2 : DA
3 : DA_4D_VAR
4 : PLUS
Default [0] : 0
Select option for WRF_NESTING from WRF_NESTING_OPTIONS [0-3]
0 : NONE
1 : BASIC
2 : MOVES
3 : VORTEX
Default [1] : 1
Select option for WRF_CASE from WRF_CASE_OPTIONS [0-14]
0 : EM_REAL
1 : EM_FIRE
2 : EM_SCM_XY
3 : EM_TROPICAL_CYCLONE
4 : EM_HELDSUAREZ
5 : EM_B_WAVE
6 : EM_GRAV2D_X
7 : EM_HILL2D_X
8 : EM_LES
9 : EM_QUARTER_SS
10 : EM_SEABREEZE2D_X
11 : EM_CONVRAD
12 : EM_SQUALL2D_X
13 : EM_SQUALL2D_Y
14 : NONE
Default [0] : 0
[DM] Use MPI? Default [Y] [Y/n] : y
[SM] Use OpenMP? Default [N] [y/N] : n
Configure additional options? Default [N] [y/N] : y
ID Option : Default
0 USE_DOUBLE : OFF
1 USE_HDF5 : OFF
2 USE_JASPER : OFF
3 USE_PIO : OFF
4 USE_IPO : OFF
5 ENABLE_CHEM : OFF
6 ENABLE_CMAQ : OFF
7 ENABLE_CTSM : OFF
8 ENABLE_DFI_RADAR : OFF
9 ENABLE_HYDRO : OFF
10 ENABLE_KPP : OFF
11 ENABLE_MARS : OFF
12 ENABLE_TERRAIN : OFF
13 ENABLE_TITAN : OFF
14 ENABLE_VENUS : OFF
15 USE_ALLOCATABLES : ON
16 wrfmodel : ON
17 GRIB1 : ON
18 INTIO : ON
19 KEEP_INT_AROUND : ON
20 LIMIT_ARGS : ON
21 WRFIO_NCD_NO_LARGE_FILE_SUPPORT : OFF
22 FORCE_NETCDF_CLASSIC : OFF
23 BUILD_RRTMG_FAST : OFF
24 BUILD_RRTMK : OFF
25 BUILD_SBM_FAST : ON
26 SHOW_ALL_VARS_USED : OFF
27 PROFILE_COMPILATION : OFF
Enter ID to toggle option on or off, q to quit :
1
Set USE_HDF5 to ON
2
Set USE_JASPER to ON
9
Set ENABLE_HYDRO to ON
q
-- The C compiler identification is IntelLLVM 2025.0.4
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /opt/intel/oneapi/compiler/2025.0/bin/icx - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- The CXX compiler identification is IntelLLVM 2025.0.4
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /opt/intel/oneapi/compiler/2025.0/bin/icpx - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The Fortran compiler identification is IntelLLVM 2025.0.4
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Check for working Fortran compiler: /opt/intel/oneapi/compiler/2025.0/bin/ifx - skipped
-- Retrieving git information...
-- git SHA : v4.6.1-0-gd66e442fccc04111067e29274c9f9eaccc3cef28
-- git diff :
-- Setting project version to 4.6.1
-- Set default build type to Release
-- netCDF large file support not suppressed, if available it will be used
-- Found MPI_C: /opt/intel/oneapi/mpi/2021.14/lib/libmpi.so (found version "3.1")
-- Found MPI_Fortran: /opt/intel/oneapi/mpi/2021.14/lib/libmpifort.so (found version "3.1")
-- Found MPI: TRUE (found version "3.1") found components: Fortran C
-- Checking if MPI requires IPO
-- Found HDF5: /home/workhorse/WRFHYDRO_COUPLED_Intel/Libs/grib2/lib/libhdf5.so;/home/workhorse/WRFHYDRO_COUPLED_Intel/Libs/grib2/lib/libz.so;/usr/lib/x86_64-linux-gnu/libdl.a;/usr/lib/x86_64-linux-gnu/libm.so (found version "1.14.4-3")
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1")
-- Found Jasper: /home/workhorse/WRFHYDRO_COUPLED_Intel/Libs/grib2/lib/libjasper.a (found suitable version "1.900.1", required range is "1.900.1...<1.900.24")
-- Found NETCDF_PROGRAM : /home/workhorse/WRFHYDRO_COUPLED_Intel/Libs/NETCDF/bin/nc-config
-- Found netCDF: /home/workhorse/WRFHYDRO_COUPLED_Intel/Libs/NETCDF/include (found version "4.9.2")
-- Found NETCDF-FORTRAN_PROGRAM : /home/workhorse/WRFHYDRO_COUPLED_Intel/Libs/NETCDF/bin/nf-config
-- Found netCDF-Fortran: /home/workhorse/WRFHYDRO_COUPLED_Intel/Libs/NETCDF/include (found version "4.6.1")
-- Found PNETCDF_PROGRAM : /home/workhorse/WRFHYDRO_COUPLED_Intel/Libs/grib2/bin/pnetcdf-config
-- Found ZLIB: /home/workhorse/WRFHYDRO_COUPLED_Intel/Libs/grib2/lib/libz.so (found version "1.3.1")
-- Found CURL: /usr/lib/x86_64-linux-gnu/libcurl.so (found version "8.5.0")
-- WRF_CONFIG : /home/workhorse/WRFHYDRO_COUPLED_Intel/WRFV4.6.1/_build/wrf_config.cmake
-- CMAKE_BUILD_TYPE : Release
-- WRF_CORE : ARW
-- WRF_NESTING : BASIC
-- WRF_CASE : EM_REAL
-- USE_DOUBLE : OFF
-- USE_MPI : ON
-- USE_OPENMP : OFF
-- USE_IPO : OFF
-- ENABLE_CHEM : OFF
-- ENABLE_CLM :
-- ENABLE_CMAQ : OFF
-- ENABLE_DFI_RADAR : OFF
-- ENABLE_HYDRO : ON
-- ENABLE_KPP : OFF
-- ENABLE_MARS : OFF
-- ENABLE_TERRAIN : OFF
-- ENABLE_TITAN : OFF
-- ENABLE_VENUS : OFF
-- USE_ALLOCATABLES : ON
-- wrfmodel : ON
-- GRIB1 : ON
-- INTIO : ON
-- KEEP_INT_AROUND : ON
-- LIMIT_ARGS : ON
-- FORCE_NETCDF_CLASSIC : OFF
-- BUILD_RRTMG_FAST : OFF
-- BUILD_RRTMK : OFF
-- BUILD_SBM_FAST : ON
-- SHOW_ALL_VARS_USED : OFF
-- WRFIO_NCD_NO_LARGE_FILE_SUPPORT : OFF
-- Performing Test Fortran_2003_IEEE
-- Performing Test Fortran_2003_IEEE - Success
-- Performing Test Fortran_2003_ISO_C
-- Performing Test Fortran_2003_ISO_C - Success
-- Performing Test Fortran_2003_FLUSH
-- Performing Test Fortran_2003_FLUSH - Success
-- Performing Test Fortran_2003_GAMMA
-- Performing Test Fortran_2003_GAMMA - Success
-- Performing Test FSEEKO64
-- Performing Test FSEEKO64 - Success
-- Adding [io_netcdfpar] to configuration
-- Adding [io_pnetcdf] to configuration
-- Adding [io_phdf5] to configuration
-- Adding [io_grib2] to configuration
-- Setting gen_comms to RSL_LITE
-- Setting module_dm to RSL_LITE
-- Configuring done (2.8s)
-- Generating done (0.1s)
-- Build files have been written to: /home/workhorse/WRFHYDRO_COUPLED_Intel/WRFV4.6.1/_build
workhorse@workhorse-MS-7D91:~/WRFHYDRO_COUPLED_Intel/WRFV4.6.1$ ./compile_new -j 1
Using default build directory : /home/workhorse/WRFHYDRO_COUPLED_Intel/WRFV4.6.1/_build
[ 1%] Building Fortran object hydro/MPP/CMakeFiles/hydro_mpp.dir/CPL_WRF.F90.o
[ 1%] Building Fortran object hydro/MPP/CMakeFiles/hydro_mpp.dir/hashtable.F90.o
[ 1%] Building Fortran object hydro/MPP/CMakeFiles/hydro_mpp.dir/mpp_land.F90.o
[ 1%] Building Fortran object hydro/MPP/CMakeFiles/hydro_mpp.dir/module_mpp_GWBUCKET.F90.o
[ 1%] Building Fortran object hydro/MPP/CMakeFiles/hydro_mpp.dir/module_mpp_ReachLS.F90.o
[ 1%] Linking Fortran static library libhydro_mpp.a
[ 1%] Built target hydro_mpp
[ 1%] Building Fortran object hydro/utils/CMakeFiles/hydro_utils.dir/module_hydro_stop.F90.o
/home/workhorse/WRFHYDRO_COUPLED_Intel/WRFV4.6.1/hydro/utils/module_hydro_stop.F90(10): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MPI]
use module_mpp_land
------------^
compilation aborted for /home/workhorse/WRFHYDRO_COUPLED_Intel/WRFV4.6.1/hydro/utils/module_hydro_stop.F90 (code 1)
make[2]: *** [hydro/utils/CMakeFiles/hydro_utils.dir/build.make:88: hydro/utils/CMakeFiles/hydro_utils.dir/module_hydro_stop.F90.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2100: hydro/utils/CMakeFiles/hydro_utils.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
 
Cloning into 'WRF'...
remote: Enumerating objects: 64441, done.
remote: Counting objects: 100% (437/437), done.
remote: Compressing objects: 100% (284/284), done.
remote: Total 64441 (delta 297), reused 153 (delta 153), pack-reused 64004 (from 4)
Receiving objects: 100% (64441/64441), 269.66 MiB | 48.10 MiB/s, done.
Resolving deltas: 100% (49738/49738), done.
Submodule '.ci/hpc-workflows' (GitHub - islas/hpc-workflows: Template Workflows for running HPC CI/CD Regression Suites) registered for path '.ci/hpc-workflows'
Submodule 'phys/noahmp' (GitHub - NCAR/noahmp: Noah-MP Community Repository) registered for path 'phys/noahmp'
Cloning into '/home/workhorse/WRFHYDRO_COUPLED_Intel/WRF/.ci/hpc-workflows'...
Cloning into '/home/workhorse/WRFHYDRO_COUPLED_Intel/WRF/phys/noahmp'...
Submodule path '.ci/hpc-workflows': checked out 'dfc8e6d823b80497ea41bab94e1fdf3f4594ad18'
Submodule path 'phys/noahmp': checked out '848f54ad3d28c4303151fe5ad83724e232694422'
workhorse@workhorse-MS-7D91:~/WRFHYDRO_COUPLED_Intel/WRFV4.6.1$
cp -rf "${WRF_FOLDER}"/Hydro-Basecode/wrf_hydro_nwm_public/src/* "${WRF_FOLDER}"/WRFV${WRF_VERSION}/hydro
cp -rf "${WRF_FOLDER}"/Hydro-Basecode/wrf_hydro_nwm_public/build/src/* "${WRF_FOLDER}"/WRFV${WRF_VERSION}/hydro
workhorse@workhorse-MS-7D91:~/WRFHYDRO_COUPLED_Intel/WRFV4.6.1$
export ZLIB_ROOT=$DIR/grib2
export JASPER_DIR=$DIR/grib2
export HDF5_ROOT=$DIR/grib2
export PNETCDF_DIR=$DIR/grib2
workhorse@workhorse-MS-7D91:~/WRFHYDRO_COUPLED_Intel/WRFV4.6.1$ ./configure_new
Using default build directory : _build
Using default install directory : /home/workhorse/WRFHYDRO_COUPLED_Intel/WRFV4.6.1/install
0 Linux gfortran / gcc / mpif90 / mpicc GNU (gfortran/gcc)
1 Linux ifx / icx / mpif90 / mpicc INTEL (ifx/icx) : oneAPI LLVM
!! - Compiler not found, some configurations will not work and will be hidden
Select configuration [0-1] Default [0] (note !!) : 1
Select option for WRF_CORE from WRF_CORE_OPTIONS [0-4]
0 : ARW
1 : CONVERT
2 : DA
3 : DA_4D_VAR
4 : PLUS
Default [0] : 0
Select option for WRF_NESTING from WRF_NESTING_OPTIONS [0-3]
0 : NONE
1 : BASIC
2 : MOVES
3 : VORTEX
Default [1] : 1
Select option for WRF_CASE from WRF_CASE_OPTIONS [0-14]
0 : EM_REAL
1 : EM_FIRE
2 : EM_SCM_XY
3 : EM_TROPICAL_CYCLONE
4 : EM_HELDSUAREZ
5 : EM_B_WAVE
6 : EM_GRAV2D_X
7 : EM_HILL2D_X
8 : EM_LES
9 : EM_QUARTER_SS
10 : EM_SEABREEZE2D_X
11 : EM_CONVRAD
12 : EM_SQUALL2D_X
13 : EM_SQUALL2D_Y
14 : NONE
Default [0] : 0
[DM] Use MPI? Default [Y] [Y/n] : y
[SM] Use OpenMP? Default [N] [y/N] : n
Configure additional options? Default [N] [y/N] : y
ID Option : Default
0 USE_DOUBLE : OFF
1 USE_HDF5 : OFF
2 USE_JASPER : OFF
3 USE_PIO : OFF
4 USE_IPO : OFF
5 ENABLE_CHEM : OFF
6 ENABLE_CMAQ : OFF
7 ENABLE_CTSM : OFF
8 ENABLE_DFI_RADAR : OFF
9 ENABLE_HYDRO : OFF
10 ENABLE_KPP : OFF
11 ENABLE_MARS : OFF
12 ENABLE_TERRAIN : OFF
13 ENABLE_TITAN : OFF
14 ENABLE_VENUS : OFF
15 USE_ALLOCATABLES : ON
16 wrfmodel : ON
17 GRIB1 : ON
18 INTIO : ON
19 KEEP_INT_AROUND : ON
20 LIMIT_ARGS : ON
21 WRFIO_NCD_NO_LARGE_FILE_SUPPORT : OFF
22 FORCE_NETCDF_CLASSIC : OFF
23 BUILD_RRTMG_FAST : OFF
24 BUILD_RRTMK : OFF
25 BUILD_SBM_FAST : ON
26 SHOW_ALL_VARS_USED : OFF
27 PROFILE_COMPILATION : OFF
Enter ID to toggle option on or off, q to quit :
1
Set USE_HDF5 to ON
2
Set USE_JASPER to ON
9
Set ENABLE_HYDRO to ON
q
-- The C compiler identification is IntelLLVM 2025.0.4
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /opt/intel/oneapi/compiler/2025.0/bin/icx - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- The CXX compiler identification is IntelLLVM 2025.0.4
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /opt/intel/oneapi/compiler/2025.0/bin/icpx - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The Fortran compiler identification is IntelLLVM 2025.0.4
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Check for working Fortran compiler: /opt/intel/oneapi/compiler/2025.0/bin/ifx - skipped
-- Retrieving git information...
-- git SHA : v4.6.1-0-gd66e442fccc04111067e29274c9f9eaccc3cef28-dirty
-- git diff : 62 files changed, 6300 insertions(+), 2951 deletions(-)
-- Setting project version to 4.6.1
-- Set default build type to Release
-- netCDF large file support not suppressed, if available it will be used
-- Found MPI_C: /opt/intel/oneapi/mpi/2021.14/lib/libmpi.so (found version "3.1")
-- Found MPI_Fortran: /opt/intel/oneapi/mpi/2021.14/lib/libmpifort.so (found version "3.1")
-- Found MPI: TRUE (found version "3.1") found components: Fortran C
-- Checking if MPI requires IPO
-- Found HDF5: /home/workhorse/WRFHYDRO_COUPLED_Intel/Libs/grib2/lib/libhdf5.so;/home/workhorse/WRFHYDRO_COUPLED_Intel/Libs/grib2/lib/libz.so;/usr/lib/x86_64-linux-gnu/libdl.a;/usr/lib/x86_64-linux-gnu/libm.so (found version "1.14.4-3")
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1")
-- Found Jasper: /home/workhorse/WRFHYDRO_COUPLED_Intel/Libs/grib2/lib/libjasper.a (found suitable version "1.900.1", required range is "1.900.1...<1.900.24")
-- Found NETCDF_PROGRAM : /home/workhorse/WRFHYDRO_COUPLED_Intel/Libs/NETCDF/bin/nc-config
-- Found netCDF: /home/workhorse/WRFHYDRO_COUPLED_Intel/Libs/NETCDF/include (found version "4.9.2")
-- Found NETCDF-FORTRAN_PROGRAM : /home/workhorse/WRFHYDRO_COUPLED_Intel/Libs/NETCDF/bin/nf-config
-- Found netCDF-Fortran: /home/workhorse/WRFHYDRO_COUPLED_Intel/Libs/NETCDF/include (found version "4.6.1")
-- Found PNETCDF_PROGRAM : /home/workhorse/WRFHYDRO_COUPLED_Intel/Libs/grib2/bin/pnetcdf-config
-- Found ZLIB: /home/workhorse/WRFHYDRO_COUPLED_Intel/Libs/grib2/lib/libz.so (found version "1.3.1")
-- Found CURL: /usr/lib/x86_64-linux-gnu/libcurl.so (found version "8.5.0")
-- WRF_CONFIG : /home/workhorse/WRFHYDRO_COUPLED_Intel/WRFV4.6.1/_build/wrf_config.cmake
-- CMAKE_BUILD_TYPE : Release
-- WRF_CORE : ARW
-- WRF_NESTING : BASIC
-- WRF_CASE : EM_REAL
-- USE_DOUBLE : OFF
-- USE_MPI : ON
-- USE_OPENMP : OFF
-- USE_IPO : OFF
-- ENABLE_CHEM : OFF
-- ENABLE_CLM :
-- ENABLE_CMAQ : OFF
-- ENABLE_DFI_RADAR : OFF
-- ENABLE_HYDRO : ON
-- ENABLE_KPP : OFF
-- ENABLE_MARS : OFF
-- ENABLE_TERRAIN : OFF
-- ENABLE_TITAN : OFF
-- ENABLE_VENUS : OFF
-- USE_ALLOCATABLES : ON
-- wrfmodel : ON
-- GRIB1 : ON
-- INTIO : ON
-- KEEP_INT_AROUND : ON
-- LIMIT_ARGS : ON
-- FORCE_NETCDF_CLASSIC : OFF
-- BUILD_RRTMG_FAST : OFF
-- BUILD_RRTMK : OFF
-- BUILD_SBM_FAST : ON
-- SHOW_ALL_VARS_USED : OFF
-- WRFIO_NCD_NO_LARGE_FILE_SUPPORT : OFF
-- Performing Test Fortran_2003_IEEE
-- Performing Test Fortran_2003_IEEE - Success
-- Performing Test Fortran_2003_ISO_C
-- Performing Test Fortran_2003_ISO_C - Success
-- Performing Test Fortran_2003_FLUSH
-- Performing Test Fortran_2003_FLUSH - Success
-- Performing Test Fortran_2003_GAMMA
-- Performing Test Fortran_2003_GAMMA - Success
-- Performing Test FSEEKO64
-- Performing Test FSEEKO64 - Success
-- Adding [io_netcdfpar] to configuration
-- Adding [io_pnetcdf] to configuration
-- Adding [io_phdf5] to configuration
-- Adding [io_grib2] to configuration
-- Setting gen_comms to RSL_LITE
-- Setting module_dm to RSL_LITE
-- Configuring done (2.8s)
-- Generating done (0.1s)
-- Build files have been written to: /home/workhorse/WRFHYDRO_COUPLED_Intel/WRFV4.6.1/_build
workhorse@workhorse-MS-7D91:~/WRFHYDRO_COUPLED_Intel/WRFV4.6.1$ ./compile_new
Using default build directory : /home/workhorse/WRFHYDRO_COUPLED_Intel/WRFV4.6.1/_build
[ 0%] Building Fortran object hydro/MPP/CMakeFiles/hydro_mpp.dir/CPL_WRF.F90.o
[ 0%] Building Fortran object hydro/MPP/CMakeFiles/hydro_mpp.dir/hashtable.F90.o
[ 0%] Building Fortran object hydro/MPP/CMakeFiles/hydro_mpp.dir/mpp_land.F90.o
[ 0%] Building Fortran object hydro/MPP/CMakeFiles/hydro_mpp.dir/module_mpp_GWBUCKET.F90.o
[ 1%] Building Fortran object hydro/MPP/CMakeFiles/hydro_mpp.dir/module_mpp_ReachLS.F90.o
[ 1%] Linking Fortran static library libhydro_mpp.a
[ 1%] Built target hydro_mpp
[ 1%] Building Fortran object hydro/utils/CMakeFiles/hydro_utils.dir/module_hydro_stop.F90.o
/home/workhorse/WRFHYDRO_COUPLED_Intel/WRFV4.6.1/hydro/utils/module_hydro_stop.F90(10): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MPI]
use module_mpp_land
------------^
compilation aborted for /home/workhorse/WRFHYDRO_COUPLED_Intel/WRFV4.6.1/hydro/utils/module_hydro_stop.F90 (code 1)
make[2]: *** [hydro/utils/CMakeFiles/hydro_utils.dir/build.make:88: hydro/utils/CMakeFiles/hydro_utils.dir/module_hydro_stop.F90.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2137: hydro/utils/CMakeFiles/hydro_utils.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
 
##############################################################################
workhorse@workhorse-MS-7D91:~/WRFHYDRO_COUPLED_Intel$
cd "${WRF_FOLDER}"
git clone GitHub - wrf-model/WRF: The official repository for the Weather Research and Forecasting (WRF) model

cd WRF
git submodule update --init --recursive
Cloning into 'WRF'...
remote: Enumerating objects: 64441, done.
remote: Counting objects: 100% (438/438), done.
remote: Compressing objects: 100% (283/283), done.
remote: Total 64441 (delta 297), reused 155 (delta 155), pack-reused 64003 (from 4)
Receiving objects: 100% (64441/64441), 269.66 MiB | 38.27 MiB/s, done.
Resolving deltas: 100% (49732/49732), done.
Submodule '.ci/hpc-workflows' (GitHub - islas/hpc-workflows: Template Workflows for running HPC CI/CD Regression Suites) registered for path '.ci/hpc-workflows'
Submodule 'phys/noahmp' (GitHub - NCAR/noahmp: Noah-MP Community Repository) registered for path 'phys/noahmp'
Cloning into '/home/workhorse/WRFHYDRO_COUPLED_Intel/WRF/.ci/hpc-workflows'...
Cloning into '/home/workhorse/WRFHYDRO_COUPLED_Intel/WRF/phys/noahmp'...
Submodule path '.ci/hpc-workflows': checked out 'dfc8e6d823b80497ea41bab94e1fdf3f4594ad18'
Submodule path 'phys/noahmp': checked out '848f54ad3d28c4303151fe5ad83724e232694422'
workhorse@workhorse-MS-7D91:~/WRFHYDRO_COUPLED_Intel/WRF$

#If statment for changing folder name
if [ -d ""${WRF_FOLDER}"/WRF" ]; then
mv -f "${WRF_FOLDER}"/WRF "${WRF_FOLDER}"/WRFV${WRF_VERSION}
fi

cd "${WRF_FOLDER}"/WRFV${WRF_VERSION}

workhorse@workhorse-MS-7D91:~/WRFHYDRO_COUPLED_Intel/WRFV4.6.1$
export ZLIB_ROOT=$DIR/grib2
export JASPER_DIR=$DIR/grib2
export HDF5_ROOT=$DIR/grib2
export PNETCDF_DIR=$DIR/grib2
workhorse@workhorse-MS-7D91:~/WRFHYDRO_COUPLED_Intel/WRFV4.6.1$ cp -rf "${WRF_FOLDER}"/Hydro-Basecode/wrf_hydro_nwm_public/src/* "${WRF_FOLDER}"/WRFV${WRF_VERSION}/hydro
workhorse@workhorse-MS-7D91:~/WRFHYDRO_COUPLED_Intel/WRFV4.6.1$ cp -rf "${WRF_FOLDER}"/Hydro-Basecode/wrf_hydro_nwm_public/build/* "${WRF_FOLDER}"/WRFV${WRF_VERSION}/hydro
workhorse@workhorse-MS-7D91:~/WRFHYDRO_COUPLED_Intel/WRFV4.6.1$ cp -rf "${WRF_FOLDER}"/Hydro-Basecode/wrf_hydro_nwm_public/build/src/* "${WRF_FOLDER}"/WRFV${WRF_VERSION}/hydro
workhorse@workhorse-MS-7D91:~/WRFHYDRO_COUPLED_Intel/WRFV4.6.1$
./configure_new -x -p "oneAPI LLVM" -- -DCMAKE_Fortran_COMPILER=ifx -DMPI_Fortran_COMPILER=mpiifx -DMPI_C_COMPILER=mpiicx -DWRF_CORE=ARW -DWRF_NESTING=BASIC -DWRF_CASE=EM_REAL -DUSE_MPI=ON -DENABLE_HYDRO=ON
Using default build directory : _build
Using default install directory : /home/workhorse/WRFHYDRO_COUPLED_Intel/WRFV4.6.1/install
Using preselected config oneAPI LLVM
Linux ifx / icx / mpif90 / mpicc INTEL (ifx/icx) : oneAPI LLVM
-- The C compiler identification is IntelLLVM 2025.0.4
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /opt/intel/oneapi/compiler/2025.0/bin/icx - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- The CXX compiler identification is IntelLLVM 2025.0.4
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /opt/intel/oneapi/compiler/2025.0/bin/icpx - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The Fortran compiler identification is IntelLLVM 2025.0.4
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Check for working Fortran compiler: /opt/intel/oneapi/compiler/2025.0/bin/ifx - skipped
-- Retrieving git information...
-- git SHA : v4.6.1-0-gd66e442fccc04111067e29274c9f9eaccc3cef28-dirty
-- git diff : 62 files changed, 6300 insertions(+), 2951 deletions(-)
-- Setting project version to 4.6.1
-- Set default build type to Release
-- netCDF large file support not suppressed, if available it will be used
-- Found MPI_C: /opt/intel/oneapi/mpi/2021.14/lib/libmpi.so (found version "3.1")
-- Found MPI_Fortran: /opt/intel/oneapi/mpi/2021.14/lib/libmpifort.so (found version "3.1")
-- Found MPI: TRUE (found version "3.1") found components: Fortran C
-- Checking if MPI requires IPO
-- Found NETCDF_PROGRAM : /home/workhorse/WRFHYDRO_COUPLED_Intel/Libs/NETCDF/bin/nc-config
-- Found netCDF: /home/workhorse/WRFHYDRO_COUPLED_Intel/Libs/NETCDF/include (found version "4.9.2")
-- Found NETCDF-FORTRAN_PROGRAM : /home/workhorse/WRFHYDRO_COUPLED_Intel/Libs/NETCDF/bin/nf-config
-- Found netCDF-Fortran: /home/workhorse/WRFHYDRO_COUPLED_Intel/Libs/NETCDF/include (found version "4.6.1")
-- Found PNETCDF_PROGRAM : /home/workhorse/WRFHYDRO_COUPLED_Intel/Libs/grib2/bin/pnetcdf-config
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1")
-- Found ZLIB: /home/workhorse/WRFHYDRO_COUPLED_Intel/Libs/grib2/lib/libz.so (found version "1.3.1")
-- Found CURL: /usr/lib/x86_64-linux-gnu/libcurl.so (found version "8.5.0")
-- WRF_CONFIG : /home/workhorse/WRFHYDRO_COUPLED_Intel/WRFV4.6.1/_build/wrf_config.cmake
-- CMAKE_BUILD_TYPE : Release
-- WRF_CORE : ARW
-- WRF_NESTING : BASIC
-- WRF_CASE : EM_REAL
-- USE_DOUBLE : OFF
-- USE_MPI : ON
-- USE_OPENMP : OFF
-- USE_IPO : OFF
-- ENABLE_CHEM : OFF
-- ENABLE_CLM :
-- ENABLE_CMAQ : OFF
-- ENABLE_DFI_RADAR : OFF
-- ENABLE_HYDRO : ON
-- ENABLE_KPP : OFF
-- ENABLE_MARS : OFF
-- ENABLE_TERRAIN : OFF
-- ENABLE_TITAN : OFF
-- ENABLE_VENUS : OFF
-- USE_ALLOCATABLES : ON
-- wrfmodel : ON
-- GRIB1 : ON
-- INTIO : ON
-- KEEP_INT_AROUND : ON
-- LIMIT_ARGS : ON
-- FORCE_NETCDF_CLASSIC : OFF
-- BUILD_RRTMG_FAST : OFF
-- BUILD_RRTMK : OFF
-- BUILD_SBM_FAST : ON
-- SHOW_ALL_VARS_USED : OFF
-- WRFIO_NCD_NO_LARGE_FILE_SUPPORT : OFF
-- Performing Test Fortran_2003_IEEE
-- Performing Test Fortran_2003_IEEE - Success
-- Performing Test Fortran_2003_ISO_C
-- Performing Test Fortran_2003_ISO_C - Success
-- Performing Test Fortran_2003_FLUSH
-- Performing Test Fortran_2003_FLUSH - Success
-- Performing Test Fortran_2003_GAMMA
-- Performing Test Fortran_2003_GAMMA - Success
-- Performing Test FSEEKO64
-- Performing Test FSEEKO64 - Success
-- Adding [io_netcdfpar] to configuration
-- Adding [io_pnetcdf] to configuration
-- Setting gen_comms to RSL_LITE
-- Setting module_dm to RSL_LITE
-- Configuring done (2.7s)
-- Generating done (0.1s)
-- Build files have been written to: /home/workhorse/WRFHYDRO_COUPLED_Intel/WRFV4.6.1/_build
workhorse@workhorse-MS-7D91:~/WRFHYDRO_COUPLED_Intel/WRFV4.6.1$ ./compile_new -j 1
Using default build directory : /home/workhorse/WRFHYDRO_COUPLED_Intel/WRFV4.6.1/_build
[ 0%] Building Fortran object hydro/MPP/CMakeFiles/hydro_mpp.dir/CPL_WRF.F90.o
[ 0%] Building Fortran object hydro/MPP/CMakeFiles/hydro_mpp.dir/hashtable.F90.o
[ 0%] Building Fortran object hydro/MPP/CMakeFiles/hydro_mpp.dir/mpp_land.F90.o
[ 0%] Building Fortran object hydro/MPP/CMakeFiles/hydro_mpp.dir/module_mpp_GWBUCKET.F90.o
[ 0%] Building Fortran object hydro/MPP/CMakeFiles/hydro_mpp.dir/module_mpp_ReachLS.F90.o
[ 0%] Linking Fortran static library libhydro_mpp.a
[ 0%] Built target hydro_mpp
[ 0%] Building Fortran object hydro/utils/CMakeFiles/hydro_utils.dir/module_hydro_stop.F90.o
/home/workhorse/WRFHYDRO_COUPLED_Intel/WRFV4.6.1/hydro/utils/module_hydro_stop.F90(10): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MPI]
use module_mpp_land
------------^
compilation aborted for /home/workhorse/WRFHYDRO_COUPLED_Intel/WRFV4.6.1/hydro/utils/module_hydro_stop.F90 (code 1)
make[2]: *** [hydro/utils/CMakeFiles/hydro_utils.dir/build.make:88: hydro/utils/CMakeFiles/hydro_utils.dir/module_hydro_stop.F90.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2014: hydro/utils/CMakeFiles/hydro_utils.dir/all] Error 2
make: *** [Makefile:136: all] Error 2


I have tried using stock hydro, compiled hydro from the github and using configure new with the different options listed all above and nothing works. I'm stuck. Any help you can provide would be appreciated!
 
Top