This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

problem with gsl and icc




Brian Gough wrote:

>Daniel Rohe writes:
> > hi there,
> > 
> > has anyone tried to compile gsl using the intel compiler (icc) under Linux?
> > 
>
>Hi,
>
>I don't know of anyone who has tried using icc.  The code is ansi, so
>it should work with any compiler in theory, but if you hit practical
>problems you could post them here.
>
ok, so I compiled gsl using icc by setting the CC environment variable 
to icc using the tcsh.
compilation is not the problem, but make check yields the following:

...
 PASS: gsl_isinf(0) (0 observed vs 0 expected)
PASS: gsl_isinf(1) (0 observed vs 0 expected)
FAIL: gsl_isinf(inf) (0 observed vs 1 expected)
FAIL: gsl_isinf(-inf) (0 observed vs -1 expected)
PASS: gsl_isinf(nan) (0 observed vs 0 expected)
PASS: gsl_isnan(0) (0 observed vs 0 expected)
PASS: gsl_isnan(1) (0 observed vs 0 expected)
PASS: gsl_isnan(inf) (0 observed vs 0 expected)
FAIL: gsl_isnan(nan) (0 observed vs 1 expected)
PASS: gsl_finite(0) (1 observed vs 1 expected)
PASS: gsl_finite(1) (1 observed vs 1 expected)
FAIL: gsl_finite(inf) (1 observed vs 0 expected)
FAIL: gsl_finite(nan) (1 observed vs 0 expected)
PASS: gsl_fdiv(2,3) (0.666667 observed vs 0.666667 expected)
FAIL: test

switching off optimisation by using the -O0 option doesn't cure that 
behaviour.

using gcc there is no problem at all.

system: SuSE-7.3 on athlon-MP

???


daniel



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]