LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   netcdf 4.2 installation (https://www.linuxquestions.org/questions/linux-newbie-8/netcdf-4-2-installation-4175471829/)

shrikantmp 08-02-2013 04:18 AM

netcdf 4.2 installation
 
Hello, I am new to Linux. I have installed "development kit for netcdf" from the software center in my Ubuntu 13.04. When I try to compile a simple fortran program which has 'include netcdf', I get an error like "Can't open module file 'netcdf.mod' for reading at (1): No such file or directory".
Now I have checked on the necdf website (http://www.unidata.ucar.edu/software....html#Binaries) and checked my lib, include and bin folders under /usr. They all contain the files and libraries as mentioned on the website.

Please help...!!!

knudfl 08-03-2013 01:42 AM

Welcome to LQ.

$ sudo apt-get install libnetcdf-dev
... Provides /usr/include/netcdf.mod

Finding files : $ find /usr/ -name netcdf.mod
List files, installed package : $ dpkg -L libnetcdf-dev

How to install another "software center" that will list all packages :
$ sudo apt-get install synaptic

-


All times are GMT -5. The time now is 06:20 AM.