LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-02-2014, 02:11 PM   #1
Antonio L
LQ Newbie
 
Registered: Sep 2014
Posts: 3

Rep: Reputation: Disabled
Fortran netCDF for Fedora 14 (64 bit)


Hello, I'm kind of new using Linux (I have Fedora 14 on 64 bits) and I have few experience programming.
However, I'm trying install the netCDF fortran libraries, but I have some troubles.
Next are the steps I tried:

1) I downloaded netcdf-fortran-4.2, untar, and then ./configure:

[root@cm06 netcdf-fortran-4.2]# ./configure
configure: netCDF-Fortran 4.2
.
.
.
configure: checking types, headers, and functions
checking netcdf.h usability... no
checking netcdf.h presence... no
checking for netcdf.h... no
configure: error: netcdf.h could not be found. Please set CPPFLAGS.

2) I downloaded netcdf-4.3.22, untar, and then ./configure:

[root@cm06 netcdf-4.3.2]# ./configure
.
.
.
checking for library containing deflate... no
configure: error: Can't find or link to the z library. Turn off netCDF-4 and opendap with --disable-netcdf-4 --disable-dap, or see config.log for errors.

What could I do?
Could anybody help me? some hint? thanks in advanced!!
 
Old 09-02-2014, 03:49 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
well the very FIRST thing is to install fedora 20
then in about 1 month or so install fedora 21

fedora 14 is 6 versions and 3 years OUT OF DATE
it went End Of Life in December 2011

it is UNSUPPORTED !!!
DO NOT USE !!!
 
1 members found this post helpful.
Old 09-02-2014, 04:25 PM   #3
Antonio L
LQ Newbie
 
Registered: Sep 2014
Posts: 3

Original Poster
Rep: Reputation: Disabled
Ok John VV

Thank you very much.
I'll change my fedora version

Best regards!
 
Old 09-08-2014, 01:39 PM   #4
Antonio L
LQ Newbie
 
Registered: Sep 2014
Posts: 3

Original Poster
Rep: Reputation: Disabled
Finally I installed Fedora 20 (64 bits), I updated the system, and then I did:

(1) Install C-compiler:
# yum install gcc-c++

(2) Install gfortran:
$ su -c "yum install gcc-gfortran"

(3) Download Fortran compiler (g95-x86-linux.tgz) from www.g95.org/ and:
# tar -zxvf g95-x86-linux.tgz
# ln -s $PWD/g95-install/bin/i686-pc-linux-gnu-g95 /usr/bin/g95

(4) Instal netCDF-C libraries

$ sudo yum install netcdf.x86_64
$ sudo yum install netcdf-devel.x86_64

(5) Download netcdf-fortran-4.4.0.tar.gz from unidata web page and:
# tar -zxvf g95-x86-linux.tgz
# ./configure
# make check
# make install

Apparently everything went fine.

Best regards
 
  


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
same fortran code but giving different results for the 32 bit vs 64 bit machine nareshUN Linux - Software 3 02-21-2012 11:33 AM
problem of install netcdf with intel fortran on CENTOS xianghu Linux - Software 8 07-29-2010 05:34 AM
does linux fortran compiler in fedora 4 support VAX FORTRAN? terrence Programming 17 08-31-2005 08:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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