netcdf in grads-2.0a4

Arlindo da Silva arlindo.dasilva at GMAIL.COM
Mon Jan 5 15:46:51 EST 2009


On Mon, Jan 5, 2009 at 3:06 PM, Hai-Ru Chang <hrc at eas.gatech.edu> wrote:

> 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'.
>

Most likely it is not finding a required icc library....


> 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.
>

Try compiling grads with icc/icpc

export CC=icc
export CXX=icpc
./configure

  Arlindo


--
Arlindo da Silva
dasilva at alum.mit.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090105/52996754/attachment.html 


More information about the gradsusr mailing list