[Llvm-bgq-discuss] trouble with latest clang install

Hal Finkel hfinkel at anl.gov
Thu Feb 13 09:21:10 CST 2014


John,

You're using the wrapper scripts in a way I don't intend, and I think this is resulting in these problems. There are two modes that should work:

 using bgclang++ or mpic++ -- this is for C++03, and uses the system libstdc++
 using bgclang++11 or mpic++11 -- this is for C++11 and uses libc++

It looks like you're trying to use the former but want the latter. Does using bgclang++11 (or mpic++11) work for you without the workarounds?

 -Hal

----- Original Message -----
> From: "John A. Biddiscombe" <biddisco at cscs.ch>
> To: llvm-bgq-discuss at lists.alcf.anl.gov
> Sent: Thursday, February 13, 2014 4:34:48 AM
> Subject: [Llvm-bgq-discuss] trouble with latest clang install
> 
> Dear list,
> 
> 
> 
> I fetched the most recent rpms from the site yesterday and using the
> flags
> 
> -stdlib=libc++ -std=c++0x
> 
> -I/gpfs/bbp.cscs.ch/home/biddisco/bgas/apps/clang/r201012-20140207/libstdc++fixup/include
> 
> (I needed the fixup/include for typeinfo)
> 
> 
> 
> I have
> 
> /gpfs/bbp.cscs.ch/home/biddisco/bgas/apps/clang/r201012-20140207/libstdc++fixup/include/typeinfo:34:10:
> fatal error: 'exception' file not found
> 
> #include <exception>
> 
> ^
> 
> 
> 
> Q1 Have I misconfigured something?
> 
> Q2 Is it safe to point the include path to the system exception
> header which is a trifle old
> 
> /usr/include/c++/4.4.4/exception
> 
> 
> 
> thanks
> 
> 
> 
> JB
> 
> 
> 
> --
> 
> John Biddiscombe, email:biddisco @.at.@ cscs.ch
> 
> http://www.cscs.ch/
> 
> CSCS, Swiss National Supercomputing Centre | Tel: +41 (91) 610.82.07
> 
> Via Trevano 131, 6900 Lugano, Switzerland | Fax: +41 (91) 610.82.82
> 
> 
> _______________________________________________
> llvm-bgq-discuss mailing list
> llvm-bgq-discuss at lists.alcf.anl.gov
> https://lists.alcf.anl.gov/mailman/listinfo/llvm-bgq-discuss
> 

-- 
Hal Finkel
Assistant Computational Scientist
Leadership Computing Facility
Argonne National Laboratory


More information about the llvm-bgq-discuss mailing list