[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20010619: netcdf v3.5.0 build notes for RH Linux & Absoft f90
- Subject: 20010619: netcdf v3.5.0 build notes for RH Linux & Absoft f90
- Date: Tue, 19 Jun 2001 10:46:33 -0600
Bill,
Thanks for informing us how to install the netCDF package using AbSoft's
Fortran-90 compiler. I've added your email to the "Other Builds" web
page at
http://www.unidata.ucar.edu/packages/netcdf/other-builds.html
Please look at it and let me know if it's OK.
Regards,
Steve Emmerson <http://www.unidata.ucar.edu>
> cc: address@hidden
> From: Bill McKie <address@hidden>
> Subject: netcdf v3.5.0 build notes for RH Linux & Absoft f90
> Organization: NASA/Ames
> Keywords: 200106190749.f5J7nip14634 netCDF Absoft RedHat 6.1
>
> Hi
>
> I recently picked up netcdf v3.5.0 for use on a Redhat Linux v6.1
> system with the AbSoft ProFortran v6 f90 compiler.
>
> It is working ok. But as with builds of previous versions of netcdf,
> I had to do a few manual customizations in the build process in order
> for it to install on the above system. I thought you might like to have
> my notes for possible use in helping others with a similar system.
>
> A summary of the steps I used follows.
>
> Thanks for continuing to develop and provide the netcdf package,
>
> Bill McKie
> NASA Ames
>
>
> Unpack the distribution tarball as usual.
>
> Ensure the AbSoft f90 compiler is in the PATH environment variable.
>
> Set the environment variables:
> CC gcc
> FC "f90"
> F90 "f90"
> CXX ""
> CFLAGS ""
> FFLAGS ""
> F90FLAGS ""
> CXXFLAGS ""
>
> cd .../netcdf-3.5.0/src
>
> ./configure --prefix=directory_path_to_install_into
>
> cd fortran
>
> Edit cfortran and add following line near top
>
> #define AbsoftProFortran
>
> cd .../netcdf-3.5.0/src
> make
>
> Don't do "make test", since it will fail at some link
> steps with unsatisfied external references to command
> line argument routines iargc and getarg.
>
> cd .../netcdf-3.5.0/src
> Edit macros.make and change the line:
> NETCDF.MOD = netcdf.mod
> to:
> NETCDF.MOD = NETCDF.mod
>
> make install