LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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, 04: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, 01:42 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

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



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 06:37 AM
[SOLVED] netCDF Fortran 90 Interface (read/write) AQmodeller Programming 1 10-06-2012 03:22 AM
Compiling netcdf-3.6.2 on powerpc-ibm-aix5.2.0.0 samrat_rao AIX 3 04-30-2009 11:46 PM
netcdf deepshikha Linux - Server 1 06-08-2007 06:18 AM
NetCDF and KDevelop joer Linux - Software 0 04-15-2004 08:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:59 AM.

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
Open Source Consulting | Domain Registration