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 in UBUNTU 24

Marcio Cataldi

New member
Dear all,

I'm trying to compile WRF 4.5.1 with Ubuntu 24, but the compilation goes into a kind of loop and doesn't finish. I had already compiled the same version two weeks ago on Ubuntu 22.

One of the things that caught my eye during the compilation was these messages:

make[27]: /bin/sh: Temporarily unavailable resource
/bin/sh: 1: cd: make[27]: [../configure.wrf:271: wrfio_nf] Error 127 (no effect)
can't cd to /DATA/Build_WRF/WRF-CHEM-KPP/external/fftpack/fftpack5
/bin/sh: 1: Cannot fork
make[21]: warning: -j2 is forced in the submake: task server mode is reset.
make[40]: *** No rule to build target 'archive'. Halt.
/bin/sh: 1: cd: can't cd to /DATOS/Build_WRF/WRF-CHEM-KPP/external/io_int
make[27]: /bin/sh: Temporarily unavailable resource
make[47]: warning: -j2 is forced in submake: task server mode is reset.
make[27]: [../configure.wrf:348: wrf_ioapi_includes] Error 127 (no effect)
make[54]: [../configure.wrf:320: fftpack] Error 2 (no effect)
make[42]: attention: -j2 is forced in the submake: task server mode is reset.
/bin/sh: 1: cd: can't cd to /DATOS/Build_WRF/WRF-CHEM-KPP/external/io_grib1
/bin/sh: 1: cd: can't cd to /DATA/Build_WRF/WRF/WRF-CHEM-KPP/external/io_grib1
make[39]: [../configure.wrf:348: wrf_ioapi_includes] Error 2 (no effect)
/bin/sh: 1: cd: can't cd to /DATOS/Build_WRF/WRF-CHEM-KPP/external/io_netcdf
make[40]: *** There is no rule to build target 'all'. Stop.
make[42]: *** No rule to build target 'archive'. High.
make[56]: [../configure.wrf:297: wrfio_grib1] Error 2 (has no effect)
make[30]: attention: force -j2 in the submake: restore

Has anyone experienced something similar?

Thanks
 
Thank you @islas,

I'm sending you the WRF compilation log and the beginning and end of the WRF-CHEM log. I couldn't compile either of them on UBUNU 24. I'm using the same configuration that worked on UBUNTU 22, I don't know if that could be it.
 
Adding the file, I believe it didn't go the first time.

The WRF-CHEM log was 16 Gb, that's why I'm only sending the beginning and the end... it didn't actually stop, it didn't even give an error, it was compiling for over 24 hours.

Many Thanks
 

Attachments

  • WRF_UBUNTU24.zip
    256.2 KB · Views: 3
It almost looks like it is infinitely re-entering frame and trying to compile the external directory. Is this a clean copy of v4.5.1? If one of the directories was accidentally removed I can see how that might cause an infinite loop.

Also the compile.log.WRF is quite interesting as there are no errors in the log, but the final output says otherwise. Are the executables present in that build in the main/ folder?
 
Top