[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 20010301: netCDF installation on Windows 2000
- Subject: Re: 20010301: netCDF installation on Windows 2000
- Date: Thu, 1 Mar 2001 07:14:01 -0700 (MST)
Stefan asked:
> I'm struggling for two days with the installation of the netCDF package on
> my system, Windows 2000 with the Lahey LF95 Fortran and C compiler. Do you
> know somebody who has ported netCDF to this configuration?
-----------------------------------
Several people in the last year have asked about Lahey Fortran compiler, except
on linux not windows. We dont jave that compiler so I dont know the answer.
Below is a message that might be of use. Also I would try asking this question
to address@hidden
Regards, John
--------------------------------------
> I typed in the keyword "Lahey" in the search in the "netCDF support
email archive" at the bottom of the netCDF home page
<http://www.unidata.ucar.edu/packages/netcdf/>, and it pointed to the
following:
http://www.unidata.ucar.edu/glimpse/netcdf/3903
which reports on successfully compiling netCDF for Lahey f95 using the
following environment variable settings:
> setenv CXX /usr/bin/g++
> setenv CC /usr/bin/gcc
> setenv CFLAGS '-march=pentiumpro -O2'
> setenv FC /usr/local/lf95/bin/lf95
> setenv CPPFLAGS -DNAGf90Fortran
>
> The library compiles, but "make test" stops here:
>
> ...
> make[2]: Entering directory `/home/hnv/netcdf/netcdf-3.4/src/fortran'
> + /usr/local/lf95/bin/lf95 -c -O ftest.F
> "ftest.F", line 7: error: #include: cannot find file "nfconfig.inc"
and then suggests more about how to get around the missing
"nfconfig.inc" problem. This sounds like it got further in building
with Lahey on a Unix platform, so maybe that will help for your
attempt to build from source on Linux. We still don't have access to
Lahey compilers here, which makes it difficult for us to try to debug
problems with Lahey compilers.