Hello,
I am following the tutorial (https: //www2.mmm.ucar.edu/wrf/OnLineTutorial/compilation_tutorial.php#STEP8) to install WRF on an Azure VM. I have used this tutorial for several successful installations on other machines previously.
I made sure to set the proper paths to ensure the same compiler (GNU) is used throughout the process. The library compatibility tests work with no error. However, when I attempt to run "./configure" from the WRF directory, I am prompted for the options 1-75 and nesting options 1-3, but after entering "1" for basic nesting get the following error: "cannot append configure.wrf at arch/Config.pl line 780.
configure.wrf not created! Exiting configure script..."
When I run "sudo ./configure" I get the error: "checking for perl5... no
checking for perl... found /usr/bin/perl (perl)
*****************************************************************************
No environment variable NETCDF set.
Stopping
*****************************************************************************"
As a note, entering "echo $NETCDF" and "sudo echo $NETCDF" both result in the expected path (set by previous command "export NETCDF=$DIR/netcdf" when building NetCDF). I'm really not sure what is happening here- I'm guessing something is going on with sudo since my past experiences have worked fine when sudo permissions were not used.
Any suggestions on how I can get WRF to successfully configure and recognize netcdf properly would be greatly appreciated.
Thank you!
Carl
I am following the tutorial (https: //www2.mmm.ucar.edu/wrf/OnLineTutorial/compilation_tutorial.php#STEP8) to install WRF on an Azure VM. I have used this tutorial for several successful installations on other machines previously.
I made sure to set the proper paths to ensure the same compiler (GNU) is used throughout the process. The library compatibility tests work with no error. However, when I attempt to run "./configure" from the WRF directory, I am prompted for the options 1-75 and nesting options 1-3, but after entering "1" for basic nesting get the following error: "cannot append configure.wrf at arch/Config.pl line 780.
configure.wrf not created! Exiting configure script..."
When I run "sudo ./configure" I get the error: "checking for perl5... no
checking for perl... found /usr/bin/perl (perl)
*****************************************************************************
No environment variable NETCDF set.
Stopping
*****************************************************************************"
As a note, entering "echo $NETCDF" and "sudo echo $NETCDF" both result in the expected path (set by previous command "export NETCDF=$DIR/netcdf" when building NetCDF). I'm really not sure what is happening here- I'm guessing something is going on with sudo since my past experiences have worked fine when sudo permissions were not used.
Any suggestions on how I can get WRF to successfully configure and recognize netcdf properly would be greatly appreciated.
Thank you!
Carl