LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-20-2010, 04:05 PM   #1
jazzmy
LQ Newbie
 
Registered: Oct 2010
Posts: 1

Rep: Reputation: 0
can't open module file 'netcdf.mod' for reading


Hi everybody,

I am very new to Linux. I am using cygwin on my laptop which has windows 7. I want to run some fortran programs. These programs use netcdf. I have installed netcdf as described on the link:

http://www.linuxquestions.org/questi...ectory-679307/

I am trying to compile a simple program available on netcdf website; namely, simple_xy_rd.f90

I am using following command to compile the program

gfortran simple_xy_rd.f90

but it is giving error which says:

use netcdf

fatal error: can't open module file 'netcdf.mod' for reading at <1>: no such file or directory

I have the file netcdf.mod on the following path:
C:\cygwin\home\laptop\netcdf-3.6.3\f90

I will be very grateful if someone please let me know how should I compile the program.

Thanks
 
  


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
tail : cannot open `+43' for reading : No such file or directory twwwater Linux - Newbie 8 01-21-2010 06:40 AM
tail: cannot open `+5' for reading: No such file or directory mcgao07 Linux - Newbie 7 10-22-2008 12:16 PM
lftp mirroring hangs cannot open file for reading archangel_617b Linux - Software 3 05-22-2008 11:03 AM
awk: fatal:cannot open file for reading (no such file or Directory) in Linux sangati vishwanath Linux - Software 4 07-06-2005 12:59 AM
**ERROR: [mplex] Unable to open file shrinked.m2v for reading d1l2w3 Programming 2 04-09-2005 05:49 PM

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

All times are GMT -5. The time now is 11:19 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