[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20030718: netcdf f90 module on HP UX 11
- Subject: 20030718: netcdf f90 module on HP UX 11
- Date: Fri, 18 Jul 2003 14:52:35 -0600
Michael,
> To: address@hidden
> cc: address@hidden
> From: Michael Arndt <address@hidden>
> Subject: netcdf f90 module on HP UX 11
> Organization: Bereichsleiter IT-Services
The above message contained the following:
> have you any hints how to build netcdf with the f90 module
> with only a f90 Compiler and no f77 compiler installed
>
> I build 3.5 w.o. problens with the hp cc
> so onnly flags needed for the f90 part are my concern
The following environment variable settings worked for us:
CC=/bin/cc
CPPFLAGS='-D_HPUX_SOURCE -D_FILE_OFFSET_BITS=64' # large file support
CFLAGS='-g +DD64' # 64-bit mode
FC=/opt/fortran90/bin/f90 # Fortran-90 compiler
FFLAGS='-w +noppu +DA2.0W' # 64-bit mode, no "_" suffixes
FLIBS=-lU77
CXX='' # no 64-bit mode C++ compiler
Note that the above includes support for 64-bit mode and very large
files. If you don't want that, then omit the "-D_FILE_OFFSET_BITS=64",
"+DD64" and "+DA2.0W" options.
> Do i have to download the beta version for the netcdf f90 Version ?
Try the above on your version first. If it doesn't work, then try the beta
version.
Please let me know if this helps.
> TIA
> Micha
> _________________________creating IT solutions
> Michael Arndt
> Bereichsleiter IT-Services Berlin science + computing ag
> phone +49 30 72 62 38-50 Ehrenbergstrasse 19
> fax +49 30 72 62 38-59 D-10245 Berlin, Germany
> address@hidden www.science-computing.de
Regards,
Steve Emmerson