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

20030812: netcdf f90 64-bit module on HP UX 11



Michael,

>Date: Tue, 12 Aug 2003 16:35:53 +0200
>From: Michael Arndt <address@hidden>
>Organization: ?
>To: Steve Emmerson <address@hidden>
>Subject: netcdf f90 64-bit module on HP UX 11

The above message contained the following:

> i have a working 32-bit netcdf f90 on HPUX 11
> 
> i can compile a 64 Bit Version with the Switches recommended
> on your Website
> 
> But when trying to test the 64 Bit Version
> with testnetcdf.f90:

What is "testnetcdf.f90"?  Is it part of the netCDF package?

> # sh -x machnetcdf
> + LINKPATH=-L/opt/netcdf9064/lib/
> + LINKARG=-lnetcdf
> + F90LAGS=-U77 -w +DA2.0W +noppu -I/opt/netcdf9064/include/
> + FLIBS=-lU77
> + PATH=/opt/aCC/bin/:/usr/bin:/usr/sbin:/sbin
> + FC=/opt/fortran90/bin/f90
> + PATH=/opt/aCC/bin/:/opt/aCC/bin/:/usr/bin:/usr/sbin:/sbin
> + FC=/opt/fortran90/bin/f90
> + PATH=/opt/aCC/bin/:/opt/aCC/bin/:/opt/aCC/bin/:/usr/bin:/usr/sbin:/sbin
> + 
> PATH=/opt/netcdf9064/lib:/opt/netcdf9064/include/:/opt/aCC/bin/:/opt/aCC/bin/:/opt/aCC/bin/:/usr/bin:/usr/sbin:/sbin
> + FC=/opt/fortran90/bin/f90
> + export CFLAGS CCOPTS CC CXX CXXFLAGS FC FFLAGS F90FLAGS FLIBS PATH LINKPATH 
> LINKARG
> + sleep 1
> + /opt/fortran90/bin/f90 -o netcdfproggi testnetcdf.f90
> testnetcdf.f90
>    program TESTNETCDF
> Error FCE42 : Module Dictionary File NETCDF.mod incompatible with this 
> version of f95

The command

    /opt/fortran90/bin/f90 -o netcdfproggi testnetcdf.f90

doesn't appear to use the same options with which the netCDF Fortran-90
interface was probably built.  Perhaps you should try

    /opt/fortran90/bin/f90 -o netcdfproggi -w +noppu +DA2.0W testnetcdf.f90

Regards,
Steve Emmerson