astro-informatics / purify

Next-generation radio interferometric imaging.
https://astro-informatics.github.io/purify
GNU General Public License v2.0
17 stars 13 forks source link

Test purify with the Intel compiler #103

Closed ilectra closed 6 years ago

ilectra commented 7 years ago

At least one of the unit tests, test_index_mapping , passes with clang but not with Intel. Mystery...

adrianjhpc commented 7 years ago

Often the intel compiler does nasty things with optimisations turned on. Have you tried turning optimisation levels to -O0 or -O1 for the test that is failing?

cheers

adrianj

On 20/10/2017 16:01, Ilektra Christidi wrote:

At least one of the unit tests, test_index_mapping , passes with clang but not with Intel. Mystery...

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/astro-informatics/purify/issues/103, or mute the thread https://github.com/notifications/unsubscribe-auth/AREsM5bzPic8TFJKzsMcQn19aTxUqFkOks5suLWugaJpZM4QAy6E.

-- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.

ilectra commented 7 years ago

Yes, I added -O0 to the debug flags and built it in debug. Still segfault... :( Thanks for the suggestion though!

adrianjhpc commented 7 years ago

Might be worth trying ulimit -S unlimited or set OMP_STACKLIMT=64MB to see if that helps. Otherwise, maybe we should file a compiler bug ticket.

On 20/10/2017 16:48, Ilektra Christidi wrote:

Yes, I added -O0 to the debug flags and built it in debug. Still segfault... :( Thanks for the suggestion though!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/astro-informatics/purify/issues/103#issuecomment-338245443, or mute the thread https://github.com/notifications/unsubscribe-auth/AREsM_y_OvGOvmQo6ChgjpSpY6qi7dRnks5suMC-gaJpZM4QAy6E.

-- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.

ilectra commented 6 years ago

Fixed in astro-informatics/purify@b85c73ea287a775ec39c79ae4f4e298160fde9d8