Compiling WRF-Chem

Post Reply
farahani
Posts: 10
Joined: Fri Jan 17, 2020 3:06 pm

Compiling WRF-Chem

Post by farahani » Tue Feb 25, 2020 9:57 pm

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
wrf_compilation.rtf
(6.63 KiB) Downloaded 6 times
compile.log
(1.51 MiB) Downloaded 5 times

mcurry
Posts: 39
Joined: Mon Oct 29, 2018 5:33 pm
Location: Boulder, Co

Re: Compiling WRF-Chem

Post by mcurry » Tue Feb 25, 2020 10:29 pm

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.
NCAR|MMM

farahani
Posts: 10
Joined: Fri Jan 17, 2020 3:06 pm

Re: Compiling WRF-Chem

Post by farahani » Wed Feb 26, 2020 1:14 pm

Where can I find the MPAS Forum?

mcurry
Posts: 39
Joined: Mon Oct 29, 2018 5:33 pm
Location: Boulder, Co

Re: Compiling WRF-Chem

Post by mcurry » Wed Feb 26, 2020 4:18 pm

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.
NCAR|MMM

beinnnnn
Posts: 6
Joined: Thu Jan 09, 2020 12:04 pm

Re: Compiling WRF-Chem

Post by beinnnnn » Mon Jun 29, 2020 4:20 am

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.05 KiB) Downloaded 4 times

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

Re: Compiling WRF-Chem

Post by jordanschnell » Thu Jul 02, 2020 4:22 pm

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

beinnnnn
Posts: 6
Joined: Thu Jan 09, 2020 12:04 pm

Re: Compiling WRF-Chem

Post by beinnnnn » Wed Jul 08, 2020 10:08 am

Dear Jordan,

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

Best,
Bessie

Post Reply

Return to “Running”