WRF-Chem v4.4 installation - Error in opening the compiled module file

Post Reply
mike_c
Posts: 2
Joined: Mon May 02, 2022 5:52 am

WRF-Chem v4.4 installation - Error in opening the compiled module file

Post by mike_c » Mon May 02, 2022 7:18 am

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
Attachments
compile.log
(1.64 MiB) Downloaded 8 times

jordanschnell
Posts: 257
Joined: Thu Feb 27, 2020 10:58 pm

Re: WRF-Chem v4.4 installation - Error in opening the compiled module file

Post by jordanschnell » Tue May 03, 2022 5:13 pm

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

jordanschnell
Posts: 257
Joined: Thu Feb 27, 2020 10:58 pm

Re: WRF-Chem v4.4 installation - Error in opening the compiled module file

Post by jordanschnell » Tue May 03, 2022 7:27 pm

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

mike_c
Posts: 2
Joined: Mon May 02, 2022 5:52 am

Re: WRF-Chem v4.4 installation - Error in opening the compiled module file

Post by mike_c » Fri May 06, 2022 2:11 am

Hi Jordan,

I changed the line in depend.chem following your suggestion, and the problem solved!

Thank you so much!

Mike

Post Reply

Return to “Gas Chemistry and KPP”