[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: netCDF f90 configure error
- Subject: Re: netCDF f90 configure error
- Date: Mon, 10 Sep 2001 08:59:09 -0600
>To: address@hidden
>From: Shirley Moore <address@hidden>
>Subject: Re: 20010910: netCDF f90 configure error
>Organization: ERDC MSRC
>Keywords: xlf90 IBM Power3 SMP AIX
Hi Shirley,
> I have downloaded netCDF and am trying to install it on an IBM
> Power3 SMP at ERDC MSRC (http://www.wes.hpc.mil/). I am getting the
> following during the configure:
>
> checking "xlf" as Fortran-90 compiler... failed to build test program
> checking for xlf90... xlf90
> checking Fortran-90 compiler "xlf90"... failed to build test program
> checking for f90... no
> configure: warning: Could not find working Fortran-90 compiler
> configure: warning: The Fortran-90 interface will not be built
>
> even though xlf90 is present and otherwise works:
>
> nh4n1e 113% which xlf90
> /usr/bin/xlf90
>
> Any idea what could be wrong?
Yes, it may be that you didn't set the F90FLAGS environment variable
before building, as in the working examples of building for AIX in the
INSTALL.html document that was included with the source distribution
or at:
http://www.unidata.ucar.edu/packages/netcdf/INSTALL.html#aix
If you remove the "config.cache" file, set the F90FLAGS variable to
"-qsuffix=f=f90", and rerun the configure script, it may find the
xlf90 compiler works. If not, take a look at the associated error
message in the "config.log" file (not the "configure.log" file) to see
why the simple Fortran90 test program can't be successfully compiled.
It works fine on our AIX 4.3 system.
--Russ
_____________________________________________________________________
Russ Rew UCAR Unidata Program
address@hidden http://www.unidata.ucar.edu