
I am upgrading from Boost 1.30.0 to 1.31.0, trying to use bjam for the first time to build the libraries (including Regex). When building for intel-linux, I read (tools/build/v1/intel-linux-tools.html) that bjam would be able to find the compiler from the location of the iccvars.sh script. This did not work. Evidence: 162% which iccvars.sh /usr/local/intel/compiler80/ia32/bin/iccvars.sh 163% which icc /usr/local/intel/compiler80/ia32/bin/icc Despite both of these being in my PATH, bjam tried to look elsewhere: 168% bjam "-sTOOLS=intel-linux" --stagedir=stage "-sBUILD=debug release <threading>single" stage [snip] intel-linux-C++-action bin/boost/libs/date_time/build/libboost_date_time.so/intel-linux/debug/shared-linkable-true/greg_month.o /bin/sh: /opt/intel/compiler70/ia32/bin/iccvars.sh: No such file or directory Specifying the version number did not help: 169% bjam "-sTOOLS=intel-linux" "-sINTEL_VERSION=80" --stagedir=stage "-sBUILD=debug release <threading>single" stage [snip] intel-linux-C++-action bin/boost/libs/date_time/build/libboost_date_time.so/intel-linux/debug/shared-linkable-true/greg_month.o /bin/sh: /opt/intel_cc_80/bin/iccvars.sh: No such file or directory -- Dick Hadsell 914-259-6320 Fax: 914-259-6499 Reply-to: hadsell@blueskystudios.com Blue Sky Studios http://www.blueskystudios.com 44 South Broadway, White Plains, NY 10601

Richard Hadsell wrote:
I am upgrading from Boost 1.30.0 to 1.31.0, trying to use bjam for the first time to build the libraries (including Regex). When building for intel-linux, I read (tools/build/v1/intel-linux-tools.html) that bjam would be able to find the compiler from the location of the iccvars.sh script. This did not work.
Evidence:
162% which iccvars.sh /usr/local/intel/compiler80/ia32/bin/iccvars.sh 163% which icc /usr/local/intel/compiler80/ia32/bin/icc
Despite both of these being in my PATH, bjam tried to look elsewhere:
168% bjam "-sTOOLS=intel-linux" --stagedir=stage "-sBUILD=debug release <threading>single" stage [snip] intel-linux-C++-action bin/boost/libs/date_time/build/libboost_date_time.so/intel-linux/debug/shared-linkable-true/greg_month.o
/bin/sh: /opt/intel/compiler70/ia32/bin/iccvars.sh: No such file or directory
Specifying the version number did not help:
169% bjam "-sTOOLS=intel-linux" "-sINTEL_VERSION=80" --stagedir=stage "-sBUILD=debug release <threading>single" stage [snip] intel-linux-C++-action bin/boost/libs/date_time/build/libboost_date_time.so/intel-linux/debug/shared-linkable-true/greg_month.o
/bin/sh: /opt/intel_cc_80/bin/iccvars.sh: No such file or directory
It's the simple problem that we haven't updated the intel-linux-tools.jam to account for the new 8.0 version. I'll try and do that ASAP. In the mean time you should be able to specify the location directly. In your case (from the above comments) use these options: -sINTEL_VERSION=80 -sINTEL_PATH=/usr/local/intel/compiler80/ia32 I have a question though, normally the Intel compiler installs to /opt/intel. How did you make it install to /usr/local? -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com - 102708583/icq

Rene Rivera wrote:
In the mean time you should be able to specify the location directly. In your case (from the above comments) use these options:
-sINTEL_VERSION=80 -sINTEL_PATH=/usr/local/intel/compiler80/ia32
I did that (just the INTEL_PATH variable). The docs were clear about how to make it work. I just thought you should know that they were mistaken about being able to figure it out from the location of iccvars.sh.
I have a question though, normally the Intel compiler installs to /opt/intel. How did you make it install to /usr/local?
I have never installed the compiler myself, but our sys admin says that the compiler's installation script prompts you early on, just after asking about the license file, for where you want to install it. -- Dick Hadsell 914-259-6320 Fax: 914-259-6499 Reply-to: hadsell@blueskystudios.com Blue Sky Studios http://www.blueskystudios.com 44 South Broadway, White Plains, NY 10601
participants (2)
-
Rene Rivera
-
Richard Hadsell