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

[netCDF #NAH-825145]: NETCDF4 installation problem in AIX 7.1

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: [netCDF #NAH-825145]: NETCDF4 installation problem in AIX 7.1
  • Date: Mon, 11 Feb 2013 14:58:01 -0700

Hi,

> I was installing NETCDF4 in AIX 7.1 IBM server with XLC version 12.1, and
> xlf 14.1, I got the error that :
> 
> checking for C compiler ----xlc
> checking for C compiler works-- no
> 
> Do I need to upgrade C compiler? Which version of C, C++ and Fortran compiler
> work with NETCDF4.2.1?

No, any version of xlc should work OK for any version of netCDF.  What you need 
to do is
look at the config.log file and find the error message associated with the 
configure test
"checking whether the C compiler works", to see why it didn't work.  If you 
can't find the
problem in the config.log file, just send that file to us and we'll look at it. 
 Sometimes
it's just a simple problem, such as that the compiler is not requires a license 
or it's
not configured correctly.  Make sure you can use xlc to compile a simple C 
program before
you try to use it to build netCDF.

--Russ

Russ Rew                                         UCAR Unidata Program
address@hidden                      http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: NAH-825145
Department: Support netCDF
Priority: Normal
Status: Closed