public inbox for gsl-discuss@sourceware.org
 help / color / mirror / Atom feed
From: maxgacode <maxgacode@gmail.com>
To: Tuomo Keskitalo <Tuomo.Keskitalo@iki.fi>
Cc: Brian Gough <bjg@gnu.org>,
	 GSL Discuss Mailing List <gsl-discuss@sourceware.org>
Subject: Re: [Help-gsl] test release for 1.15
Date: Wed, 11 May 2011 19:31:00 -0000	[thread overview]
Message-ID: <4DCAE406.1070301@gmail.com> (raw)
In-Reply-To: <4DBD462C.5000301@iki.fi>

On 01/05/2011 13.38, Tuomo Keskitalo wrote:

Hi,

I'm compiling the latest 1.15 using MinGW+Msys in a Win XP platform.
I've got a problem related to ode-initval2. I used GCC version 4.5.2
(MinGW latest official version) with CFLAGS="-fexceptions -mthreads" and
make -k check completed successfully. The issue is appearing turning on
optimization,

with CFLAGS="-O2 -fexceptions -mthreads"

the only failing test is related to ode-initval2 reported as


make[2]: Leaving directory `/home/emasgas/gsl-1.15/ode-initval'
make[1]: Leaving directory `/home/emasgas/gsl-1.15/ode-initval'
Making check in ode-initval2
make[1]: Entering directory `/home/emasgas/gsl-1.15/ode-initval2'
make  test.exe
make[2]: Entering directory `/home/emasgas/gsl-1.15/ode-initval2'
make[2]: `test.exe' is up to date.
make[2]: Leaving directory `/home/emasgas/gsl-1.15/ode-initval2'
make  check-TESTS
make[2]: Entering directory `/home/emasgas/gsl-1.15/ode-initval2'
FAIL: bsimp/msbdf e5_bigt [1] (1.0190909463048507e-020 observed vs
1.020144070808528e-020 expected) [1214]
FAIL: bsimp/msbdf e5_bigt [2] (1.0194255784181719e-020 observed vs
1.0183729939450725e-020 expected) [1215]
FAIL: bsimp/msbdf e5_bigt [3] (3.7405084513304344e-065 observed vs
3.7366884728539915e-065 expected) [1216]
FAIL: test.exe
==================
1 of 1 test failed
==================

even worse with CFLAGS="-mfpmath=sse -msse2 -O2 -fexceptions -mthreads"
(using sse2 the IEEE float is (shuold be) used without extra precision)
I've got

make[1]: Entering directory `/home/emasgas/gsl-1.15/ode-initval2'
make  test.exe
make[2]: Entering directory `/home/emasgas/gsl-1.15/ode-initval2'
gcc -DHAVE_CONFIG_H -I. -I.. -I..    -mfpmath=sse -msse2 -O2
-fexceptions -mthreads -MT test.o -MD -MP -MF .deps/test.Tpo -c -o
test.o test.c
mv -f .deps/test.Tpo .deps/test.Po
/bin/sh ../libtool --tag=CC   --mode=link gcc  -mfpmath=sse -msse2 -O2
-fexceptions -mthreads   -o test.exe test.o libgslodeiv2.la
../linalg/libgsllinalg.la ../blas/libgslblas.la ../cblas/libgslcblas.la
../matrix/libgslmatrix.la ../permutation/libgslpermutation.la
../vector/libgslvector.la ../block/libgslblock.la
../complex/libgslcomplex.la ../ieee-utils/libgslieeeutils.la
../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la
../utils/libutils.la  -lm
libtool: link: gcc -mfpmath=sse -msse2 -O2 -fexceptions -mthreads -o
test.exe test.o  ./.libs/libgslodeiv2.a ../linalg/.libs/libgsllinalg.a
../blas/.libs/libgslblas.a ../cblas/.libs/libgslcblas.a
../matrix/.libs/libgslmatrix.a ../permutation/.libs/libgslpermutation.a
../vector/.libs/libgslvector.a ../block/.libs/libgslblock.a
../complex/.libs/libgslcomplex.a ../ieee-utils/.libs/libgslieeeutils.a
../err/.libs/libgslerr.a ../test/.libs/libgsltest.a
../sys/.libs/libgslsys.a ../utils/.libs/libutils.a -mthreads
make[2]: Leaving directory `/home/emasgas/gsl-1.15/ode-initval2'
make  check-TESTS
make[2]: Entering directory `/home/emasgas/gsl-1.15/ode-initval2'
-- order change -2
gsl: msbdf.c:1336: ERROR: msbdf_apply too large order change
Default GSL error handler invoked.

This application has requested the Runtime to terminate it in an unusual
way.
Please contact the application's support team for more information.
FAIL: test.exe
==================
1 of 1 test failed
==================
make[2]: *** [check-TESTS] Error 1
make[2]: Leaving directory `/home/emasgas/gsl-1.15/ode-initval2'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/home/emasgas/gsl-1.15/ode-initval2'
make: *** [check-recursive] Error 1

I also changed the compiler version (using CFLAGS="-O2 -fexceptions
-mthreads" ) and

GCC 3.4.5 => OK
GCC 4.2.1 => OK
GCC 4.4.0 => Failing
GCC 4.5.2 => Failing

I don't know if the test limits are too much stringent or there is a bug
or incompatibility with GCC 4.4.x onwards.

At the moment I'm using the library compiled (and make check passed)
with GCC 4.5.2 removing the -O2 from the Makefile in ode-initval2, but
any patch to permit optimization is welcome.

Should I submit a bug officially to trace the issue?

Regards

Max

      parent reply	other threads:[~2011-05-11 19:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1Q9crM-00024Q-M3.1302611902=b508ee37@network-theory.co.uk>
     [not found] ` <BANLkTimzJCcv9FmjCUoS2u=Oj-40+4fn0g@mail.gmail.com>
2011-04-12 16:07   ` Brian Gough
     [not found] ` <431v0khekb.wl%bjg@gnu.org>
2011-05-01 11:38   ` Tuomo Keskitalo
2011-05-02 22:36     ` Brian Gough
2011-05-11 19:31     ` maxgacode [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DCAE406.1070301@gmail.com \
    --to=maxgacode@gmail.com \
    --cc=Tuomo.Keskitalo@iki.fi \
    --cc=bjg@gnu.org \
    --cc=gsl-discuss@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).