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.
> New versions of the Intel compilers, new flags... > > 1) Build netCDF 3.6.3 on (64-bit x86_64-redhat-linux-gnu) with Intel > icc/ifort 11.0 compilers: > > setenv CPP 'icc -E' > setenv CXXCPP 'icpc -E' > setenv CC icc > setenv CXX icpc > setenv CPPFLAGS '-DNDEBUG -DpgiFortran' > setenv CFLAGS'-O3 -xT -ip -no-prec-div -static -no-multibyte-chars' > setenv CXXFLAGS'-O3 -xT -ip -no-prec-div -static -no-multibyte-chars' > setenv FC ifort > setenv F77 ifort > setenv F90 ifort > setenv FFLAGS'-O3 -xT -ip -no-prec-div -static -no-multibyte-chars' > setenv AR xiar > setenv LD ifort > setenv LDFLAGS '-O3 -xT -ip -no-prec-div -static -no-multibyte-chars' > > > 2) Build netCDF 3.6.3 on (64-bit Mac OS X Leopard 10.5.6 Darwin Kernel > Version 9.6.0) with Intel icc/ifort 11.1 compilers: > > setenv CPP "cpp -C -P -xassembler-with-cpp -traditional" > setenv CC icc > setenv CXX icpc > setenv CPPFLAGS '-O3 -DNDEBUG -DpgiFortran' > setenv CFLAGS '-O3 -xT -ip -no-prec-div -no-multibyte-chars -m64 -w' > setenv CXXFLAGS '-O3 -xT -ip -no-prec-div -no-multibyte-chars -m64 -w' > setenv F77 ifort > setenv F90 ifort > setenv F95 ifort > setenv FCFLAGS '-O3 -xT -ip -no-prec-div -no-multibyte-chars -m64 -w' > setenv FFLAGS '-O3 -xT -ip -no-prec-div -no-multibyte-chars -m64 -w' > setenv AR xiar > setenv LD ifort > setenv LDFLAGS '-O3 -xT -ip -no-multibyte-chars -m64' > > All tests passed. > > > Note: This web site is temporarily out-of-date: > > http://software.intel.com/en-us/articles/performance-tools-for-software-developers-building-netcdf-with-the-intel-compilers/ > > Hopefully, others will find this information useful. > > Best, > Craig > > > Howdy Craig! Thanks for reporting these settings! I have made them available to other users here: http://www.unidata.ucar.edu/software/netcdf/docs/other-builds.html#intel_11_64 http://www.unidata.ucar.edu/software/netcdf/docs/other-builds.html#mac_intel_11 Thanks! Ed Ticket Details =================== Ticket ID: SNY-468585 Department: Support netCDF Priority: Normal Status: Closed