[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #SJT-231522]: NETCDF Fortran installation error



Hello,

Thank you for providing the config.log.  Examining it, I see that the LDFLAGS 
environmental variable is not set, which is odd because, at first glance, you 
are setting it by capturing the output from nc-config.  However, upon closer 
examination, I think I see the problem.  You are enclosing the value of 
nc-config using single quotes.  In a bash shell, single quotes prevent the 
expansion of macros and variables.  Try replacing the single quotes in the 
LD_FLAGS assignment with double quotes, e.g. LD_FLAGS="(...)".  Let me know if 
this helps; if it does not, please send along the new config file generated.

Thanks!

-Ward

> Hi
> 
> I've been trying to compile and build NetCDF Fortran for CM1, using
> Intel compiler. I've been able to install NetCDF C 4.7.4 which passed
> all the tests and built successfully. However when trying to build NetCDF
> Fortran version, using
> 
> LD_FLAGS='$(/scratch/rvuppal/usr/netcdf/bin/nc-config --libs --static) 
> $(/scratch/rvuppal/usr/netcdf/bin/nc-config --cflags)' 
> CPPFLAGS=-I/scratch/rvuppal/usr/netcdf/include ./configure 
> --prefix=/scratch/rvuppal/usr/netcdf --disable-shared
> 
> I get the following error,  "configure error: netcdf-c version 4.7.4 or
> greater is required", which I have installed already.
> 
> Please let me know what else you need to resolve this; I'll be happy to
> provide.
> 
> Sincerely
> Rohit Vuppala
> 
> 
> 


Ticket Details
===================
Ticket ID: SJT-231522
Department: Support netCDF
Priority: Normal
Status: Closed
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.