NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
Hi Andre, > here are the configurations I used to install the netcdf-library from source > using the Intel Compiler Suite (Composer XE 2011 Update 4 for Linux, > intel64_2011.4.191) on an (K)Ubuntu/Linux 11.04 64bit system. > I installed zlib, hdf5, and netcdf from source. > zlib-1.2.5: I was not able to compile the shared library with the Intel > compiler (I don't know why), but it works using the GNU compiler. > hdf5-1.8.6: no problems. > netcdf-4.1.3: I had to compile in several iterations, incrementally adding > optimization flags; I'm not sure why that is. Maybe there is a difference > between shared and static library? > My current build using the attached scripts works well. > I don't have much experience with Intel compilers and source installs in > general, so if anyone can shed some light on the above issues, that would be > highly appreciated. And you asked the netcdfgroup mailing list: > ... but I'm using netcdf in Python, so I need the shared libs. > ... is it possible to build shared libs for netcdf using static libs of zlib > and hdf5? We have some new information on this, thanks to Davide Del Vento from NCAR's CISL (Computational Information Systems Laboratory): We have been able to compile netcdf-4.1.3 in fully shared mode with the Intel compiler (and soon with PGI). The issue for us is HDF5. In fact you need to have all the dependencies compiled shared, of course. And HDF5 compiles in shared mode only under certain circumstances. Most notably, HDF5 does *not* compile in shared mode and parallel/MPI at the same time: serial can be shared, parallel can only be static. This is a known issue for HDF5 ... The fact that pathscale and gcc "worked" was an accident of the way we compiled HDF5 with those compilers. --Russ Russ Rew UCAR Unidata Program russ@xxxxxxxxxxxxxxxx http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: IUE-665044 Department: Support netCDF Priority: Critical Status: Closed
netcdfgroup
archives: