reinh-bader / fgsl

Fortran interface to the GNU Scientific Library
https://doku.lrz.de/display/PUBLIC/FGSL+-+A+Fortran+interface+to+the+GNU+Scientific+Library
GNU General Public License v2.0
84 stars 23 forks source link

pgfortran issue -- failed to compile -- two tests failed #18

Closed neffw closed 7 years ago

neffw commented 7 years ago

I tried to compile FGSL with PGI's fortran compiler and got the following error messages:

PGF90-S-0034-Syntax error at or near VALUE (./interface/ode.finc: 141)
PGF90-S-0034-Syntax error at or near VALUE (./interface/spmatrix.finc: 61)
  0 inform,   0 warnings,   2 severes, 0 fatal for fgsl

Apparently pgfortran does not like value statements. After replacing the statements by attributes the code compiled but two tests failed:

FAIL: spmatrix
FAIL: splinalg

There are also two XFAILs but I think they are expected:

XFAIL: error
XFAIL: error_1

Please refer to the attached files for details.

tschoonj commented 7 years ago

Looks like a compiler bug to me. Did you use the latest version of this compiler?

neffw commented 7 years ago

You are right, tschoonj. I installed the brand-new pgfortran 17.4 released just a few days ago. It accepts the value statement and the errors are gone. Thanks for the fast reply.