Compile WRF em_real Build Log error

All things involving the setup (compiling, NetCDF, etc.) of the WRF Model itself.

Compile WRF em_real Build Log error

Postby firat » Wed Apr 24, 2019 10:18 am

Hello dear Users,

I am trying to install WRFV3.8 and while making compile ''./compile em_real >& compile.log & ''
ı have an error like below

frat@frat-Inspiron-5558:~/Build_WRF/WRFV3$ ./compile em_real >& compile.log &
[1] 13499
frat@frat-Inspiron-5558:~/Build_WRF/WRFV3$ tail -f compile.log

after writing these on terminal ı have a compile.log file like below (ı couldn't write all log file here because it is so long)

file:///home/frat/Build_WRF/WRFV3/compile.log

and then as a final ı have the error

---> Problems building executables, look for errors in the build log <---

While installing I used the installation steps in here ( https://github.com/camposdelano/configu ... rver-16.04 )

By the way my all tests are successful (system environment and library tests) without only csh test (unknown variable modifier error)

So how can ı fix this error ? I can not pass this step during long time. So if someone knows how ı can fix it, please help me

thank you so much
Last edited by firat on Mon May 06, 2019 8:06 am, edited 2 times in total.
firat
 
Posts: 8
Joined: Thu Apr 18, 2019 10:03 am

Re: Compile em_real Build Log error

Postby floktev » Thu Apr 25, 2019 4:14 am

Hi,

That's the end of log that states that it doesn't compiled right.

Try to make
Code: Select all
cat compile.log | grep -i fatal
to see where in log the fatal errors appear first time.
From the fact is took only a second to get an error, seems that this is somthing connected to paths and places you mention in configure.wr file.
floktev
 
Posts: 3
Joined: Thu Apr 25, 2019 3:56 am

Re: Compile em_real Build Log error

Postby firat » Mon May 06, 2019 7:47 am

Hi floktev

Thank you so much for the answer. Actually after writing the codes below

$ ./compile em_real >& compile.log &
$ tail -f compile.log

after writing these my compile.log file is like below (it is so long so ı can not write all here)

file:///home/frat/Build_WRF/WRFV3/compile.log

and then as a final 'Problems building executables, look for errors in the build log' error

ı tried what you suggested like below

frat@frat-Inspiron-5558:~/Build_WRF/WRFV3$ cat compile.log | grep -i fatal
frat@frat-Inspiron-5558:~/Build_WRF/WRFV3$ tail -f compile.log
/bin/rm -f namelist.input ; cp ../test/em_real/namelist.input . )

==========================================================================
build started: Pzt May 6 14:39:58 +03 2019
build completed: Pzt May 6 14:40:16 +03 2019

---> Problems building executables, look for errors in the build log <---

but it didn't work again

I used the installation steps in here ( https://github.com/camposdelano/configu ... rver-16.04 )

By the way my all tests are successful (system environment and library tests) without only csh test (unknown variable modifier error)

Can you tell me how can ı fix this problem ? or what ı should do ?

thank you so much
firat
 
Posts: 8
Joined: Thu Apr 18, 2019 10:03 am

Re: Compile WRF em_real Build Log error

Postby firat » Tue May 07, 2019 8:12 am

My compile.log file errors starts like this

ESMF_Fraction.b > ESMF_Fraction.f
/bin/sh: 1: /lib/cpp: not found
Makefile:56: recipe for target 'ESMF_Fraction.o' failed
make[3]: [ESMF_Fraction.o] Error 127 (ignored)
/bin/rm -f ESMF_Fraction.b
/lib/cpp -P -I/home/frat/Build_WRF/WRFV3/inc -I. -DEM_CORE=1 -DNMM_CORE=0 -DNMM_MAX_DIM=2600 -DCOAMPS_CORE=0 -DDA_CORE=0 -DEXP_CORE=0 -DIWORDSIZE=4 -DDWORDSIZE=8 -DRWORDSIZE=4 -DLWORDSIZE=4 -DNONSTANDARD_SYSTEM_SUBR -DWRF_USE_CLM -DDM_PARALLEL -DNETCDF -DUSE_ALLOCATABLES -DGRIB1 -DINTIO -DKEEP_INT_AROUND -DLIMIT_ARGS -DCONFIG_BUF_LEN=65536 -DMAX_DOMAINS_F=21 -DMAX_HISTORY=25 -DNMM_NEST=0 -traditional -I. ESMF_Base.b > ESMF_Base.f
/bin/sh: 1: /lib/cpp: not found
Makefile:56: recipe for target 'ESMF_Base.o' failed
make[3]: [ESMF_Base.o] Error 127 (ignored)
/bin/rm -f ESMF_Base.b
gfortran -w -ffree-form -ffree-line-length-none -fconvert=big-endian -frecord-marker=4 -o ESMF_Fraction.o -c ESMF_Fraction.f
gfortran -w -ffree-form -ffree-line-length-none -fconvert=big-endian -frecord-marker=4 -o ESMF_Base.o -c ESMF_Base.f
/bin/rm -f ESMF_BaseTime.o
sed -e "/\!.*'/s/'//g" ESMF_BaseTime.F90 > ESMF_BaseTime.b
/lib/cpp -P -I/home/frat/Build_WRF/WRFV3/inc -I. -DEM_CORE=1 -DNMM_CORE=0 -DNMM_MAX_DIM=2600 -DCOAMPS_CORE=0 -DDA_CORE=0 -DEXP_CORE=0 -DIWORDSIZE=4 -DDWORDSIZE=8 -DRWORDSIZE=4 -DLWORDSIZE=4 -DNONSTANDARD_SYSTEM_SUBR -DWRF_USE_CLM -DDM_PARALLEL -DNETCDF -DUSE_ALLOCATABLES -DGRIB1 -DINTIO -DKEEP_INT_AROUND -DLIMIT_ARGS -DCONFIG_BUF_LEN=65536 -DMAX_DOMAINS_F=21 -DMAX_HISTORY=25 -DNMM_NEST=0 -traditional -I. ESMF_BaseTime.b > ESMF_BaseTime.f
/bin/sh: 1: /lib/cpp: not found
Makefile:56: recipe for target 'ESMF_BaseTime.o' failed
make[3]: [ESMF_BaseTime.o] Error 127 (ignored)
/bin/rm -f ESMF_BaseTime.b
gfortran -w -ffree-form -ffree-line-length-none -fconvert=big-endian -frecord-marker=4 -o ESMF_BaseTime.o -c ESMF_BaseTime.f
/bin/rm -f ESMF_Calendar.o
sed -e "/\!.*'/s/'//g" ESMF_Calendar.F90 > ESMF_Calendar.b
/lib/cpp -P -I/home/frat/Build_WRF/WRFV3/inc -I. -DEM_CORE=1 -DNMM_CORE=0 -DNMM_MAX_DIM=2600 -DCOAMPS_CORE=0 -DDA_CORE=0 -DEXP_CORE=0 -DIWORDSIZE=4 -DDWORDSIZE=8 -DRWORDSIZE=4 -DLWORDSIZE=4 -DNONSTANDARD_SYSTEM_SUBR -DWRF_USE_CLM -DDM_PARALLEL -DNETCDF -DUSE_ALLOCATABLES -DGRIB1 -DINTIO -DKEEP_INT_AROUND -DLIMIT_ARGS -DCONFIG_BUF_LEN=65536 -DMAX_DOMAINS_F=21 -DMAX_HISTORY=25 -DNMM_NEST=0 -traditional -I. ESMF_Calendar.b > ESMF_Calendar.f
/bin/sh: 1: /lib/cpp: not found
Makefile:56: recipe for target 'ESMF_Calendar.o' failed
make[3]: [ESMF_Calendar.o] Error 127 (ignored)
/bin/rm -f ESMF_Calendar.b
gfortran -w -ffree-form -ffree-line-length-none -fconvert=big-endian -frecord-marker=4 -o ESMF_Calendar.o -c ESMF_Calendar.f
/bin/rm -f ESMF_TimeInterval.o
/bin/rm -f ESMF_Stubs.o
sed -e "/\!.*'/s/'//g" ESMF_TimeInterval.F90 > ESMF_TimeInterval.b
sed -e "/\!.*'/s/'//g" ESMF_Stubs.F90 > ESMF_Stubs.b
/lib/cpp -P -I/home/frat/Build_WRF/WRFV3/inc -I. -DEM_CORE=1 -DNMM_CORE=0 -DNMM_MAX_DIM=2600 -DCOAMPS_CORE=0 -DDA_CORE=0 -DEXP_CORE=0 -DIWORDSIZE=4 -DDWORDSIZE=8 -DRWORDSIZE=4 -DLWORDSIZE=4 -DNONSTANDARD_SYSTEM_SUBR -DWRF_USE_CLM -DDM_PARALLEL -DNETCDF -DUSE_ALLOCATABLES -DGRIB1 -DINTIO -DKEEP_INT_AROUND -DLIMIT_ARGS -DCONFIG_BUF_LEN=65536 -DMAX_DOMAINS_F=21 -DMAX_HISTORY=25 -DNMM_NEST=0 -traditional -I. ESMF_Stubs.b > ESMF_Stubs.f
/bin/sh: 1: /lib/cpp: not found
Makefile:56: recipe for target 'ESMF_Stubs.o' failed
make[3]: [ESMF_Stubs.o] Error 127 (ignored)

what ı should do for fixxing these errors ?
firat
 
Posts: 8
Joined: Thu Apr 18, 2019 10:03 am


Return to Installation

Who is online

Users browsing this forum: No registered users and 5 guests