(RESOLVED) No executables- WRF Model Version 4.2.2 Compiling

All topics related to compiling WRF, including environment set-up, and library installation
Post Reply
samurda
Posts: 3
Joined: Fri Jan 22, 2021 5:46 am

(RESOLVED) No executables- WRF Model Version 4.2.2 Compiling

Post by samurda » Fri Jan 22, 2021 6:24 am

Hi guys,

I tried to compile the WRF using "./compile em_real >& log.compile && ls -ls main/*.exe" command and got an error massage as "ls: cannot access 'main/*.exe': No such file or directory".

Next, I checked the log.compile file and the following error was in the log.compile file
---> Problems building executables, look for errors in the build log <---

Then I tried to find the first Error inside the log.compile file and I couldn't find the Error.[/b][/b][/b]

Please help me
Attachments
log.compile.txt
log.compile
(867.96 KiB) Downloaded 18 times
configure.wrf.txt
configure.wrf
(20.3 KiB) Downloaded 12 times

kwerner
Posts: 2287
Joined: Wed Feb 14, 2018 9:21 pm

Re: No executables- WRF Model Version 4.2.2 Compiling

Post by kwerner » Thu Jan 28, 2021 5:38 pm

Hi,
Can you do the following steps:
  • ./clean -a
  • setenv J "-j 1"

(or if you're using bash, export J="-j 1")
  • ./configure
  • ./compile em_real >& log.compile
and then send the new log.compile file and configure.wrf? Thanks!
NCAR/MMM

samurda
Posts: 3
Joined: Fri Jan 22, 2021 5:46 am

Re: No executables- WRF Model Version 4.2.2 Compiling

Post by samurda » Sun Jan 31, 2021 7:14 am

Dear Kwerner,

Thank you for quick respond and sorry for my delay. As you mentioned, I re ran the programme as,

./clean -a
export J="-j 1"
./configure
./compile em_real >& log.compile

But no executables in the main directory this time also. I have attached new log.compile file and configure.wrf file to check and get your comments.
Attachments
log.compile.txt
(988.34 KiB) Downloaded 17 times
configure.wrf.txt
(20.34 KiB) Downloaded 13 times

kwerner
Posts: 2287
Joined: Wed Feb 14, 2018 9:21 pm

Re: No executables- WRF Model Version 4.2.2 Compiling

Post by kwerner » Wed Feb 03, 2021 12:26 am

Thanks for sending those. If you haven't already, can you go through this page from the beginning, to ensure that your environment is set-up correctly and that your compilers and libraries are all compatible with each other? Although you likely already have your libraries built, I would suggest rebuilding them, based on the instructions in this guide. This will help to ensure better success. Let me know what happens after that!
NCAR/MMM

samurda
Posts: 3
Joined: Fri Jan 22, 2021 5:46 am

Re: No executables- WRF Model Version 4.2.2 Compiling

Post by samurda » Mon Feb 08, 2021 1:29 pm

I rebuilt the libraries and performed tests which are mentioned in the https://www2.mmm.ucar.edu/wrf/OnLineTut ... torial.php. Then I was able to successfully compile the WRF programme with the relevant executables without any problem.

Thank you for your comments.

jayesatvik
Posts: 9
Joined: Thu Jan 21, 2021 3:34 pm

Re: No executables- WRF Model Version 4.2.2 Compiling

Post by jayesatvik » Mon Feb 08, 2021 4:23 pm

The culprit was Ubuntu.. I reinstalled Ubuntu, reinstalled library and recompiled without error. I'll run the test model now. Thanks everyone for the support.

Post Reply

Return to “WRF Compiling/Installation”