Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Segmentation fault by ifort #3

Open
raysou opened this issue Dec 4, 2022 · 1 comment
Open

Segmentation fault by ifort #3

raysou opened this issue Dec 4, 2022 · 1 comment

Comments

@raysou
Copy link
Contributor

raysou commented Dec 4, 2022

Sometimes. Not always.

@raysou raysou changed the title Segmentation fault Segmentation fault by ifort Dec 4, 2022
@raysou
Copy link
Contributor Author

raysou commented Dec 5, 2022

  • Use DEBUG=set while running make with ifort: make FC=ifort DEBUG=set
  • nasa doc
  • ifort docs

In our tests the issue seems to be with the linked list : changing rcut in the code resolves the issue. At the "wrong" rcuts we have x(l,i), y(l,i) = NaN. We don't yet understand why that is the case. The right rcuts give physically valid checkpoints as we checked.

We hope cleaning up the code with the modified solely beadbased 1D linked list shall fix this.

Also, as per the intel doc above, Large Array Temporaries Caused by Passing Noncontiguous Array Sections, may cause segfault. In our current code every array reference is non-contiguous as the beads are stored in rows. Changing that might fix things too. 🤞

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant