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

[netCDF #PTL-390571]: problem building netcdf w/ pgf90

Hi Deb,

> Package Version: 4.1.3
> Operating System: RedHat Linux 2.6.18-308.1.1.el5PAE (32 bit)
> Hardware:
> Description of problem: make check fails with the following error message:
> tst_f90.o:(.debug_info+0x1380): undefined reference to `..Dm_typesizes'
> tst_f90.o:(.debug_info+0x138d): undefined reference to `..Dm_netcdf'
> make[2]: *** [tst_f90] Error 2
> make[2]: Leaving directory `/usr/local/netcdf-
> 4.1.3/nf_test'
> make[1]: *** [check-am] Error 2
> make[1]: Leaving directory `/usr/local/netcdf-4.1.3/nf_test'
> make: *** [check-recursive] Error 1
> used env F77=pgf77 FC=pgf90 F90=pgf90 FFLAGS="-O2 -w -V" CPPFLAGS="-DNDEBUG 
> -DpgiFortran" ./configure --disable-netcdf-4 --disable
> -dap -prefix=/tmp/final >& config.log
> to configure

I think this is an issue with shared libraries and pgf90, for which we don't
yet have a solution:


You could try configuring and building with the --disable-shared configure 
Alternatively, using the "-nomp" option in FFLAGS might work, according to 
with a similar problem in adifferent package, who also claims that upgrading 
PGI compilers to version 11.3 or later also fixes the problem:



Russ Rew                                         UCAR Unidata Program
address@hidden                      http://www.unidata.ucar.edu

Ticket Details
Ticket ID: PTL-390571
Department: Support netCDF
Priority: Normal
Status: Closed

NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.