[R-sig-hpc] issue building R 2.12.1 on CrayXT

Paul Johnson pauljohn32 at gmail.com
Wed Feb 9 19:33:06 CET 2011


Hello!

I don't have a Cray to test with :)  I have built R on all varieties
of Linux.  My first suggestion would be to simplify your configure
options.  You can add those in later if you really need to, but they
may be causing damage you don't expect.

Right now, I am trying to compile R with the same options you have, on
a Rocks LInux cluster with gcc.  Your spec calls for  non-GCC
compilers, which I don't have, and the configure fails, so I tried
this:

./configure --prefix=/tmp/trash CC=gcc CXX=g++ --without-x
--without-blas --without-lapack

If that build finishes before I have to close this email, I will let
you know what happens.

OK, I'm back.  That compile did work and all the packages built too.
So aside from your specification of compilers, I can't say much about
what is wrong on your system.

Have you tried the vanilla

./configure --prefix=/tmp/whatever

to see what happens?

pj

On Tue, Feb 8, 2011 at 5:31 PM, Tom Hilinski <tom.hilinski at colostate.edu> wrote:
> Hi, I'm having an issue building R successfully on a Cray XT system. If
> you can suggest a solution, I would be very appreciative.
>
> Am building with gcc 4.4 module installed.
> configure cmd:
>  ./configure --prefix=<cut> CC=cc CXX=CC FC=ftn F77=ftn F90=ftn
> --without-x --without-blas --without-lapack --disable-shared
> --disable-R-profiling
>
> I've omitted the last 2 options w/out any change in the issues.
>
> So here's what I'm coming up with:
> While the base packages are being built, I get a dynamic load error:
>
>    make[6]: Entering directory `<cut>/R-2.12.1/src/library/tools/src'
>    ../../../../library/tools/libs/tools.so is unchanged
>    make[6]: Leaving directory `<cut>/R-2.12.1/src/library/tools/src'
>    make[5]: Leaving directory `<cut>/R-2.12.1/src/library/tools/src'
>    make[4]: Leaving directory `<cut>/R-2.12.1/src/library/tools'
>    Error in dyn.load(file, DLLpath = DLLpath, ...) :
>    unable to load shared object
> '<cut>/R-2.12.1/library/tools/libs/tools.so':
>    <cut>/R-2.12.1/library/tools/libs/tools.so: undefined symbol: R_NaString
>    Calls: ::: ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
>    Execution halted
>    make[3]: *** [all] Error 1
>
> There is a file "library/tools/libs/tools.so".
>
> Any ideas as to the cause?
>
> _______________________________________________
> R-sig-hpc mailing list
> R-sig-hpc at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-hpc
>



-- 
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas



More information about the R-sig-hpc mailing list