ecmwf / atlas

A library for numerical weather prediction and climate modelling
https://sites.ecmwf.int/docs/atlas
Apache License 2.0
107 stars 41 forks source link

Failure in atlas_test_trans #204

Open DJDavies2 opened 3 months ago

DJDavies2 commented 3 months ago

What happened?

Ctest atlas_test_trans fails like so:

Read rspecg read_rspecg ... read_rspecg ... done

[1] ========================================= [1] Segmentation fault (signal intercepted by atlas) [1] ----------------------------------------- [1] BACKTRACE [1] ----------------------------------------- [1] backtrace [1] stack has 15 addresses [1] (/home/h01/frwd/cylc-run/mo-bundle-build-stack-latest-all/share/make_mo_basespice_gnu/lib/libeckit.so+eckit::BackTrace::dump[abi:cxx11]())0x172 [1] (/home/h01/frwd/cylc-run/mo-bundle-build-stack-latest-all/share/make_mo_base__spice_gnu/lib/libatlas.so.0.37+atlas::backtrace[abi:cxx11]())0xa [1] (/home/h01/frwd/cylc-run/mo-bundle-build-stack-latest-all/share/make_mo_basespice_gnu/lib/libatlas.so.0.37+atlas::library::atlas_signal_handler(int, siginfo_t, void))0x213 [1] (/usr/lib64/libpthread.so.0+)0xf630 [1] (/home/h01/frwd/cylc-run/mo-bundle-build-stack-latest-all/share/make_mo_basespice_gnu/lib/../lib64/libectrans_dp.so+dist_specdp)0x1f4c [1] (/home/h01/frwd/cylc-run/mo-bundle-build-stack-latest-all/share/make_mo_base__spice_gnu/lib/libtransi_dp.so+trans_distspec)0x4b3 [1] (/home/h01/frwd/cylc-run/mo-bundle-build-stack-latest-all/share/make_mo_basespice_gnu/lib/libatlas.so.0.37+atlas::trans::TransIFS::distspec(int, int const, double const, double*) const)0x73

What are the steps to reproduce the bug?

I am compiling against head of develop for ectrans, fiat, eckit and fckit and using gnu compiler.

Version

develop

Platform (OS and architecture)

Linux

Relevant log output

No response

Accompanying data

No response

Organisation

No response

DJDavies2 commented 3 months ago

I think this ectrans branch fixes the issue:

https://github.com/DJDavies2/ectrans/tree/bugfix/95

There is only one change, removing a CONTIGUOUS attribute from a variable. However I don't know whether this change would be accepted in ectrans.