Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Level_solver problem #20

Open
mhhchoi opened this issue Nov 6, 2023 · 1 comment
Open

Level_solver problem #20

mhhchoi opened this issue Nov 6, 2023 · 1 comment

Comments

@mhhchoi
Copy link

mhhchoi commented Nov 6, 2023

I get this error when I run batchprocessor.start_all:
Warning: Job 1 failed with message
The source code (/location/get_displacements.m) for the parfor-loop that is trying to execute on the
worker could not be found.

When I replace the parfor loop with just a for loop, I get this error:
Warning: Job 1 failed with message
Undefined function 'level_solver' for input arguments of type 'double'.
I'm not sure where this level_solver is coming from. Is this a part of the mingw add on? I am on a mac, so I have a different compiler.

@phflot
Copy link
Owner

phflot commented Dec 4, 2023

Did you manage to run demos/jupiter_minimal_example? That should run out-of-the-box and might give you better errors.
The solver is written in c++ for speed and needs to be compiled to a mex file first. It's not part of mingw, but you would require this addon or any other c++ compiler to initialize the code with set_path in the root.

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

No branches or pull requests

2 participants