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 >Cc: Karsten Bolding <address@hidden>, > address@hidden, Bjarne B?chmann <address@hidden>, > Peter Gylling J?rgensen <address@hidden> >From: Karsten Bolding <address@hidden> >Subject: Re: 20050218: restoring headers in large netcdf files >Organization: Bolding & Burchard Hydrodynamics >Keywords: 200502190949.j1J9ncv2029855, opteron Karsten, > I experienced one problem though. On the Opteron system I can't find the > correct flags to compile the netcdf library with support for the Intel > Fortran compiler. I can compile netcdf on an Intel based machine and > copy the libaries to the Opteron machine and then I can compile and link > my own Fortran programs. Do you have successfully compiled and installed > netcdf on a Opteron based system with support for the Intel compiler (v > 8.1)? And if so can you provide me with the settings? Yes, assuming you're using Linux, here's settings that worked for ifort 8.1 on x86 (which should also be OK for AMD Opteron, as far as I know): http://www.unidata.ucar.edu/packages/netcdf/other-builds.html#netcdf-3.6.0-ifort Alternatively, here's some flags used specifically for Opteron and ifort on an earlier version, but I imagine they would still work, although you may want to leave out the "-m32" or substitute "-m64": http://www.unidata.ucar.edu/packages/netcdf/other-builds.html#32-bit%20linux%20opteron%20ifort%203.5.1 And here's another report of a successful compile with ifort used for the F90 interface but g77 used for the F77 compiler (kind of a weird combination): http://www.unidata.ucar.edu/packages/netcdf/other-builds.html#g77-ifort --Russ