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

WRF 4.0 / Intel 2023 compilers - Problems building executables

lgalindo

New member
Hi,
We're trying to compile this old version of WRF using intel compilers and impi, this is intended to do a test environment from a similar production installation.
Compilation seems to be ok, but ld give some errors and compile ends without success.
I cannot figure out which one is the library/problem that we are hitting, all I found at log.compile are warnings.
If someone with experiencie could give us some guidance would be appreciated.

Currently Loaded Modules (new machine)
1) prun/2.2 6) mkl/2024.0 11) EasyBuild/4.9.1 16) netcdf-fortran/4.6.1 21) intel_ipp_intel64/2021.10
2) ohpc 7) intel/2023.2.1 12) cmake/3.24.2 17) netcdf/4.9.2 22) intel_ippcp_intel64/2021.9
3) oclfpga/2024.0.0 8) mpi/2021.11 13) compiler-rt/2023.2.1 18) phdf5/1.14.0 23) ifort/2024.0.0
4) tbb/2021.11 9) impi/2021.11 14) icc/2023.2.1 19) pnetcdf/1.12.3
5) compiler/2023.2.1 10) libfabric/1.18.0 15) netcdf-cxx/4.3.1 20) dev-utilities/2021.10.0

Compiling from source (versions as production env)
cmake-3.9.1.tar.gz hdf5-1.10.1.tar.gz libpng-1.6.32.tar.gz szip-2.1.1.tar.gz yasm-1.3.0.tar.gz hdf-eos5-2.0-src.tar.gz netcdf-4.4.1.tar.gz v4.9.2.tar.gz zlib-1.2.11.tar.gz hdf-4.2.16-2.tar.gz jasper-2.0.12.tar.gz netcdf-fortran-4.4.4.tar.gz libjpeg-turbo-1.5.2.tar.gz parallel-netcdf-1.8.1.tar.gz

Regards.
 

Attachments

  • log.compile.txt
    1 MB · Views: 3
  • configure.wrf.txt
    20.9 KB · Views: 3
Hi,
The first error message I see in the compile log is

Code:
landread.c(68): catastrophic error: cannot open source file "landread.c"
  #include <rpc/types.h>
                        ^

make[2]: [../configure.wrf:375: landread.o] Error 4 (ignored)

Take a look at this older post regarding a "landread.c" issue when compiling. Specifically see the very final post from "frediani."

You can first just try to go into the share/ directory and copy the landread.c.dist file to landread.c (i.e., cp landread.c.dist landread.c). I know this has worked for other users in the past. Just make sure to clean the code first (./clean -a), then copy the files, then reconfigure, then recompile. If that doesn't work, then you may need to follow some of the other suggestions.
 
Hi Kwerner,

Thanks for your guidance, i'm new to WRF and was stuck at that error.

I've copied landread.c.dist to landred.c and compiled correctly.
Error messages confused me, now I know that "Ignored" messages at log can't be ignored.

As I could understand a nesting option isn't available with this file, will discuss with researching team if is this strictly necessary.

Thanks again!
 
Top