opendrift icon indicating copy to clipboard operation
opendrift copied to clipboard

Segmentation fault (core dumped)

Open kanna-ops opened this issue 1 year ago • 4 comments

error

Hi, I am new to opendrift. I am trying to import roms model to opendrift and run the model but it is showing this error. Please let me know how to solve this.

kanna-ops avatar Oct 03 '24 10:10 kanna-ops

Hi, The log indicates that this could be related to the landmask.

Could you share the script you are using?

And it could also help to see the output of

>>> import opendrift
>>> print(opendrift.versions)
>>> import importlib
>>> importlib.metadata.version('roaring-landmask')

knutfrode avatar Oct 03 '24 13:10 knutfrode

Hi. Thanks for your reply.

Please find the attached script. roms_native3.zip

Output: image

kanna-ops avatar Oct 04 '24 02:10 kanna-ops

https://github.com/OpenDrift/opendrift/pull/1413 may fix it, if you are not using a custom landmask. That pr failed its tests, but I think errors are unrelated and it can be merged?

gauteh avatar Oct 04 '24 04:10 gauteh

Hi. Thanks for your reply. I tried as #1413 . But my reader neglects the input data and my reader fails. image

kanna-ops avatar Oct 10 '24 05:10 kanna-ops

This problem might have been solved in recent updates. So please update OpenDrift (and dependencies/conda environment) to latest version, and see if you get the same problem.

knutfrode avatar Nov 28 '24 16:11 knutfrode

I think this has been fixed in recent versions of roaring-landmask.

gauteh avatar Feb 26 '25 10:02 gauteh