WRF V4.0 compilation error on Ubuntu 20.10

All topics related to compiling WRF, including environment set-up, and library installation
Post Reply
Posts: 7
Joined: Sun Dec 13, 2020 3:22 pm

WRF V4.0 compilation error on Ubuntu 20.10

Post by davdg000 » Thu Mar 25, 2021 5:10 pm


I previously tried to compile the WRF v4.0 model on Debian with no success. Now I try to do it in Ubuntu 20.10, I see that there is greater support for this model in this Linux distribution. However I still have an error in the compilation, the log file shows me the following error:

f95: error: /media/david/f76d1947-7e73-4866-bd07-3d4ed04d702d/davdg/ubuntu/Build_WRF/WRF/external/fftpack/fftpack5/libfftpack.a: No existe el archivo o el directorio
f95: error: /media/david/f76d1947-7e73-4866-bd07-3d4ed04d702d/davdg/ubuntu/Build_WRF/WRF/frame/module_internal_header_util.o: No existe el archivo o el directorio
Command exited with non-zero status 1
0.03user 0.02system 0:00.06elapsed 104%CPU (0avgtext+0avgdata 3400maxresident)k
0inputs+0outputs (0major+4855minor)pagefaults 0swaps
make[1]: [Makefile:33: em_real] Error 1 (no tiene efecto)

Some messages are in Spanish because I have the distribution configured in this language. The error says that the libfftpack.a file cannot be found in the WRF / external / fftpack build folder.

I attach the log and configuration file.

I really appreciate the support you provide in this forum.
(989.04 KiB) Downloaded 5 times
(20.17 KiB) Downloaded 7 times

Posts: 2287
Joined: Wed Feb 14, 2018 9:21 pm

Re: WRF V4.0 compilation error on Ubuntu 20.10

Post by kwerner » Tue Mar 30, 2021 5:53 pm

The first error I see in the compile log is

Code: Select all


 1498 |   CALL ext_ncd_open_for_read_begin( DatasetName, Comm1, Comm2, SysDepInfo, DataHandle, Status )
      |                                    1
Error: Dummy argument ‘datasetname’ with INTENT(IN) in variable definition context (actual argument to INTENT = OUT/INOUT) at (1)
Did you make any modifications to the WRF code, or is this pristine out-of-the-box WRF code?

As for your other post, do you still need help there, or are you moving to Ubuntu for now?

Post Reply

Return to “WRF Compiling/Installation”