Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

Compilation error (real.exe and wrf.exe not generated)

This post was from a previous version of the WRF&MPAS-A Support Forum. New replies have been disabled and if you have follow up questions related to this post, then please start a new thread from the forum home page.

hiroto

New member
Hello. The compilation of WRF does not work well, "wrf.exe" and "real.exe" are not generated. I am troubled because I do not understand the meaning of the error statement. Is there anyone who understands the problem? I have selected "dmpar" and "vortex following". "Configure file" and "Compile log file" are attached.
 

Attachments

  • configure.wrf
    19.6 KB · Views: 56
  • log.compile
    539.6 KB · Views: 65
Hi,
Can you let me know which version of WRF and which version of PGI you are using to compile this? Thanks!
 
Thank you for your reply. The WRF version is 3.3.1 and the gcc version is 4.4.1. The version of pgi is as follows.
-------------------------------------------------------- -----------------------------------------------
$pgfortran -V

pgfortran 11.10-0 64-bit target on x86-64 Linux -tp sandybridge
Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
Copyright 2000-2011, STMicroelectronics, Inc. All Rights Reserved.
-------------------------------------------------------- -----------------------------------------------


It is difficult to use the latest version due to personal circumstances. We look forward to your reply.
 
Hi,
Thanks for providing that information. Can you start by testing whether your compilers are compatible? Take a look at the first section of this "Compilation Tutorial" and run the tests that are provided to see if your environment passes.
 
Thank you for telling me how to deal with it. I'm sorry, I'm a beginner, so it will take some time to reply. I'll try my best.
 
No worries! Hopefully you are able to get past the problem and will be able to move forward soon.
 
Hello. I'm sorry to reply late. I think the compatibility test is going well. The operation history in the terminal is listed below. Please confirm.
 

Attachments

  • System Environment Tests.txt
    1.8 KB · Views: 48
  • System Environment Tests(which commands).txt
    1.4 KB · Views: 65
Yes, the fact that you got paths for each 'which' command, and 'SUCCESS' for the tests is good! I would advise to keep following the compilation tutorial and make sure to build the libraries exactly as is described on the web page, and then continue to the library compatibility tests. If you receive successes for those, then you can try to reconfigure/recompile. Make sure to issue a 'clean -a' in the WRF/ directory prior to reconfiguring the code.
 
Hello.The library compatibility test does not work. TEST2 works well, but TEST1 has an error. I have attached the input history in the terminal. Please tell me the cause and how to deal with it.
 

Attachments

  • Library Compatibility Tests(Fortran + C + NetCDF).txt
    3.5 KB · Views: 47
  • Library Compatibility Tests(Fortran + C + NetCDF + MPI).txt
    1.1 KB · Views: 62
Hi,
This seems to be some sort of problem with NetCDF, and obviously its compatibility with either C or gfortran. Unfortunately we do not develop or support any of those libraries or compilers. We can offer guidance to install them, but we don't have the resources to troubleshoot when problems arise. I would suggest discussing this with either a systems administrator at your institution, or perhaps reaching out to a support team for NetCDF. If you figure out the problem and don't mind posting the solution here, that would be helpful to any future users who may have the same issue.
 
understood. I'm only a member of a research institution, so I'd like to consult with the manager once. If it is resolved, we will contact you. Thank you for listening to the consultation!
 
Top