[Llvm-bgq-discuss] november patches

Hal Finkel hfinkel at anl.gov
Fri Dec 21 19:31:42 CST 2012


Michael, et al.,

I've updated our local install on vesta to r170456-20121221. I've attached the corresponding patches. This version includes a new loop data prefetching optimization that I've been developing. For our install, I rename the attached wrapper script to bgclang and create a symlink to it called bgclang++ for use with C++ sources. I'll also post these on the web site sometime in the near future.

 -Hal

----- Original Message -----
> From: "Michael Blocksome" <blocksom at us.ibm.com>
> To: "Hal Finkel" <hfinkel at anl.gov>
> Cc: llvm-bgq-discuss at lists.alcf.anl.gov
> Sent: Friday, December 14, 2012 11:40:55 AM
> Subject: Re: [Llvm-bgq-discuss] november patches
> 
> Hal,
> 
> Thanks for the update. I've compiled llvm/clang locally with your
> patches and ran some "hello world" programs on our bgq hardware
> successfully. Works great!
> 
> Michael Blocksome
> Blue Gene Messaging
> blocksom at us.ibm.com
> 
> 
> 
> 
> From: Hal Finkel <hfinkel at anl.gov>
> To: Michael Blocksome/Rochester/IBM at IBMUS,
> Cc: llvm-bgq-discuss at lists.alcf.anl.gov
> Date: 12/13/2012 07:19 PM
> Subject: Re: [Llvm-bgq-discuss] november patches
> 
> 
> 
> 
> Michael, et al.,
> 
> I've switched the current llvm install on vesta to r170143-20121213;
> the website is down right now, so I'll post the patches once it
> comes back (and then I'll send out a real e-mail announcement). In
> the mean time, I've attached the patches and the corresponding
> updated bgclang wrapper script.
> 
> Please try these instead of using the ones currently on the web site.
> *Many* bugs have been fixed (and the performance should be better as
> well).
> 
> -Hal
> 
> ----- Original Message -----
> > From: "Hal Finkel" <hfinkel at anl.gov>
> > To: "Michael Blocksome" <blocksom at us.ibm.com>
> > Cc: llvm-bgq-discuss at lists.alcf.anl.gov
> > Sent: Wednesday, December 12, 2012 2:58:05 PM
> > Subject: Re: [Llvm-bgq-discuss] november patches
> > 
> > Michael,
> > 
> > I've not tried using --with-gcc-toolchain when configuring; I don't
> > know if that is causing a problem. Also, I generally build like
> > this:
> > make -j 8 ENABLE_OPTIMIZED=1 OPTIMIZE_OPTION=-O2
> > EXTRA_OPTIONS=-mminimal-toc
> > 
> > I'm aiming to have a new set of patches for everyone by the end of
> > the week.
> > 
> > -Hal
> > 
> > ----- Original Message -----
> > > Hal,
> > > 
> > > Thanks for the help. I pulled the llvm source from the revision
> > > that
> > > your most recently posted patches are diffed against, applied the
> > > patches, configured and compiled. Unfortunately, I'm getting some
> > > strange link errors that I can't seem to eliminate. Do you have
> > > any
> > > suggestions for different configure options I should try? Below
> > > is
> > > my
> > > current configure command:
> > > 
> > > bgqfen6 ~/development/llvm-build> head config.log
> > > This file contains any messages produced by compilers while
> > > running configure, to aid debugging if configure makes a mistake.
> > > 
> > > It was created by LLVM configure 3.2svn, which was
> > > generated by GNU Autoconf 2.60. Invocation command line was
> > > 
> > > $ ../llvm/configure
> > > --prefix=/bghome/blocksom/development/llvm-install
> > > --with-gcc-toolchain=/bgsys/drivers/ppcfloor/gnu-linux
> > > 
> > > ## --------- ##
> > > ## Platform. ##
> > > 
> > > 
> > > Thanks,
> > > 
> > > Michael Blocksome
> > > Blue Gene Messaging
> > > blocksom at us.ibm.com
> > > 
> > > 
> > > 
> > > 
> > > From: Hal Finkel <hfinkel at anl.gov>
> > > To: Michael Blocksome/Rochester/IBM at IBMUS,
> > > Cc: llvm-bgq-discuss at lists.alcf.anl.gov
> > > Date: 12/06/2012 12:58 PM
> > > Subject: Re: [Llvm-bgq-discuss] november patches
> > > 
> > > 
> > > 
> > > 
> > > Michael,
> > > 
> > > It would have been r167420. At this point, you might as well use
> > > the
> > > 3.2 release branch. I can rebase the patches for you as
> > > necessary.
> > > Also, FWIW, I'm very close to making another internal release
> > > candidate based on the current trunk version. If that happens
> > > next
> > > week, I'll probably just post patches for that.
> > > 
> > > Thanks again,
> > > Hal
> > > 
> > > ----- Original Message -----
> > > > From: "Michael Blocksome" <blocksom at us.ibm.com>
> > > > To: "Hal Finkel" <hfinkel at anl.gov>
> > > > Cc: llvm-bgq-discuss at lists.alcf.anl.gov
> > > > Sent: Thursday, December 6, 2012 12:50:20 PM
> > > > Subject: Re: [Llvm-bgq-discuss] november patches
> > > > 
> > > > Hal,
> > > > 
> > > > Do you know what revision (or release) of llvm/clang the june
> > > > patches
> > > > were made against? If so I could get llvm/clag working from
> > > > that
> > > > base until you have time to update the code/documentation.
> > > > 
> > > > 
> > > > Thanks,
> > > > 
> > > > Michael Blocksome
> > > > Blue Gene Messaging
> > > > blocksom at us.ibm.com
> > > > 
> > > > 
> > > > 
> > > > 
> > > > From: Hal Finkel <hfinkel at anl.gov>
> > > > To: Michael Blocksome/Rochester/IBM at IBMUS,
> > > > Cc: llvm-bgq-discuss at lists.alcf.anl.gov
> > > > Date: 12/06/2012 11:22 AM
> > > > Subject: Re: [Llvm-bgq-discuss] november patches
> > > > 
> > > > 
> > > > 
> > > > 
> > > > Michael,
> > > > 
> > > > I'll need to post updated patches (along with new wrapper
> > > > scripts,
> > > > etc.). Thanks for the reminder. I'll try to get this done by
> > > > next
> > > > week.
> > > > 
> > > > Thanks again,
> > > > Hal
> > > > 
> > > > ----- Original Message -----
> > > > > From: "Michael Blocksome" <blocksom at us.ibm.com>
> > > > > To: llvm-bgq-discuss at lists.alcf.anl.gov
> > > > > Sent: Thursday, December 6, 2012 11:05:14 AM
> > > > > Subject: [Llvm-bgq-discuss] november patches
> > > > > 
> > > > > 
> > > > > The llvm-bgq trac page (
> > > > > https://trac.alcf.anl.gov/projects/llvm-bgq/
> > > > > ) does not have the LLVM and clang patches for your most
> > > > > recent
> > > > > release, "r167420-20121105".
> > > > > 
> > > > > How can I get access to these patches and to what revision of
> > > > > the
> > > > > LLVM and clang svn repositories do I need to patch?
> > > > > 
> > > > > 
> > > > > Thanks,
> > > > > 
> > > > > Michael Blocksome
> > > > > Blue Gene Messaging
> > > > > 
> > > > > _______________________________________________
> > > > > 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
> > > > Postdoctoral Appointee
> > > > Leadership Computing Facility
> > > > Argonne National Laboratory
> > > > 
> > > > 
> > > > 
> > > 
> > > --
> > > Hal Finkel
> > > Postdoctoral Appointee
> > > Leadership Computing Facility
> > > Argonne National Laboratory
> > 
> > --
> > Hal Finkel
> > Postdoctoral Appointee
> > Leadership Computing Facility
> > Argonne National Laboratory
> > _______________________________________________
> > 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
> Postdoctoral Appointee
> Leadership Computing Facility
> Argonne National Laboratory
> [attachment "llvm-bgq-r170143-20121213.patch" deleted by Michael
> Blocksome/Rochester/IBM] [attachment
> "clang-bgq-r170143-20121213.patch" deleted by Michael
> Blocksome/Rochester/IBM] [attachment "bgclang-20121213" deleted by
> Michael Blocksome/Rochester/IBM]
> 

-- 
Hal Finkel
Postdoctoral Appointee
Leadership Computing Facility
Argonne National Laboratory
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm-bgq-r170456-20121221.patch
Type: text/x-patch
Size: 176302 bytes
Desc: not available
URL: <http://lists.alcf.anl.gov/pipermail/llvm-bgq-discuss/attachments/20121221/66bde462/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang-bgq-r170456-20121221.patch
Type: text/x-patch
Size: 72293 bytes
Desc: not available
URL: <http://lists.alcf.anl.gov/pipermail/llvm-bgq-discuss/attachments/20121221/66bde462/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bgclang-r170456-20121221
Type: application/x-shellscript
Size: 2224 bytes
Desc: not available
URL: <http://lists.alcf.anl.gov/pipermail/llvm-bgq-discuss/attachments/20121221/66bde462/attachment-0005.bin>


More information about the llvm-bgq-discuss mailing list