<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Hi Hal,
<div class=""><br class="">
</div>
<div class="">Thanks, you’re right, that was it. I used an old version of the script that sets the updated toolchain directory, but now it works.</div>
<div class=""><br class="">
</div>
<div class="">Michael</div>
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On 20 Mar 2015, at 12:03 , Hal Finkel <<a href="mailto:hfinkel@anl.gov" class="">hfinkel@anl.gov</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Hi
Michael,</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">I'm
unable to replicate this problem in a simple test. In the past, "undefined reference to `vtable for std::nested_exception'" has almost always meant that you're not picking up the GCC 4.7.2 toolchain files. Can you run that linking command with -v and make
sure that you are (or send me the output)?</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Thanks
again,</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Hal</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">P.S.
Thanks for posting your script; I'm sure that others will find it useful.</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">-----
Original Message -----</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
From: "Michael Schlottke" <<a href="mailto:m.schlottke@fz-juelich.de" class="">m.schlottke@fz-juelich.de</a>><br class="">
To: "Hal Finkel" <<a href="mailto:hfinkel@anl.gov" class="">hfinkel@anl.gov</a>><br class="">
Cc: <a href="mailto:llvm-bgq-discuss@lists.alcf.anl.gov" class="">llvm-bgq-discuss@lists.alcf.anl.gov</a><br class="">
Sent: Friday, March 20, 2015 5:44:27 AM<br class="">
Subject: Re: [Llvm-bgq-discuss] New bgclang nighty builds (and other updates)<br class="">
<br class="">
Hi everyone,<br class="">
<br class="">
<br class="">
First of all, thanks a lot Hal, for the continued development of<br class="">
bclang and the maintenance of the easy-to-install RPMs.<br class="">
Unfortunately, linking does not seem to work with r232720-20150319<br class="">
and our code on JUQEEN:<br class="">
<br class="">
<br class="">
<br class="">
Linking CXX executable zfs<br class="">
/bgsys/local/clang/r232720-20150319/r232720-20150319/libc++/lib/libc++.a(exception.cpp.o):(.toc+0x0):<br class="">
undefined reference to `vtable for std::nested_exception'<br class="">
/bgsys/local/clang/r232720-20150319/r232720-20150319/binutils/bin/ld:<br class="">
/bgsys/drivers/V1R2M2/ppc64/gnu-linux/powerpc64-bgq-linux/lib/libc.a(clone.o):<br class="">
In function `__clone':<br class="">
(.text+0x98): call to `_exit' lacks nop, can't restore toc; recompile<br class="">
with<br class="">
-fPIC/bgsys/local/clang/r232720-20150319/r232720-20150319/binutils/bin/ld:<br class="">
final link failed: Bad value<br class="">
clang: error: linker command failed with exit code 1 (use -v to see<br class="">
invocation)<br class="">
<br class="">
<br class="">
Any idea what the source of the problem could be? The only change we<br class="">
made is to switch from r220548-20141024 to the current nightly<br class="">
build.<br class="">
<br class="">
<br class="">
Regards,<br class="">
<br class="">
<br class="">
Michael<br class="">
<br class="">
<br class="">
P.S.: At JSC we use a set of install scripts to download and install<br class="">
the newest bgclang version. I finally got around to putting them on<br class="">
GitHub, so if anyone is interested, have a look at<br class="">
<a href="https://github.com/sloede/install-bgq" class="">https://github.com/sloede/install-bgq</a> . Please note that while the<br class="">
scripts should work on any BG/Q installation, they are only tested<br class="">
on JUQUEEN so far.<br class="">
<br class="">
--<br class="">
Michael Schlottke<br class="">
<br class="">
<br class="">
SimLab Highly Scalable Fluids & Solids Engineering<br class="">
Jülich Supercomputing Centre (JSC)<br class="">
Forschungszentrum Jülich GmbH<br class="">
52425 Jülich<br class="">
Germany<br class="">
<br class="">
Phone: +49 (2461) 61 2326<br class="">
Mail: <a href="mailto:m.schlottke@fz-juelich.de" class="">m.schlottke@fz-juelich.de</a><br class="">
Web: <a href="http://www.fz-juelich.de/jsc" class="">http://www.fz-juelich.de/jsc</a><br class="">
<br class="">
<br class="">
<br class="">
<br class="">
On 20 Mar 2015, at 00:15 , Hal Finkel < <a href="mailto:hfinkel@anl.gov" class="">
hfinkel@anl.gov</a> > wrote:<br class="">
<br class="">
Hello everyone,<br class="">
<br class="">
First, let me apologize to everyone, this is a few months late...<br class="">
but, hopefully, this will never be a problem again...<br class="">
<br class="">
I now have a system setup which automatically pulls in upstream<br class="">
changes and tries to merge those with the bgclang-specific patches,<br class="">
and then builds the resulting suite of bgclang RPMs. When this<br class="">
succeeds, the RPMs should be posted automatically to:<br class="">
<br class="">
<a href="http://www.mcs.anl.gov/~hfinkel/bgclang/" class="">http://www.mcs.anl.gov/~hfinkel/bgclang/</a><br class="">
(note that installing a build from here now also requires both the<br class="">
'stage1' and 'stage2' RPMs as well)<br class="">
<br class="">
The first such nightly build, r232720-20150319, has been posted to<br class="">
that page.<br class="">
<br class="">
And, for the curious, the local repositories used for version control<br class="">
are now mirrored to github:<br class="">
<br class="">
https://github.com/hfinkel/clang-bgq<br class="">
https://github.com/hfinkel/llvm-bgq<br class="">
https://github.com/hfinkel/bgclang-aux<br class="">
https://github.com/hfinkel/compiler-rt-bgq<br class="">
https://github.com/hfinkel/libcxx-bgq<br class="">
https://github.com/hfinkel/openmp-bgq<br class="">
https://github.com/hfinkel/sleef-bgq<br class="">
<br class="">
Compared to the latest "released" version (r220548-20141024), the<br class="">
most-recent nightly build does show some performance regressions,<br class="">
and there are a few things I've not even tested yet (LTO, ASan,<br class="">
etc.), but it also contains a number of bug fixes and improvements,<br class="">
so feel free to test on your applications.<br class="">
<br class="">
One particular noteworthy improvement is that our OpenMP runtime<br class="">
library now has affinity support enabled. This means that all of the<br class="">
OpenMP 4 affinity features should work, and also that the default<br class="">
thread<->core bindings are now sensible.<br class="">
<br class="">
The bgclang wrapper script no longer disables 'fast-isel' instruction<br class="">
selection at -O0, so your debug builds should now be faster too.<br class="">
Also, the automated vectorization of math functions using our SLEEF<br class="">
library adaptation is controlled using the new -fveclib flag (so the<br class="">
wrapper script contains -fveclib=SLEEF, and you can add<br class="">
-fveclib=none to turn it off if desired for whatever reason).<br class="">
<br class="">
Also, the core QPX support has been contributed upstream (although<br class="">
not yet the Clang-level intrinsics support); so if you're using LLVM<br class="">
as a library, and want to just build from upstream sources instead<br class="">
of depending on the bgclang builds, that is now possible.<br class="">
<br class="">
Thanks again everyone, and please let me know if you experience any<br class="">
difficulties,<br class="">
Hal<br class="">
<br class="">
--<br class="">
Hal Finkel<br class="">
Assistant Computational Scientist<br class="">
Leadership Computing Facility<br class="">
Argonne National Laboratory<br class="">
_______________________________________________<br class="">
llvm-bgq-discuss mailing list<br class="">
llvm-bgq-discuss@lists.alcf.anl.gov<br class="">
https://lists.alcf.anl.gov/mailman/listinfo/llvm-bgq-discuss<br class="">
<br class="">
<br class="">
<br class="">
------------------------------------------------------------------------------------------------<br class="">
------------------------------------------------------------------------------------------------<br class="">
Forschungszentrum Juelich GmbH<br class="">
52425 Juelich<br class="">
Sitz der Gesellschaft: Juelich<br class="">
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498<br class="">
Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher<br class="">
Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender),<br class="">
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,<br class="">
Prof. Dr. Sebastian M. Schmidt<br class="">
------------------------------------------------------------------------------------------------<br class="">
------------------------------------------------------------------------------------------------<br class="">
<br class="">
<br class="">
</blockquote>
<br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">--<span class="Apple-converted-space"> </span></span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Hal
Finkel</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Assistant
Computational Scientist</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Leadership
Computing Facility</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Argonne
National Laboratory</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">_______________________________________________</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">llvm-bgq-discuss
mailing list</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<a href="mailto:llvm-bgq-discuss@lists.alcf.anl.gov" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">llvm-bgq-discuss@lists.alcf.anl.gov</a><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<a href="https://lists.alcf.anl.gov/mailman/listinfo/llvm-bgq-discuss" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">https://lists.alcf.anl.gov/mailman/listinfo/llvm-bgq-discuss</a></div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>