[cfe-dev] clang on BGQ

Hal Finkel hfinkel at anl.gov
Wed Apr 17 11:29:35 PDT 2013


----- Original Message -----
> From: "Michael Kruse" <cfe-dev at meinersbur.de>
> To: "Paolo Crosetto" <p.crosetto at fz-juelich.de>
> Cc: cfe-dev at cs.uiuc.edu
> Sent: Wednesday, April 17, 2013 12:06:37 PM
> Subject: Re: [cfe-dev] clang on BGQ
> 
> Hello,
> 
> there is a backend for BG/Q CNKs available here:
> http://lists.alcf.anl.gov/pipermail/llvm-bgq-discuss/2013-March/000131.html
> (The .bin file is a .tar.gz)
> 
> It contains a wrapper script "bgclang" that will link against the CNK
> CRT. To run on Juqueen, you will need to patch the clang driver to
> put
> the directory /usr/lib64 after the cross-compile specific library
> search paths. Otherwise it will try to link the frontend CRT. Also
> you
> will need to edit hard-coded paths in a lot of places.
> 
> For also using MPI on the nodes, there are MPI compiler wrappers
> available with the older patches at
> http://trac.alcf.anl.gov/projects/llvm-bgq

These older wrapper scripts don't match the V1R2 MPI release; I'll can send updated versions to the llvm-bgq-discuss list (https://lists.alcf.anl.gov/mailman/listinfo/llvm-bgq-discuss). Let me know once you've subscribed there. The wrapper scripts, etc. are system specific, and will likely never be submitted upstream.

> 
> It also generates QPX intrinsics, but in my experience so far, it's
> buggy.

I intend to upstream the QPX support, but I might not get to it until after the 3.3 cutoff. I've been working this month and last on a long list of non-QPX specific improvements to the PowerPC backend, and these things have gone upstream first.

In any case, there are no QPX bugs of which I know, and there are several groups using my QPX-enabled builds. I'll fix whatever bugs Michael has found too, as soon as he tells me what they are ;) We should move this discussion onto the llvm-bgq-discuss list as it does not involve upstream features.

 -Hal

> 
> I have clang running on Juqueen. If you are interested, it might be
> easier to copy my files.
> 
> Good luck,
> Michael Kruse
> 
> 
> 2013/4/17 Paolo Crosetto <p.crosetto at fz-juelich.de>:
> > Dear developers,
> >
> > I recently compiled the git snapshot of clang on an IBM Blue Gene/Q
> > supercomputer, however the compiler produces executables for the
> > front-end node, while I should cross-compile to create executables
> > for
> > the compute nodes. I tried to gather some information googling how
> > to set up a clang cross compiler but I couldn't figure it out. Does
> > anyone have suggestions?
> > Thanks!
> >
> > Paolo
> >
> >
> > ------------------------------------------------------------------------------------------------
> > ------------------------------------------------------------------------------------------------
> > Forschungszentrum Juelich GmbH
> > 52425 Juelich
> > Sitz der Gesellschaft: Juelich
> > Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B
> > 3498
> > Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher
> > Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
> > Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
> > Prof. Dr. Sebastian M. Schmidt
> > ------------------------------------------------------------------------------------------------
> > ------------------------------------------------------------------------------------------------
> >
> > _______________________________________________
> > cfe-dev mailing list
> > cfe-dev at cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
> 



More information about the cfe-dev mailing list