Page 1 of 1

Compiling WRF-Chem

Posted: Tue Feb 25, 2020 9:57 pm
by farahani
Hello all,

I tried to compile WRF-Chm 3.9 and I attached my compilation script




But I got the error, I also attached my log.file

The errors are:



make[1]: *** [y.tab.c] Error 127

make: *** [cb05_sorg_aq_Integrator.f90] Error 127

make: *** [all] Error 2

make: *** [cb05_sorg_vbs_aq_Integrator.f90] Error 127

make: *** [all] Error 2

make: *** [cbm4_Integrator.f90] Error 127

make: *** [all] Error 2

make: *** [cbmz_bb_Integrator.f90] Error 127

make: *** [all] Error 2

make: *** [cbmz_mosaic_Integrator.f90] Error 127

make: *** [all] Error 2

make: *** [crimech_Integrator.f90] Error 127

make: *** [all] Error 2

make: *** [cri_mosaic_4bin_aq_Integrator.f90] Error 127

make: *** [all] Error 2

make: *** [cri_mosaic_8bin_aq_Integrator.f90] Error 127

make: *** [all] Error 2

make: *** [gocartracm_Integrator.f90] Error 127

make: *** [all] Error 2

make: *** [mozart_mosaic_4bin_aq_Integrator.f90] Error 127

make: *** [all] Error 2

make: *** [mozart_mosaic_4bin_Integrator.f90] Error 127

make: *** [all] Error 2

make: *** [mozart_Integrator.f90] Error 127

make: *** [all] Error 2

make: *** [mozcart_Integrator.f90] Error 127

make: *** [all] Error 2

make: *** [nmhc9_Integrator.f90] Error 127

make: *** [all] Error 2

make: *** [racm_esrlsorg_aqchem_Integrator.f90] Error 127

make: *** [all] Error 2

make: *** [racm_esrlsorg_Integrator.f90] Error 127

make: *** [all] Error 2

make: *** [racm_mim_Integrator.f90] Error 127

make: *** [all] Error 2

make: *** [racmpm_Integrator.f90] Error 127

make: *** [all] Error 2

make: *** [racm_Integrator.f90] Error 127

make: *** [all] Error 2

make: *** [racm_soa_vbs_aqchem_Integrator.f90] Error 127

make: *** [all] Error 2

make: *** [racm_soa_vbs_Integrator.f90] Error 127

make: *** [all] Error 2

make: *** [racmsorg_aqchem_Integrator.f90] Error 127

make: *** [all] Error 2

make: *** [racmsorg_Integrator.f90] Error 127

make: *** [all] Error 2

make: *** [radm2_Integrator.f90] Error 127

make: *** [all] Error 2

make: *** [radm2sorg_Integrator.f90] Error 127

make: *** [all] Error 2

make: *** [saprc99_mosaic_4bin_vbs2_Integrator.f90] Error 127

make: *** [all] Error 2

make: *** [saprc99_mosaic_8bin_vbs2_aq_Integrator.f90] Error 127

make: *** [all] Error 2

make: *** [saprc99_Integrator.f90] Error 127

make: *** [all] Error 2



have similar error with Cheyenne supercomputer. for Cheyenne I just did:
export WRF_EM_CORE=1
export WRF_CHEM=1
export WRF_KPP=1
export FLEX_LIB_DIR='/usr/lib64'
export YACC='/usr/bin/yacc –d'

The address on Cheyenne is /glade/scratch/aamiri/WRF_3_9_1/WRFV3

Thanks,

Ana

Re: Compiling WRF-Chem

Posted: Tue Feb 25, 2020 10:29 pm
by mcurry
This post was posted in an MPAS Forum. I have been moved it to the appropriate WRF-Chem forum. Someone will be respond with answer to your topic as soon as possible.

Re: Compiling WRF-Chem

Posted: Wed Feb 26, 2020 1:14 pm
by farahani
Where can I find the MPAS Forum?

Re: Compiling WRF-Chem

Posted: Wed Feb 26, 2020 4:18 pm
by mcurry
The MPAS forums can be found here: https://forum.mmm.ucar.edu/phpBB3/viewforum.php?f=9

while the WRF-Chem forums can be found here: https://forum.mmm.ucar.edu/phpBB3/viewforum.php?f=81.

And lastly list of all the forums (including the MPAS and WRF-Chem forums above) can be found here: https://forum.mmm.ucar.edu/phpBB3/index.php.

Re: Compiling WRF-Chem

Posted: Mon Jun 29, 2020 4:20 am
by beinnnnn
Dear Ana,

Hi.

I am now facing similar problems that you have encountered earlier this year when compiling WRF-Chem. I am wondering whether you have solved these problems? Could you help me with it? Attached is the log file for my compilation. I am using a Centos system. Thanks a lot!

Looking forward to your reply.

Best regards,
Bessie

Re: Compiling WRF-Chem

Posted: Thu Jul 02, 2020 4:22 pm
by jordanschnell
Hi Bessie,

This looks to be your problem:

/home/Bessie/software/install/WRFV3/chem/KPP/kpp/kpp-2.1/bin/kpp: error while loading shared libraries: libfl.so.2: cannot open shared object file: No such file or directory

This is the FLEX library - Please make sure it is located here: /usr/lib64

You also likely need to add an additional slash (i.e., /usr/lib64/ )


Jordan

Re: Compiling WRF-Chem

Posted: Wed Jul 08, 2020 10:08 am
by beinnnnn
Dear Jordan,

Thanks for your help. I solved this problem after reinstalling an older version of FLEX.

Best,
Bessie