This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
>To: address@hidden >From: address@hidden >Subject: problems installing netcdf >Organization: ? >Keywords: 200201111656.g0BGuax00076 netCDF Cray T3E Hi Pascale, > I am having problems installing netcdf on a Cray T3E. I'm sending > along items A-G as requested on the installation webpage > (http://www.unidata.ucar.edu/packages/netcdf/INSTALL.html). Can you > help? > unicosmk seymour 2.0.5.52 unicosmk CRAY T3E > 3.5.0 > /opt/ctl/bin/cc > /opt/ctl/bin/cpp > /opt/ctl/bin/f90 > loading cache ./config.cache > checking for top-level source-directory > /u/home/lelongmp/NETCDF/netcdf-3.5.0/src > checking for m4 preprocessor > checking for m4... m4 > checking m4 flags... -B10000 > checking for xlc... no > checking for c89... c89 > checking C compiler "c89"... works > checking how to make dependencies... false > checking for /opt/ctl/bin/CC... /opt/ctl/bin/CC > checking C++ compiler "/opt/ctl/bin/CC"... works > checking how to run the C preprocessor... c89 -E > checking user-defined Fortran-77 compiler "/opt/ctl/bin/f90"... works > checking for Fortran .F compiler... > checking if Fortran-77 compiler handles *.F files... yes > checking "/opt/ctl/bin/f90" as Fortran-90 compiler... works In netCDF 3.5.0, the Fortran 90 interface doesn't work on platforms like the Cray T3E, for which the default integer size is 8 bytes. You can use the Fortran 77 interface (as well as the C and C++ interfaces), but you need to specify that the Fortran90 interface will not be built. You do this by explicitly setting the F90 environment variable to an empty string (F90='') before running the "configure" script. Then delete the "config.cache" file and rerun the configure script, as in the installation notes: http://www.unidata.ucar.edu/packages/netcdf/INSTALL.html#unicos If that doesn't work, please try netCDF 3.5.1-beta (still specifying F90='') from ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-3.5.1-beta.tar.Z Unfortunately, we don't have access to a Cray T3E here to test with, but several sites have managed to successfully compile and install netCDF 3.5 on Cray T3Es, so you might also ask them what environment variable settings succeeded for them, for example: http://hpcf.nersc.gov/software/libs/io/netcdf/ http://www.awi-bremerhaven.de/EDV/netcdf.extern.html --Russ _____________________________________________________________________ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu ------- End of Forwarded Message