This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
problem with gsl and icc
- From: Daniel Rohe <d dot rohe at fkf dot mpg dot de>
- To: Brian Gough <bjg at network-theory dot co dot uk>
- Cc: gsl list <gsl-discuss at sources dot redhat dot com>
- Date: Tue, 15 Jan 2002 18:47:48 +0100
- Subject: problem with gsl and icc
- References: <3C431196.3000206@fkf.mpg.de> <15428.26180.925185.139685@debian>
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