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

Error in opening the compiled module file. Check INCLUDE paths. [MODULE_WRF_TOP]

Holiday_W

New member
Hi,everyone
I found some errors when I tried to compile WRF.
And the information is:
master.f90(26): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MODULE_WRF_TOP]
USE module_wrf_top, ONLY : wrf_init
----------^
master.f90(26): error #6580: Name in only-list does not exist or is not accessible. [WRF_INIT]
USE module_wrf_top, ONLY : wrf_init
---------------------------------^
master.f90(27): error #6580: Name in only-list does not exist or is not accessible. [WRF_RUN]
USE module_wrf_top, ONLY : wrf_run
---------------------------------^
master.f90(28): error #6580: Name in only-list does not exist or is not accessible. [WRF_FINALIZE]
USE module_wrf_top, ONLY : wrf_finalize
---------------------------------^
compilation aborted for master.f90 (code 1)

It seems like the module_wrf_top.F is not exist, but I did confirmed that the include path is correct, and the module_wrf_top.F exist in /WRF/main.

My linux system is Ubuntu 22.04, compiler is ifort, netcdf is v4.4, openmpi is v2.0.2

Could you please help me to solve this error?

Thanks!
 
Hi,
Can you recompile, using the following commands:

./clean -a
./configure
./compile em_real -j 1 >& compile.log

and then attach your new configure.wrf and compile.log files? Thanks!
 
Hi,
Can you recompile, using the following commands:

./clean -a
./configure
./compile em_real -j 1 >& compile.log

and then attach your new configure.wrf and compile.log files? Thanks!
Hi!
What's mean about the '-j' and '1' in the command.It has any infulence for the simulation result?
 
Those commands just simply ask the model to compile using only a single processor. The default for compiling is with 2 processors. When we look at errors in the compile log, we want to see the first error printed because all other errors after could result from that initial error. Sometimes when using more than one processor, the errors will print out of order. This is why we sometimes request using only one processor when you are having issues. It will likely not fix the problem (though we have seen situations where it does), but will help us to understand the problem better. Compiling the code with a single compiler will not have any influence on simulation results.
 
Those commands just simply ask the model to compile using only a single processor. The default for compiling is with 2 processors. When we look at errors in the compile log, we want to see the first error printed because all other errors after could result from that initial error. Sometimes when using more than one processor, the errors will print out of order. This is why we sometimes request using only one processor when you are having issues. It will likely not fix the problem (though we have seen situations where it does), but will help us to understand the problem better. Compiling the code with a single compiler will not have any influence on simulation results.
Thank for your qiuck and detailed reply!
 
Top