Closed zaikunzhang closed 10 months ago
Update: The Windows / macOS test does not always fail. This is even stranger.
Fixed by adding -assume recursion
(macos) or /assume:recursion
(windows) to the flags of ifort
. See
https://fortran-lang.discourse.group/t/frecursive-assume-recursion-and-recursion-thread-safety
The MATLAB interface does not pass the recursive test on macOS and Windows, even if the recursion depth is only one:
https://github.com/libprima/prima/blob/main/matlab/tests/recursive.m
The same test succeeds on Linux. See
https://github.com/sprimalib/prima/actions/runs/6247172429
Is this a limitation of MATLAB, OS, or PRIMA?