Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

boost (v1.71.0) #1035

Closed
koomie opened this issue Oct 7, 2019 · 7 comments
Closed

boost (v1.71.0) #1035

koomie opened this issue Oct 7, 2019 · 7 comments

Comments

@koomie
Copy link
Contributor

koomie commented Oct 7, 2019

http://www.boost.org/

@koomie koomie added this to the 1.3.9 milestone Oct 7, 2019
koomie added a commit that referenced this issue Oct 7, 2019
boostorg/mpi#81 which has been landed in
v1.71.0 release (#1035)

Signed-off-by: Karl W. Schulz <[email protected]>
koomie added a commit that referenced this issue Oct 7, 2019
koomie added a commit that referenced this issue Oct 7, 2019
koomie added a commit that referenced this issue Oct 7, 2019
@koomie
Copy link
Contributor Author

koomie commented Oct 9, 2019

@amblakem I'm having trouble getting the latest Boost release to build with the Intel toolchain. gcc variant is building but I'm getting something with intel that I don't recall seeing before (and a web search hasn't turned up anything for met yet). This issue is the initial bootstrap fails complaining about needing a C+=11 feature. I tried to enable by setting MPICXX='mpicxx -std=c++11' but that didn't help.

Example message is pasted below. Can you possibly take a look and see if you can get a build to cooperate with recent parallel studio? (I'm using 2019.u5 in OBS presently).

[  452s] +++ export _ModuleTable002_
[  452s] +++ _ModuleTable_Sz_=2
[  452s] +++ export _ModuleTable_Sz_
[  452s] +++ : -s sh
[  452s] ++ eval
[  452s] + export CC=mpicc
[  452s] + CC=mpicc
[  452s] + export CXX=mpicxx
[  452s] + CXX=mpicxx
[  452s] + export F77=mpif77
[  452s] + F77=mpif77
[  452s] + export FC=mpif90
[  452s] + FC=mpif90
[  452s] + export MPICC=mpicc
[  452s] + MPICC=mpicc
[  452s] + export MPIFC=mpifc
[  452s] + MPIFC=mpifc
[  452s] + export MPICXX=mpicxx
[  452s] + MPICXX=mpicxx
[  452s] + export 'MPICXX=mpicxx -std=c++11'
[  452s] + MPICXX='mpicxx -std=c++11'
[  452s] + export 'RPM_OPT_FLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -fno-strict-aliasing -Wno-unused-local-typedefs -Wno-deprecated-declarations'
[  452s] + RPM_OPT_FLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -fno-strict-aliasing -Wno-unused-local-typedefs -Wno-deprecated-declarations'
[  452s] + export RPM_LD_FLAGS
[  452s] + cat
[  452s] + LIBRARIES_FLAGS=--with-libraries=all
[  452s] + ./bootstrap.sh --with-libraries=all --prefix=/opt/ohpc/pub/libs/intel/openmpi3/boost/1.71.0 --with-toolset=intel-linux
[  468s] Building Boost.Build engine with toolset intel-linux... 
[  468s] Failed to build Boost.Build build engine
[  468s] Consult 'bootstrap.log' for more details
[  468s] + cat bootstrap.log
[  468s] Found mpicxx in environment
[  468s] ###
[  468s] ###
[  468s] ### Using 'intel-linux' toolset.
[  468s] ###
[  468s] ###
[  468s] mpicxx --version
[  468s] icpc (ICC) 19.0.5.281 20190815
[  468s] Copyright (C) 1985-2019 Intel Corporation.  All rights reserved.
[  468s] 
[  468s] ###
[  468s] ###
[  468s] mpicxx -xc++ -O3 -s -DNDEBUG builtins.cpp class.cpp command.cpp compile.cpp constants.cpp cwd.cpp debug.cpp debugger.cpp execcmd.cpp filesys.cpp frames.cpp function.cpp glob.cpp hash.cpp hcache.cpp hdrmacro.cpp headers.cpp jam.cpp jambase.cpp jamgram.cpp lists.cpp make.cpp make1.cpp md5.cpp mem.cpp modules.cpp native.cpp object.cpp option.cpp output.cpp parse.cpp pathsys.cpp regexp.cpp rules.cpp scan.cpp search.cpp strings.cpp subst.cpp sysinfo.cpp timestamp.cpp variable.cpp w32_getreg.cpp modules/order.cpp modules/path.cpp modules/property-set.cpp modules/regex.cpp modules/sequence.cpp modules/set.cpp execunix.cpp fileunix.cpp pathunix.cpp -o b2
[  468s] In file included from jam.cpp(137):
[  468s] sysinfo.h(41): warning #3500: field initializers are a C++11 feature
[  468s]           unsigned int cpu_core_count_ = 0;
[  468s]                                        ^
[  468s] 
[  468s] In file included from sysinfo.cpp(6):
[  468s] sysinfo.h(41): warning #3500: field initializers are a C++11 feature
[  468s]           unsigned int cpu_core_count_ = 0;

@amblakem
Copy link
Member

amblakem commented Oct 9, 2019

Sure thing. I'll take a look and report back.

@koomie
Copy link
Contributor Author

koomie commented Oct 9, 2019

Thanks.

@amblakem
Copy link
Member

amblakem commented Oct 9, 2019

I just put in a PR with a proposed fix. It looks like you were on the right track with what needed fixed, thank you for the pointers. There is an upstream issue tracking this (boostorg/build#475)

I believe that travis is failing on my PR because of #1034.

@koomie
Copy link
Contributor Author

koomie commented Oct 10, 2019

I believe that travis is failing on my PR because of #1034.

I landed #1034 and reran the Travis job on this PR - came out ok after the update. Thanks for that.

koomie added a commit that referenced this issue Oct 10, 2019
supplied by Aaron which touches the intel-linux toolset directly (#1035)

Signed-off-by: Karl W. Schulz <[email protected]>
@koomie
Copy link
Contributor Author

koomie commented Oct 10, 2019

Thanks for the sleuthing - i missed the upstream tracker. Looks like all of the builds are completing now with intel toolchain.

@koomie koomie added the built label Oct 10, 2019
@koomie
Copy link
Contributor Author

koomie commented Nov 7, 2019

Tests passing in CI.

@koomie koomie closed this as completed Nov 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants