> I would like to build shared NetCDF pkg. to be used with netcdf-perl. > > I was able to build Netcdf shared with pgi compilers but got an error in > running the test in netcdf-perl pkg. > Perl on our system uses gcc. > netcdf-perl support (Steve) told me to compile NetCDF using gcc also. > > Could you please email me the compiler options to build a shared library to > be used with the netcdf-perl pkg.? If you run the netCDF configure script with the "--enable-shared" option and CC=gcc, it should build a shared library. If you are using a later version of gcc than was used to build perl, that might cause a problem, but it should work. You could also try rebuilding perl with the same version of the pgi compiler used for the netCDF library. There are now lots of PGI web pages on building various versions of netCDF with various PGI compiler versions and netCDF versions: http://www.pgroup.com/resources/tips.htm#NETCDF --Russ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: YNQ-200129 Department: Support netCDF Priority: Normal Status: Closed