Dear WRF-help,
I have been trying to install WRF on my Mac laptop running OS 10.14.6.
I am discovering that contrary to what is on the “Compile WRF” web site, it is necessary to do a 2 step installation of netcdf. First a netcdf-c. Then a netcdf-fortran. If seems that netcdf-c does not supply necessary elements (netcdf.inc and a .mod file) necessary for the fortran compile of WRF.
Not only for installation on MacOS laptops, but also for the CENTOS-LINUX/bash running on group’s cluster.
If this is well-known, then send me the link that explains this. And under the Compiling/Installation web page, list this MacOS/Linux problem as a topic.
I got to this point by first switching a window to /bin/tcsh.
Then largely following the steps in Compile WRF: wrf/OnlineTutorial/compilation_tutorial.php#STEP2.
Plus advice from my PhD student who attended the WRF teaching workshop in Boulder in 2017 and has WRF running on his MacOS laptop. His advice was to use netcdf-c-4.4.1.1.tar.gz instead of netcdf-4.1.3.tar.gz . He just sent me links to the latest netcdf-c-4.4 and netcdf-fortran-4.4 downloads, with instructions to do them in that order. Our cluster guru says he found a blog telling him to do the equivalent.
Otherwise I get this:
“Error : Not found /Users/kerrrobt/Build_WRFV4tcsh/LIBRARIES/netcdf/include/netcdf.inc
Please check this installation of NetCDF and re-run this configure script”
In other words, WRF wants this netcdf.inc file and netcdf-c-4.4.1.1, does not produce it. netcdf-4.1.3 does produce it, but has other problems.
It would be better if netcdf-c-4.4.1.1, had a new option that would allow this in one step
Robert M. Kerr email: Robert.Kerr@warwick.ac.uk
Professorship for Computational Fluid Dynamics, F-APS, F-IMA
School of Engineering, Dept of Mathematics and Centre for Scientific Computing
University of Warwick
Coventry CV4 7AL, United Kingdom
+44 (0)24 76 5 74840 Fax: 524182 Mes: 28312
Zeeman Building (Mathematics Institute): C2.15
I have been trying to install WRF on my Mac laptop running OS 10.14.6.
I am discovering that contrary to what is on the “Compile WRF” web site, it is necessary to do a 2 step installation of netcdf. First a netcdf-c. Then a netcdf-fortran. If seems that netcdf-c does not supply necessary elements (netcdf.inc and a .mod file) necessary for the fortran compile of WRF.
Not only for installation on MacOS laptops, but also for the CENTOS-LINUX/bash running on group’s cluster.
If this is well-known, then send me the link that explains this. And under the Compiling/Installation web page, list this MacOS/Linux problem as a topic.
I got to this point by first switching a window to /bin/tcsh.
Then largely following the steps in Compile WRF: wrf/OnlineTutorial/compilation_tutorial.php#STEP2.
Plus advice from my PhD student who attended the WRF teaching workshop in Boulder in 2017 and has WRF running on his MacOS laptop. His advice was to use netcdf-c-4.4.1.1.tar.gz instead of netcdf-4.1.3.tar.gz . He just sent me links to the latest netcdf-c-4.4 and netcdf-fortran-4.4 downloads, with instructions to do them in that order. Our cluster guru says he found a blog telling him to do the equivalent.
Otherwise I get this:
“Error : Not found /Users/kerrrobt/Build_WRFV4tcsh/LIBRARIES/netcdf/include/netcdf.inc
Please check this installation of NetCDF and re-run this configure script”
In other words, WRF wants this netcdf.inc file and netcdf-c-4.4.1.1, does not produce it. netcdf-4.1.3 does produce it, but has other problems.
It would be better if netcdf-c-4.4.1.1, had a new option that would allow this in one step
Robert M. Kerr email: Robert.Kerr@warwick.ac.uk
Professorship for Computational Fluid Dynamics, F-APS, F-IMA
School of Engineering, Dept of Mathematics and Centre for Scientific Computing
University of Warwick
Coventry CV4 7AL, United Kingdom
+44 (0)24 76 5 74840 Fax: 524182 Mes: 28312
Zeeman Building (Mathematics Institute): C2.15