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

Re: Linking probelm with gfortran 4.2 and netcdf-3.6.2



Mauro Sgroi <address@hidden> writes:

> Dear all,
> I'm new to netcdf and I'm trying to use it within the
> pacakage Abinit. I have a gcc/gfortran 4.2 compiler
> installed on a Windows XP PC with cygwin.
> I configured netcdf with the commands:
>
> CC=gcc-4.2 FC=gfc-4.2 CXX=g++-4.2 CPP=cpp-4.2
> CPPFLAGS=-Df2cFortran ./configure
> --prefix=/usr/local/src/abinit-5.3.4/lib/netcdf

You are doing a make check, correct?

Try setting CPPFLAGS to -DgFortran.

If that doesn't work, try -DpgiFortran.

If neither work, let me know, and send the complete output of
configure and make check.

Don't forget to do a "make distclean" between each rerun of the
configure script!

Thanks!

Ed


-- 
Ed Hartnett  -- address@hidden