Dear colleagues,
I'm trying to install the latest version of WRF-Chem (v4.4).
But I keep failing to make the executables (*.exe), and the log file says "Error in opening the compiled module file"
when compiling module_mosaic_addemiss.f90.
(The compile log file is attached below.)
I found someone posted a similar issue with a previous version of WRF-Chem (v4.0): viewtopic.php?f=83&t=2756
I tried to compile 'WRF without chemistry' following the link above, and the executables were built successfully.
So I guess it might be a chemistry problem..?
Could anyone please help me solve this issue?
Thank you.
Mike
WRF-Chem v4.4 installation - Error in opening the compiled module file
WRF-Chem v4.4 installation - Error in opening the compiled module file
- Attachments
-
- compile.log
- (1.64 MiB) Downloaded 8 times
-
- Posts: 257
- Joined: Thu Feb 27, 2020 10:58 pm
Re: WRF-Chem v4.4 installation - Error in opening the compiled module file
Hi Mike,
This could likely be a bug that was introduced with the latest version, but may depend on your compiler options. Could you please send me your configure.wrf file?
And just to be sure, you did not make any changes to the source code?
Thanks.
Jordan
This could likely be a bug that was introduced with the latest version, but may depend on your compiler options. Could you please send me your configure.wrf file?
And just to be sure, you did not make any changes to the source code?
Thanks.
Jordan
-
- Posts: 257
- Joined: Thu Feb 27, 2020 10:58 pm
Re: WRF-Chem v4.4 installation - Error in opening the compiled module file
Hi Mike,
Please change the line in chem/depend.chem from
module_mosaic_addemiss.o: module_data_mosaic_asect.o module_data_sorgam.o
to
module_mosaic_addemiss.o: module_data_mosaic_asect.o module_data_sorgam.o module_gocart_dust.o
EDIT:: You can alternately successfully compile the model by issuing the compile command twice; i.e., if your first attempt at compilation fails, issue the compile command exactly as before for a second time and the model should compile
Thank you for bring this to our attention.
Jordan
Please change the line in chem/depend.chem from
module_mosaic_addemiss.o: module_data_mosaic_asect.o module_data_sorgam.o
to
module_mosaic_addemiss.o: module_data_mosaic_asect.o module_data_sorgam.o module_gocart_dust.o
EDIT:: You can alternately successfully compile the model by issuing the compile command twice; i.e., if your first attempt at compilation fails, issue the compile command exactly as before for a second time and the model should compile
Thank you for bring this to our attention.
Jordan
Re: WRF-Chem v4.4 installation - Error in opening the compiled module file
Hi Jordan,
I changed the line in depend.chem following your suggestion, and the problem solved!
Thank you so much!
Mike
I changed the line in depend.chem following your suggestion, and the problem solved!
Thank you so much!
Mike