andreww / fox

A Fortran XML library
https://andreww.github.io/fox/
Other
58 stars 50 forks source link

Tests with ifort #54

Open andreww opened 6 years ago

andreww commented 6 years ago

In an ideal world we would run CI tests with other compilers, and ifort would be the obvious one (as that's still well used). I should look at that.

One problem will be that new(ish) iforts add "abort:" at the end of tests which abort. We could work around this for gortran by doing BUILD_SCRIPT="FC='gfortran -fno-backtrace' ./configure && ... (see https://github.com/andreww/fox/commit/d2ad4417480ed3ef15fe5d520fca455d5a0e901f). The ifort version, BUILD_SCRIPT="FC='ifort -notraceback' ./configure && leaves the "abort:" in place. At least for 17.0.1 on ARC3.

andreww commented 6 years ago

It looks like this should be possible. See https://github.com/travis-ci/travis-ci/issues/4604, https://github.com/nemequ/icc-travis and https://docs.travis-ci.com/user/encryption-keys/ - I'll just need to create an encrypted intel serial number. Suspect I can get one of these from Advanced Research Computing at Leeds.

andreww commented 6 years ago

See #55

andreww commented 6 years ago

This would be really nice for #47. Opposite compiler bugs for Intel and PGI. Grrrr