WRF v4 Compilation error

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

WRF v4 Compilation error

Postby rejoyce17 » Wed Feb 27, 2019 3:28 pm

I am trying to compile em_les case on linux ubuntu version 18. I selected dmpar for GNU (gfortran/gcc) for configuration (option 34) and am now trying to compile using the em_les case using the following commands:

./compile em_les >& log.compile

The error that I get on the log is:

None of WRF_EM_CORE, WRF_NMM_CORE,
specified in shell environment....

==============================================================================================

V4.0.3

Compiling: WRF_EM_CORE

Linux if-mcs-1290u 4.15.0-45-generic #48-Ubuntu SMP Tue Jan 29 16:28:13 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

GNU Fortran (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


==============================================================================================

setting parallel make -j 2

==============================================================================================

The following indicate the compilers selected to build the WRF system

Serial Fortran compiler (mostly for tool generation):
which SFC
/usr/bin/gfortran

Serial C compiler (mostly for tool generation):
which SCC
/usr/bin/gcc

Fortran compiler for the model source code:
which FC
Will use 'time' to report timing information

C compiler for the model source code:
which CC
Makefile:53: recipe for target 'configcheck' failed
make: *** [configcheck] Error 1

I am not sure what is going wrong--I have already done all of the environment tests to make sure I have the correct C and fortran compilers. Is this an issue with the compile option that I chose to use?

Thanks.
rejoyce17
 
Posts: 3
Joined: Wed Feb 27, 2019 3:20 pm

Re: WRF v4 Compilation error

Postby ajileshparolla » Sat May 04, 2019 8:02 am

Did you fix that issue? What was the problem?
ajileshparolla
 
Posts: 4
Joined: Tue Jul 19, 2016 6:43 am

Re: WRF v4 Compilation error

Postby rejoyce17 » Wed Oct 09, 2019 11:59 am

I didn't figure it out, I instead wiped the computer and re-built using a real case, and it worked fine for me then. Not sure what the issue for building the ideal case was. Sorry!
rejoyce17
 
Posts: 3
Joined: Wed Feb 27, 2019 3:20 pm

Re: WRF v4 Compilation error

Postby hasrat » Mon Feb 15, 2021 7:53 am

hy ,
I was trying to compiling the WRF 4.2.2 with GNU compiler but i am not getting any executable.
All the versions of ;libraries and libraries test are done successfully.


/usr/bin/ld: cannot find -lhdf5hl_fortran
/usr/bin/ld: cannot find -lhdf5_hl
/usr/bin/ld: cannot find -lhdf5_fortran
/usr/bin/ld: cannot find -lhdf5
collect2: error: ld returned 1 exit status
0.09user 0.08system 0:00.17elapsed 101%CPU (0avgtext+0avgdata 16612maxresident)k
0inputs+8outputs (0major+19943minor)pagefaults 0swaps
make[1]: [em_ideal] Error 1 (ignored)
make[1]: Leaving directory `/run/media/mss/1/Build_WRF/WRF-4.2.2/main'
( cd test/em_b_wave ; /bin/rm -f wrf.exe ; ln -s ../../main/wrf.exe . )
( cd test/em_b_wave ; /bin/rm -f ideal.exe ; ln -s ../../main/ideal.exe . )
( cd test/em_b_wave ; /bin/rm -f README.namelist ; ln -s ../../run/README.namelist . )
( cd run ; /bin/rm -f ideal.exe ; ln -s ../main/ideal.exe . )
( cd run ; if test -f namelist.input ; then \
/bin/cp -f namelist.input namelist.input.backup.`date +%Y-%m-%d_%H_%M_%S` ; fi ; \
/bin/rm -f namelist.input ; cp ../test/em_b_wave/namelist.input . )
( cd run ; /bin/rm -f input_jet ; ln -s ../test/em_b_wave/input_jet . )

==========================================================================
build started: Mon Feb 15 11:41:58 IST 2021
build completed: Mon Feb 15 11:50:11 IST 2021

---> Problems building executables, look for errors in the build log <---
hasrat
 
Posts: 1
Joined: Mon Feb 15, 2021 3:27 am


Return to Installation

Who is online

Users browsing this forum: No registered users and 14 guests