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

Compilation error of WRF 4D-VAR v4.0&4.1

This post was from a previous version of the WRF&MPAS-A Support Forum. New replies have been disabled and if you have follow up questions related to this post, then please start a new thread from the forum home page.

linnnsu

New member
Hi,

I am trying to compile WRF 4D-VAR v4.0 and v4.1 but failed for both, the following error message

PGF90-F-0004-Unable to open MODULE file da_module_driver_constants.mod (da_control.f: 7)
PGF90/x86-64 Linux 16.9-0: compilation aborted
real 0m0.119s
user 0m0.083s
sys 0m0.033s
make[1]: [da_control.o] Error 2 (ignored)

popped out after the command ./compile all_wrfvar, it seems the needed module file was not found. There is no problem with compilation of WRF, WRF 3D-VAR and WRFPLUS.

The complete compilation log is attached. It is very appreciated if anyone could help with this. Thanks in advance.
 

Attachments

  • compile.log
    349.6 KB · Views: 69
Hello,
I see that you are using the parallel build functionality (-j 2). Do you mind cleaning and recompiling after setting the environment variable:

setenv J '-j 1'

Also check at the top of the compile log which will tell you the effective value for the -j flag.

It is possible the parallel build is causing the issue you see. We have seen this same issue internally at MMM, but have not had time to fix it.

Thanks,
JJ
 
Top