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.
Tim, > I tried to configure the udunits-pacage and the configure-script > failed ... > > I use the command: > > sudo configure CC=icc CFLAGS="-O3 -xT -ip -no-prec-div -static -no- > multibyte-chars" CPP="icc -E" CPPFLAGS="icpc -E" LANG=C LC_TYPE=C > LC_AL=C LDFLAGS="-O3 -xT -ip -no-prec-div -static" The following fatal error occurred during execution of the "configure" script: > checking for C compiler default output file name... configure: error: > C compiler cannot create executables > See `config.log' for more details. The file "config.log-intel" contained the following: > configure:2297: checking for C compiler default output file name > configure:2300: icc -O3 -xT -ip -no-prec-div -static -no-multibyte-chars icpc > -E -O3 -xT -ip -no-prec-div -static conftest.c >&5 > Catastrophic error: could not open source file "icpc" If you wish to use the same compiler that was used to build the netCDF library (always a good idea), then change the setting of the CPPFLAGS environment variable from "icpc -E" to "-icpc -E" and try again. Also, be sure to define a Fortran calling convention. See the file INSTALL for examples. If nothing else, add the option "-Df2cFortran" to the CPPFLAGS environment variable. Otherwise, the package won't build. If you don't need the Perl interface, then set the environment variable PERL to the empty string. > Thanks for your help, > Tim > > Tim Bruecher > Institute of Geophysics and Meteorology > University of Cologne > 50923 Cologne Germany > > T: +49/(0)221/470 - 3689 > F: +49/(0)221/470 - 5161 > @: address@hidden > W: http://www.meteo.uni-koeln.de/tbruech Regards, Steve Emmerson Ticket Details =================== Ticket ID: SUQ-510406 Department: Support UDUNITS Priority: Normal Status: Closed