WRF-Chem compilation error

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

WRF-Chem compilation error

Post by farahani » Wed Mar 04, 2020 4:29 pm

Hello,

I try to compile WRF-Chem 3.9.1 on Cheyenne and here is my settings in .bashrc:

export WRF_CHEM=1
export WRF_EM_CORE=1
export WRF_KPP=1
export WRF_NMM_CORE=0
export WRFIO_NCD_LARGE_FILE_SUPPORT=1
export FLEX_LIB_DIR="/usr/lib64"
export YACC="/usr/bin/yacc -d"

and I did
./clean -a
rm compile.log
./configure -D
./compile -j 4 em_real >& compile.log &

But I got these errors:

nup_em.f90(68): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MODULE_INITIALIZE_REAL]
real_em.f90(10): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MODULE_INITIALIZE_REAL]
real_em.f90(10): error #6580: Name in only-list does not exist or is not accessible. [WRFU_INITIALIZE]
real_em.f90(10): error #6580: Name in only-list does not exist or is not accessible. [FIND_MY_PARENT]
real_em.f90(10): error #6580: Name in only-list does not exist or is not accessible. [FIND_MY_PARENT2]
nup_em.f90(68): error #6580: Name in only-list does not exist or is not accessible. [WRFU_INITIALIZE]
real_em.f90(282): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MODULE_INITIALIZE_REAL]
real_em.f90(367): error #6404: This name does not have a type, and must have an explicit type. [INTERNAL_TIME_LOOP]
make[1]: [nup_em.o] Error 1 (ignored)
make[1]: [real_em.o] Error 1 (ignored)
ifort: error #10236: File not found: 'real_em.o'
make[1]: [em_real] Error 1 (ignored)
---> Problems building executables, look for errors in the build log <---


Any suggestion? my address on Cheyenne is:
/glade/scratch/aamiri/ana/WRFV3

Thank you,
Ana

FrieCookies
Posts: 16
Joined: Mon Mar 30, 2020 7:02 pm

Re: WRF-Chem compilation error

Post by FrieCookies » Wed Oct 14, 2020 1:11 pm

Hello Ana,

(I imagine you've solved this by now, but I wanted to leave the solution for future users (including myself) who encounter this error)

I think this issue is resolved by removing -j or setting -j to 1. For some reason compiling on multiple processors doesn't always work.

Alex
Alexander Frie
University of Minnesota

Sylvia
Posts: 11
Joined: Mon Dec 14, 2020 4:34 am

Re: WRF-Chem compilation error

Post by Sylvia » Mon Apr 12, 2021 4:39 am

Hi Alex,

Thank you for your reply! I also met this error, you helped me!

Post Reply

Return to “Running”