LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-02-2013, 05:18 AM   #1
shrikantmp
LQ Newbie
 
Registered: Aug 2013
Posts: 1

Rep: Reputation: Disabled
Unhappy 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...!!!
 
Old 08-03-2013, 02:42 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
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

-
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
netcdf-4.2.1.1 and netcdf-fortran-4.2 installation john.r.anderson3 Linux - Software 1 12-13-2012 07:37 AM
[SOLVED] netCDF Fortran 90 Interface (read/write) AQmodeller Programming 1 10-06-2012 04:22 AM
Compiling netcdf-3.6.2 on powerpc-ibm-aix5.2.0.0 samrat_rao AIX 3 05-01-2009 12:46 AM
netcdf deepshikha Linux - Server 1 06-08-2007 07:18 AM
NetCDF and KDevelop joer Linux - Software 0 04-15-2004 09:09 AM


All times are GMT -5. The time now is 11:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration