Skip to content

MoorDyn DLLs crashing MATLAB on GitHub actions #327

@jtgrasb

Description

@jtgrasb

For WEC-Sim, we are using MoorDyn dynamic link libraries to call MoorDyn and return the results to the WEC-Sim simulation. The dynamic link libraries are built using cmake via GitHub actions and build with no issues. We have this running well locally, but the MoorDyn DLLs seem to cause GitHub actions to fail by crashing MATLAB. See the latest test on our dev branch of WEC-Sim Applications. If I rerun this a few times, it will pass, but it is still frustrating to have to rerun it all the time.

I think the MATLAB crash may be caused by a window that MoorDyn tries to open. In MATLAB locally, the window shows up like below, but I think it may be trying to display some sort of graphic? While running the simulation locally does not crash MATLAB, closing this window does crash MATLAB. Do you know what may be causing this window to be opened? And if so, is there a way to disable it?

Image

--Thanks,
Jeff

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependenciesPull requests that update a dependency filequestion

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions