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

Compiling WRF-Chem

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.

farahani

New member
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
 

Attachments

  • compile.log
    1.5 MB · Views: 70
  • wrf_compilation.rtf
    6.6 KB · Views: 66
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.
 
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
 

Attachments

  • checkwrfchem.log
    949 KB · Views: 73
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
 
Dear Jordan,

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

Best,
Bessie
 
Top