[Llvm-bgq-discuss] llvm-bgq
Hal Finkel
hfinkel at anl.gov
Wed Apr 2 15:25:28 CDT 2014
----- Original Message -----
> From: "Chris Samuel" <samuel at unimelb.edu.au>
> To: llvm-bgq-discuss at lists.alcf.anl.gov
> Sent: Wednesday, April 2, 2014 3:19:23 PM
> Subject: Re: [Llvm-bgq-discuss] llvm-bgq
>
> Hi Hal,
>
> On Wed, 2 Apr 2014 09:17:39 AM Hal Finkel wrote:
>
> > Yes, I have several users because of OpenFOAM.
>
> :-)
>
> > Regarding the errors, did you install the binutils package? It
> > looks like
> > you have not. You need the bgclang-binutils package for the setup
> > to
> > function properly.
>
> I believe I do, this is what RPM reports.
Sorry, you're right. That looks fine. I did not read the errors with sufficient care. Furthermore, I suspect you're correct about the relative link, on our systems ppcfloor is an absolute symlink like this:
$ ls -l /bgsys/drivers
total 12
lrwxrwxrwx 1 root root 27 Sep 23 2013 ppcfloor -> /bgsys/drivers/V1R2M1/ppc64
drwxr-xr-x 6 root root 4096 Sep 24 2013 toolchain
drwxr-xr-x 3 root root 4096 Aug 12 2013 V1R2M0
drwxr-xr-x 3 root root 4096 Mar 6 20:01 V1R2M1
Can you test this... edit the bgclang script and replace this line:
BGSYS_FLOOR=$(readlink /bgsys/drivers/ppcfloor)
with this:
BGSYS_FLOOR=$(readlink -f /bgsys/drivers/ppcfloor)
(so I'm adding -f to the readlink command).
and see if that fixes things.
Thanks again,
Hal
>
> [samuel at avoca samuel]$ rpm --dbpath /usr/local/llvm/rpmdir -qa
> bgclang-stage1-libcxx-3.4-1.ppc64
> bgclang-binutils-r203443-20140309-1-1.ppc64
> bgclang-compiler-rt-r203443-20140309-1-1.ppc64
> bgclang-libomp-r203443-20140309-1-2.ppc64
> vpkg-bin-sh-1-1.ppc64
> bgclang-stage1-3.4-1.ppc64
> bgclang-r203443-20140309-1-1.ppc64
> bgclang-libcxx-r203443-20140309-1-1.ppc64
> bgclang-sleef-r203443-20140309-1-1.ppc64
>
> So that's all 9 RPMs listed on the trac site.
>
> They are installeded with this script (the intention is to download
> each
> separate release into its own directory and then run this script from
> the
> parent):
>
> #!/bin/bash
>
> PREFIX=/usr/local/llvm
> RPMDIR=${PREFIX}/rpmdir
>
> mkdir -p ${RPMDIR}
>
> rpm -Uhv --dbpath ${RPMDIR} --prefix ${PREFIX}
> vpkg-bin-sh-*.ppc64.rpm
>
> rpm -Uhv --dbpath ${RPMDIR} --prefix ${PREFIX} bgclang-stage1*.rpm
>
> rpm -Uhv --dbpath ${RPMDIR} --prefix ${PREFIX}
> bgclang-binutils-*.ppc64.rpm bgcl
> ang-r*.ppc64.rpm bgclang-compiler-rt-*.ppc64.rpm
> bgclang-libcxx-*.ppc64.rpm bgcl
> ang-libomp-r203443-20140309-1-2.ppc64.rpm bgclang-sleef-*.ppc64.rpm
>
>
> Thanks!
> Chris
> --
> Christopher Samuel Senior Systems Administrator
> VLSCI - Victorian Life Sciences Computation Initiative
> Email: samuel at unimelb.edu.au Phone: +61 (0)3 903 55545
> http://www.vlsci.org.au/ http://twitter.com/vlsci
>
> _______________________________________________
> 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