help-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gsl] test release for GSL 2.4


From: Vale Cofer-Shabica
Subject: Re: [Help-gsl] test release for GSL 2.4
Date: Wed, 14 Jun 2017 10:24:47 -0400

Hi Patrick,

Thank you for all the work you do for this package!

I have the following to report:

SUCCESS:
Up-to date x86_64 Arch Linux machine: gcc 7.1.1, glibc 2.25

TEST FAILURES:
Ancient x86_64 Rocks 4.3 cluster (based on 2007 era centos): Linux 2.6.18
gcc 4.4.4, glibc2.4
    specfunc failed
2010-era power-pc cluster: Linux 2.6.32, gcc 4.4.7, glibc 2.12
    linalg failed

COMPILE FAILURE:
Same 2010-era cluster using the cross-compilation wrappers for BlueGene
nodes: powerpc64-bgq-linux-gcc (BGQ-V1R2M2-150309) 4.4.7
fails attempting to build shared library (even with --disable-shared)
because only static libs are supported by the system:

./configure --disable-shared CC=/soft/compilers/wrappers/gcc/mpicc && make
&& make check
...
libtool: link: /soft/compilers/wrappers/gcc/mpicc -g -O2 -o gsl-randist
gsl-randist.o  ./.libs/libgsl.a cblas/.libs/libgslcblas.so -lm -Wl,-rpath
-Wl,/home/vale/tmp/gsl-tst/cross/gsl-2.3.90/cblas/.libs -Wl,-rpath
-Wl,/usr/local/lib
/bgsys/drivers/toolchain/V1R2M2_base-efix014/gnu-linux/lib/gcc/powerpc64-bgq-linux/4.4.7/../../../../powerpc64-bgq-linux/bin/ld:
attempted static link of dynamic object `cblas/.libs/libgslcblas.so'
collect2: ld returned 1 exit status
make[2]: *** [gsl-randist] Error 1
make[2]: Leaving directory
`/gpfs/mira-home/vale/tmp/gsl-tst/cross/gsl-2.3.90'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/gpfs/mira-home/vale/tmp/gsl-tst/cross/gsl-2.3.90'
make: *** [all] Error 2



--
vale cofer-shabica
401.267.8253

On Wed, Jun 14, 2017 at 9:03 AM, Mohammad Akhlaghi <
address@hidden> wrote:

> Hi Patrick,
>
> The `./configure', `make', and `make check' commands ran successfully on
> my system (Arch Linux, GCC 7.1.1, GNU C Library 2.25).
>
> To speed up the build, I usually run the Make commands with `-j8' to build
> in parallel on 8 threads on this system. `make -j8' worked nicely and
> everything was built. But when I ran `make check -j8', there was a
> segmentation fault for the `vector' tests (in P.S.). So I removed the `-j8'
> and all tests passed. This is probably due to dependencies in a
> multi-threaded check (where the tests are built at the same time, not after
> each other).
>
> So, I had a look at `vector/Makefile.am'. It shows that indeed no
> dependencies are defined for these tests. We had the same issue in
> Gnuastro's `make check' and was able to solve it using an intermediate
> script to run the built programs (and thus not including
> `$(check_PROGRAMS)' in `TESTS'.
>
> In the link below you can see Gnuastro's `tests/Makefile.am' (we have
> merged all the tests of all the programs/libraries into one Makefile). In
> particular, you can see the part under the "Library checks" title (line
> 194) and its comments.
>
> http://git.savannah.gnu.org/cgit/gnuastro.git/tree/tests/Makefile.am
>
> The `multithread.c' test program depends on the output of another test
> (`mkprof/mosaic1.sh'). So we have not put `$(check_PROGRAMS)' in `TESTS'
> and instead defined a small script (`lib/multithread.sh') which depends on
> the output of the dependent test (`mkprof/mosaic1.sh.log', line 207).
>
> Ofcourse, in the current architecture, GSL's tests are not unified in one
> `Makefile.am', but are distributed over separate files with a handful of
> (sometimes only one) test(s) in each. So running the tests in parallel will
> not significantly improve the speed. But to avoid confusion in cases like
> this, it can good to define dependencies like this so those tests that
> depend on others don't fail.
>
> Thank you very much,
> Mohammad
>
>
> P.S.
>
> make[2]: Entering directory '/home/id/desktop/gsl-2.3.90/vector'
> make[3]: Entering directory '/home/id/desktop/gsl-2.3.90/vector'
> ../test-driver: line 95: 32689 Segmentation fault      (core dumped) "$@"
> > $log_file 2>&1
> FAIL: test_static
> PASS: test
> make[4]: Entering directory '/home/id/desktop/gsl-2.3.90/vector'
> make[4]: Nothing to be done for 'all'.
> make[4]: Leaving directory '/home/id/desktop/gsl-2.3.90/vector'
> ============================================================
> ================
> Testsuite summary for gsl 2.3.90
> ============================================================
> ================
> # TOTAL: 2
> # PASS:  1
> # SKIP:  0
> # XFAIL: 0
> # FAIL:  1
> # XPASS: 0
> # ERROR: 0
> ============================================================
> ================
> See vector/test-suite.log
> ============================================================
> ================
> make[3]: *** [Makefile:741: test-suite.log] Error 1
> make[3]: Leaving directory '/home/id/desktop/gsl-2.3.90/vector'
> make[2]: *** [Makefile:849: check-TESTS] Error 2
> make[2]: Leaving directory '/home/id/desktop/gsl-2.3.90/vector'
> make[1]: *** [Makefile:927: check-am] Error 2
> make[1]: Leaving directory '/home/id/desktop/gsl-2.3.90/vector'
> make: *** [Makefile:961: check-recursive] Error 1
>
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]