[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netCDF #WFS-589263]: netCDF 4.0.1 with PGI 10.1.0
- Subject: [netCDF #WFS-589263]: netCDF 4.0.1 with PGI 10.1.0
- Date: Tue, 19 Jan 2010 07:46:23 -0700
> Hi,
>
> I am trying to build netCDF 4.0.1 with PGI 10.1.0 compilers but I am
> running into problems during the make process (see the attached output
> file). Here is my configure command:
>
> ./configure --prefix=/usr/local/other/netcdf/4.0.1_pgi-10.1.0
> --with-hdf5=/usr/local/other/hdf5/1.8.3_noShared_serial_pgi-10.1.0
> --disable-f90 --enable-netcdf-4
> --with-szlib=/usr/local/other/szip/2.1/noShared_pgi-10.1.0
> --with-zlib=/usr/local/other/zlib/1.2.3_pgi-10.1.0 CPP="pgcc -E" CC=pgcc
> CXXCPP="pgcpp -E" CXX=pgcpp FC=pgf90 F90=pgf90 CPPFLAGS="-DNDEBUG
> -DpgiFortran"
>
> that ran without any problem.
>
> The attempt build is done on a x86_64 Linux platform.
> I did not have any problem installing netCDF 3.6.2.
>
> Thank you in advance for your assistance.
>
> Cheers,
>
> Jules
>
> --
Howdy Jules!
I have no idea what is going on here.
.1.0/lib netcdf.lo ncvalues.lo ../libsrc4/libnetcdf.la
libtool: link: tpldir=3DTemplate.dir
libtool: link: rm -rf Template.dir
libtool: link: pgcpp --prelink_objects --instantiation_dir Template.dir =
netcdf.o ncvalues.o
pgcpp-Error-Unknown switch: --instantiation_dir
make[2]: *** [libnetcdf_c++.la] Error 1
make[2]: Leaving directory `/gpfsm/dnbsrc/other/netcdf/src/4.0.1/cxx'
Where is this --instantiatio_dir option coming from? I never heard of it before.
Do you need the C++ API? I suspect that you don't - it's out of date, and a new
one has been developed and will
be in the 4.2 release. So I suggest that you rerun configure with
--disable-cxx, and build and test netCDF without the C++ API.
Good luck,
Ed
Ticket Details
===================
Ticket ID: WFS-589263
Department: Support netCDF
Priority: Normal
Status: Closed