[Llvm-bgq-discuss] llvm-bgq

Hal Finkel hfinkel at anl.gov
Wed Apr 2 16:00:43 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:54:02 PM
> Subject: Re: [Llvm-bgq-discuss] llvm-bgq
> 
> Hi Hal,
> 
> On Wed, 2 Apr 2014 03:25:28 PM Hal Finkel wrote:
> 
> > Sorry, you're right. That looks fine. I did not read the errors
> > with
> > sufficient care.
> 
> Not a problem, took me a bit to figure out they should be getting
> included.
> 
> > Furthermore, I suspect you're correct about the relative
> > link, on our systems ppcfloor is an absolute symlink like this:
> 
> Understood, after out BG/P experiences with a system dropped onto the
> floor
> we decided to get our Power7 boxes up front and xCAT'd the
> installation of
> the service node and I suspect that's one thing our postscripts do
> differently.
> 
> > Can you test this... edit the bgclang script and replace this line:
> [...]
> > and see if that fixes things.
> 
> That fixes up the MPI/PAMI/SPI side of things, great!
> 
> I still have these errors, are they meant to get resolved
> automatically?

I don't understand why your layout is different. Can you please run:

find /bgsys -name crtbegin.o -o -name libpthread.a -o -name libnss_files.a 2>/dev/null

and send the output?

Thanks again,
Hal

> 
> [samuel at avoca-test Test]$ mpicc -O3 -o hello-bgclang hello.c
> /usr/local/llvm/r203443-20140309/bin/clang: /lib64/libz.so.1: no
> version information available (required by
> /usr/local/llvm/r203443-20140309/bin/../lib/libLLVM-3.5.0svn.so)
> /usr/local/llvm/r203443-20140309/bin/clang: /lib64/libz.so.1: no
> version information available (required by
> /usr/local/llvm/r203443-20140309/bin/../lib/libLLVM-3.5.0svn.so)
> /usr/local/llvm/r203443-20140309/binutils/bin/as: /lib64/libz.so.1:
> no version information available (required by
> /usr/local/llvm/r203443-20140309/binutils/bin/as)
> /usr/local/llvm/r203443-20140309/binutils/bin/ld: /lib64/libz.so.1:
> no version information available (required by
> /usr/local/llvm/r203443-20140309/binutils/bin/ld)
> /usr/local/llvm/r203443-20140309/binutils/bin/ld: cannot find
> crtbeginT.o: No such file or directory
> /usr/local/llvm/r203443-20140309/binutils/bin/ld: cannot find -lrt
> /usr/local/llvm/r203443-20140309/binutils/bin/ld: cannot find
> -lpthread
> /usr/local/llvm/r203443-20140309/binutils/bin/ld: cannot find
> -lstdc++
> /usr/local/llvm/r203443-20140309/binutils/bin/ld: cannot find
> -lpthread
> /usr/local/llvm/r203443-20140309/binutils/bin/ld: cannot find -lgcc
> /usr/local/llvm/r203443-20140309/binutils/bin/ld: cannot find
> -lgcc_eh
> /usr/local/llvm/r203443-20140309/binutils/bin/ld: cannot find -ldl
> /usr/local/llvm/r203443-20140309/binutils/bin/ld: cannot find -lc
> /usr/local/llvm/r203443-20140309/binutils/bin/ld: cannot find
> -lnss_files
> /usr/local/llvm/r203443-20140309/binutils/bin/ld: cannot find
> -lnss_dns
> /usr/local/llvm/r203443-20140309/binutils/bin/ld: cannot find
> -lresolv
> /usr/local/llvm/r203443-20140309/binutils/bin/ld: cannot find -lm
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
> 
> 
> I've got to go catch the train to work, back online later!
> 
> Thanks so much for taking the time to get back to me, really
> appreciated.
> 
> All the best,
> 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