Hi Scott, > Is it possible to build just the netcdf 4.2 fortran (77/90) libraries > with pgf90 (we do not have the c/c++ compilers) using hdf5/zlib/curl > libraries built with gcc/gfortran? What would the environment/configure > script command line options look like? Yes, we've tested that combination, and it works fine. The netCDF software makes no use of the HDF5 Fortran API, so it doesn't matter whether that was even built, let alone what compiler was used. We had some trouble building shared libraries, but the static libraries were pretty easy. Here's a combination that worked for us (some of these flags may not be necessary), assuming you installed the HDF5 software in /share/ed/local/spock/: CPPFLAGS=-I/share/ed/local/spock/include CC=gcc CFLAGS='-g -O2' CXX=g++ CXXFLAGS='-g -O2' FC=pgf95 FCFLAGS=-g F77=pgf95 FFLAGS=-g LDFLAGS=-L/share/ed/local/spock/lib LIBS=-lcurl and configure like this: ./configure --disable-shared --enable-netcdf-4 make check install --Russ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: HDO-215554 Department: Support netCDF Priority: High 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.