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

20040314: compiling netcdf-3.5.1 using Intel Fortran 95



Deanna,

> To: address@hidden
> cc: address@hidden
> From: address@hidden
> Organization: UCAR/Unidata
> Keywords: 200405131838.i4DIcwtK012630

The above message contained the following:

> I am havimg trouble compiling netcdf-3.5.1 using Intel Fortran 95 for Linux
> (Intel_fc_80). The system was previously compiled with netcdf-3.5.0 with
> F77. I believe F95 is installed properly. 
> 
> A.  Linux chief.gso.uri.edu 2.4.2-2 #1 Sun Apr 8 20:41:30 EDT 2001 i686 
> unknown
> B. 3.5.1
> 
> D. which --all ifc
>    /opt/intel_fc_80/bin/ifc
>        
> 
> 
> I also tried using the Intel ifc Fortran 95 compiler profided on the web:
>         FC=ifc
>         FLIBS=-Vaxlib
>         FFLAGS="-O -mp -cm -w95"
>         CPPFLAGS="-DNDEBUG -DpgiFortran"
>         CC=gcc
> 
> Any suggestion on what I'm doing incorrectly?

According to your "configure.log" file

> checking how to run the C preprocessor... cc -E
> checking for f77... f77
> checking for Fortran .F compiler... 
> checking if Fortran-77 compiler handles *.F files... yes
> checking "f77" as Fortran-90 compiler... failed to build test program
> checking for xlf90... no
> checking for f90... no
> checking for nm utility
> checking for nm... nm

the "configure" script was unable to find a Fortran-90 compiler.  This
was probably because the environment variable F90 was not set to the
absolute pathname of the ifc compiler.

Please try the following:

    1.  Go to the top-level source directory.

    2.  Perform steps 3 and 4 described at

            
http://my.unidata.ucar.edu/content/software/netcdf/INSTALL.html#ReportingProblems

    3.  Set the following environment variables to the indicated values:

            FC=ifc
            FLIBS=-Vaxlib
            FFLAGS="-O -mp -cm -w95"
            CPPFLAGS="-DNDEBUG -DpgiFortran"
            CC=gcc

        Be sure to use either the export(1) or setenv(1) command --
        depending on your user shell.

    4.  Perform steps 5 through 9 described at

            
http://my.unidata.ucar.edu/content/software/netcdf/INSTALL.html#ReportingProblems

> Thank you
> Deanna
> Bergondo

Regards,
Steve Emmerson