Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 27092

Summary: Possible compile flags for app-sci/netcdf with Intel's ifc and icc
Product: Gentoo Linux Reporter: Joseph Antony <jantony>
Component: Current packagesAssignee: Jon Portnoy (RETIRED) <avenj>
Status: RESOLVED WONTFIX    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Joseph Antony 2003-08-21 21:00:06 UTC
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.
Comment 1 Joseph Antony 2003-09-15 19:27:36 UTC
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.

Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2003-10-21 19:02:28 UTC
Jon, who are the icc people?
Comment 3 Jon Portnoy (RETIRED) gentoo-dev 2003-10-21 19:30:46 UTC
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.