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

Regarding make install while compiling WRF

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.

shantikumari

New member
I am getting an error regarding make install command in HPC mobaxterm terminal
Below I have attached a file that contain the error. Please improve the code to get rid of the error.


[shanti@master2 netcdf-4.1.3]$ make install
Making install in include
make[1]: Entering directory `/home/shanti/BUILD_WRF/LIBRARIES/netcdf-4.1.3/include'
make[2]: Entering directory `/home/shanti/BUILD_WRF/LIBRARIES/netcdf-4.1.3/include'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/netcdf/include" || /usr/bin/mkdir -p "/netcdf/include"
/usr/bin/mkdir: cannot create directory ‘/netcdf’: Permission denied
make[2]: *** [install-includeHEADERS] Error 1
make[2]: Leaving directory `/home/shanti/BUILD_WRF/LIBRARIES/netcdf-4.1.3/include'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/shanti/BUILD_WRF/LIBRARIES/netcdf-4.1.3/include'
make: *** [install-recursive] Error 1
[shanti@master2 netcdf-4.1.3]$

#permission is denied how to get rid of this. Even I tried sudo make install but it did not work
 

Attachments

  • Screenshot (8).png
    Screenshot (8).png
    229.1 KB · Views: 632
Hi,
What exactly are you building when you get this error? Is this during a build of the NetCDF library? If so, unfortunately we are not the developers of NetCDF, and therefore cannot support it. You will need to discuss this problem with your systems administrator at your institution for help on configuring your environment to be able to build the libraries.
 
Top