Recompiled app-sci/netcdf using Intel's x86 ifc and icc using the following flags within the ebuild. Don't know enough of the ebuild file format/capabilites to incorporate a make-time check for gcc or ifc/icc # Courtesy of burow at desy.de, maintainer of cfortran.h export CPPFLAGS=-DpgiFortran # allows ifc to use cfortran.h export F90=ifc export F77=ifc export CC=icc export CXX=icc # -mp seems to work for the floating point tests carried out by netcdf build export CFLAGS="-w -O3 -mp -axW -xW -tpp7 -i_dynamic" export CXXFLAGS="-w -O3 -mp -axW -xW -tpp7 -i_dynamic" export F90FLAGS="-w -O3 -mp -axW -xW -tpp7 -Vaxlib -C90 -i_dynamic" export FFLAGS="-w -O3 -mp -axW -xW -tpp7 -Vaxlib -C90 -i_dynamic" Reproducible: Always Steps to Reproduce: 1. 2. 3.
The -axW -xW -tpp7 flags are specific to P4 machines. These have to be left out for a generic x86 build if icc and ifc are being used.
Jon, who are the icc people?
Good question. Einride's been busy and Zadeh's dropped off the face of the earth again... Joseph: ideally what we're going to do is integrate ICC support into Portage another way (the ICC people have some thoughts). So we're not really going to put any ICC stuff into ebuilds at this point in time.