[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netCDF #PTL-390571]: problem building netcdf w/ pgf90
- Subject: [netCDF #PTL-390571]: problem building netcdf w/ pgf90
- Date: Wed, 18 Apr 2012 09:03:07 -0600
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:
http://www.unidata.ucar.edu/netcdf/docs/known_problems.html
You could try configuring and building with the --disable-shared configure
option.
Alternatively, using the "-nomp" option in FFLAGS might work, according to
someone
with a similar problem in adifferent package, who also claims that upgrading
your
PGI compilers to version 11.3 or later also fixes the problem:
http://www.pgroup.com/userforum/viewtopic.php?t=2512&start=0&postdays=0&postorder=asc&highlight=&sid=ed83173e84b0cf523aca9b43afaea02f
--Russ
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