Peter, Here's a report from an attempt to build netCDF C and Fortran libraries with Intel compilers on the NCAR high-performance computers: ------ start of report on NCAR CISL build: Good news. I got the C, Fortran, and C++ versions of NetCDF to build using the intel compilers. Some notes: - I'm using these versions: netcdf-cxx-4.2/ netcdf-fortran-4.2/ netcdf-c-4.3.2-rc1/ - My philosophy is to go as simple as possible with the compile options, so here's what I used: export CC=icc export CXX=icpc export FC=ifort export F77=ifort export F90=ifort export CFLAGS= export FFLAGS= export F90FLAGS= export CXXFLAGS= Note that all of these compilers are available when you login. You don't have to do any "module load" stuff. - I *always* remove this path from my PATH variable: /glade/apps/opt/modulefiles/ys/cmpwrappers The above creates these "wrappers" for all the gcc/icc/ifort/gfortran compilers, and I prefer to use the pure compilers that exist in /glade/apps/opt/ncl/6.1.2/intel/12.1.5/bin Here are the "pure" compiler paths and versions, just in case: geyser05 which icc /ncar/opt/intel/18.104.22.168/composer_xe_2011_sp1.11.339/bin/intel64/icc geyser05 icc --version icc (ICC) 12.1.5 20120612 Copyright (C) 1985-2012 Intel Corporation. All rights reserved. geyser05 which ifort /ncar/opt/intel/22.214.171.124/composer_xe_2011_sp1.11.339/bin/intel64/ifort geyser05 which icpc /ncar/opt/intel/126.96.36.199/composer_xe_2011_sp1.11.339/bin/intel64/icpc geyser05 - I always unset these three environment variables: unset LIB_NCAR unset INC_NCAR unset NETCDF This step may not be necessary, because I think these things are used by the wrapper programs. - Here are the "configure" commands I used for the three packages: netcdf-4.3.2-rc1: ./configure --enable-netcdf-4 --enable-dap --disable-shared --prefix=/glade/p/work/haley/dev/external/intel/ncl620 --enable-large-file-tests --enable-dap-remote-tests netcdf-fortran-4.2: ./configure --disable-shared --prefix=/glade/p/work/haley/dev/external/intel/ncl620 netcdf-cxx-4.2 ./configure --disable-shared --prefix=/glade/p/work/haley/dev/external/intel/ncl620 - Of course, the true test will come when I try to link NCL against all these packages! That probably won't happen until tomorrow. ------ end of report on NCAR CISL build I'll forward any additional information on this as I get it. --Russ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: EJA-190555 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.