netcdf in grads-2.0a4
Eric Altshuler
ela at COLA.IGES.ORG
Mon Jan 5 17:22:39 EST 2009
Dear Dr. Chang,
You can build multiple netcdf installations using different compilers, just put them in different directories (--prefix argument to configure script for netcdf). I have one netcdf build using ifort/icc and another using gfortran/gcc. Then, when building other codes that use netcdf, you can specify the path to the netcdf build you want to use (usually through a NETCDF environment variable or by explicitly specifying the lib and include paths).
Best regards,
Eric L. Altshuler
Assistant Research Scientist
Center for Ocean-Land-Atmosphere Studies
4041 Powder Mill Road, Suite 302
Calverton, MD 20705-3106
USA
E-mail: ela at cola.iges.org
Phone: (301) 902-1257
Fax: (301) 595-9793
From: "Hai-Ru Chang" <hrc at EAS.GATECH.EDU>
To: GRADSUSR at LIST.CINECA.IT
Sent: Monday, January 5, 2009 3:06:57 PM GMT -05:00 US/Canada Eastern
Subject: netcdf in grads-2.0a4
Hello,
I tried to compile grads-2.0a4 on my opteron server
running Suse 10.3. But the configure refused to include netcdf
support with following messages:
Checking in system locations for libraries to support netcdf ...
checking for udunits.h... (cached) yes
checking for utInit in -ludunits... (cached) yes
checking for nc_open in -lnetcdf... no
checking for netcdf.h with compiler... yes
checking for netcdf.h with preprocessor... yes
checking for netcdf 3 interface... yes
- netcdf disabled
As you can see the program can find netcdf lib. But it can't find
'nc_open'. I use gcc to compile grads but my netcdf was compile
with icc. Will this cause problem? How can I fix it? I need netcdf
compiled by icc for other applications.
Dr. Hai-Ru Chang
School of Earth and Atmospheric Sciences
Georgia Institute of Technology
Atlanta, GA 30332-0340
More information about the gradsusr
mailing list