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

20010726: installing on NEC SX5



Hong,

>Date: Thu, 26 Jul 2001 10:59:07 +0900
>From: =?ks_c_5601-1987?B?yKu898Gk?= <address@hidden>
>Organization: UCAR/Unidata
>To: "Steve Emmerson" <address@hidden>
>Subject: re-mail(attach files(*log)
>Keywords: 200107260219.f6Q2Ji108594

The above message contained the following:

...
1. setenv CC ~/cc(directory in cc)
2. setenv CPPFLAGS -DNDEBUG 
3. setenv CFLAGS ""
4. setenv FC ~/f90(directory in f90)

You should set FC to the absolute pathname of your Fortran-90 compiler,
e.g.

    setenv FC /opt/SUNWspro/bin/f90

5. setenv FFLAGS "-g -F -dp"

The Fortran-90 compiler, f90, doesn't understand the "-F -dp" options.

6. setenv CXX ""

>       filename="config.log"
> 
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
> 
...
> configure:1669: checking for xlf90
> configure:1669: checking for f90
> configure:1700: checking Fortran-90 compiler "f90"
> configure:1702: f90 -o conftest -g -F -dp conftest.f90 
> f90 fatal : Param error in option : -F
> f90 fatal : Param error in option : -dp

The last line above indicates that the Fortran-90 compiler, f90, doesn't
understand the "-F" and "-dp" options. This means that the Fortran-90
interface won't be built and installed. This is why you couldn't find
the netCDF module file.

Please try the following:

    1.  Go to the top-level source directory of the netCDF package.

    2.  Perform steps 3 through 5 which are described near the end of
        the file INSTALL.html.

    3.  Set the environment variable FC to the absolute pathname of your
        Fortran-90 compiler.

    4.  Ensure that the options specified in the FFLAGS environment
        variable are understood by the Fortran-90 compiler.

    5.  Perform steps 6 through 9 which are described near the end of
        the file INSTALL.html.

Regards,
Steve Emmerson   <http://www.unidata.ucar.edu>