hopitigala
New member
What is the compatible gcc version for WRF 4.4
Anything greater then 6.0 I believe.What is the compatible gcc version for WRF 4.4
Thanks for your response. My system is CentOS Linux release 7.9.2009. The original packaged version of gcc with the system is gcc 4.8.5. I installed gcc-11.3.0 and it failed to compile WRF 4.4.Anything greater then 6.0 I believe.
However depending on which operating system if you have GNU 10 or greater there are extra steps to be taken.
CentOS Linux is tricky to install WRF on. I'm still trying to get it to work. Is there a option for Debian Linux kernels?Thanks for your response. My system is CentOS Linux release 7.9.2009. The original packaged version of gcc with the system is gcc 4.8.5. I installed gcc-11.3.0 and it failed to compile WRF 4.4.
So you will need all the GNU packages to be 11.3.0. So gfortran, g++, and gcc.Thanks for your response. My system is CentOS Linux release 7.9.2009. The original packaged version of gcc with the system is gcc 4.8.5. I installed gcc-11.3.0 and it failed to compile WRF 4.4.
Really appreciate your help. First, this whole thing started with the following statement while WRF 4.4 (cloned from git) is configured.So you will need all the GNU packages to be 11.3.0. So gfortran, g++, and gcc.
Since GNU is greater then v10 you will need to recompile your library packages to fix this issue.
How to fix "Error:Rank mismatch between actual argument at (1) and actual argument at (2)"
Good morning everyone, I am writing this post here so that everyone can benefit from my struggles. First a little background information on this error. In GNU 9 there were flags for gfortran that were hidden in the system code that were turn on by default. These flags allowed for old fortran...forum.mmm.ucar.edu
Did you install all the required libraries to run wrf or just git cloned it and then tried to run it?Really appreciate your help. First, this whole thing started with the following statement while WRF 4.4 (cloned from git) is configured.
There are some IEEE Fortran 2003 features in WRF that your compiler does not
recognize. The IEEE function calls have been removed.
I am pretty new to WRF and I read somewhere on this site someone posted that this message is due to GCC version used in the system. Is that true?
I followed all the steps. All the tests listed there were successful. And I followed the YouTube video (Did you install all the required libraries to run wrf or just git cloned it and then tried to run it?
Or did you follow these steps listed here?
okay that's good to know. That eliminates some of the more common errors.I followed all the steps. All the tests listed there were successful. And I followed the YouTube video () as well.
I complied for em_les case. See the attached files. Thanks for your help in advance. GCC version is 4.8.5.okay that's good to know. That eliminates some of the more common errors.
Try these commands for compiling WRF
./clean -a
./configure | tee configure.log
./compile em_real | tee config.log
Those should make some log files and show what's going on in the terminal. After they are made can you attach them to the thread and ill look at them.
I'll take a look at it in a few hours as it's night hereHi Will,
I did another compilation with GCC version 6.5.0. The log files are attached here.
Okay thanks. take your time.I'll take a look at it in a few hours as it's night here
Not seeing anything myself but maybe @Ming Chen @kwerner might see something I missed. Sorry I'm not very familiar with em_les installationsOkay thanks. take your time.
Thanks for your help so far. All the tests were successful. I compiled it using multiple processors (4). Could that go wrong? @Ming Chen, @kwerner Could you please shed some light on this?Not seeing anything myself but maybe @Ming Chen @kwerner might see something I missed. Sorry I'm not very familiar with em_les installations
What are the compatible netCDF versions for WRF V4.4? I used netCDF-c version 4.7.2 and netCDF-fortran verions 4.5.2Not seeing anything myself but maybe @Ming Chen @kwerner might see something I missed. Sorry I'm not very familiar with em_les installations
Thanks, @kwerner for your reply and for sharing the document. I realized that this is a NetCDF problem and I am working on it. I will keep posted.Hi @hopitigala
If you weren't able to install NetCDF without errors, then you won't be able to install WRF. The errors in your WRF compile log are specific to NetCDF. Unfortunately we don't have the resources to support NetCDF installation issues, but I can provide a document with step-by-step instructions I use to build an environment for a. GNU compile. I'm attaching it. Keep in mind it's just a template and some things may need to be modified for your use.
GNU/gcc is free software, so I'd recommend trying to get a newer version of it installed. The version we currently use on our NCAR supercomputer is GNUv10.1.0.