Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27092 - Possible compile flags for app-sci/netcdf with Intel's ifc and icc
Summary: Possible compile flags for app-sci/netcdf with Intel's ifc and icc
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Jon Portnoy (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-21 21:00 UTC by Joseph Antony
Modified: 2003-10-21 19:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.