-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
Examples crash depending on MatLab version #46
Comments
Which version of the Matlab bindings do you use? Seems like you use the develop version, which is only compatible with the develop version of preCICE. |
Many thanks for the reply. Is the relase version of the matlab bindings called by a different..m file or in a different github repo? Many thanks |
The release is tagged: https://github.com/precice/matlab-bindings/releases/tag/v2.5.0.0 you can go to this release by checking out the release branch or also also simply checking out the tag. This release is compatible with preCICE v2.5.0 |
Yes that was indeed the issue all works well with the release version of the bindings |
Just a minor addition. While the installation file works. I have the issue that the tutorial m file for the explicit solvers cause Matlab to crash immediately. The implicit solver examples works fine. I wonder if you have observed something like this before? the error message is about XMLParser not being able to parse the configuration file (and then matlab immediately crashes). |
@ec2608 Can you please give more details. Which configuration gives this error exactly? |
WSL2 Ubuntu 22.04- Matlab 2023a precice installed by: latest Matlab bindings from https://github.com/precice/matlab-bindings/releases/tag/v2.5.0.0 running Matlab with: Happy to share more info |
I meant the preCICE configuration. What exactly do you run? |
I am running the Solver_U,m or Solver_I.m file (running from matlab) within the tutorial/explicit folder. So the configuration run is the file within that folder. |
This config file: https://github.com/precice/matlab-bindings/blob/master/tutorial/explicit/precice-config.xml ? Are you sure you also use the file from the corresponding release? I don't have Matlab to reproduce the problem, but your error sounds like it has nothing to do with Matlab. |
Yes that is the correct file. Here is the error message: |
Further on the previous this what the terminal reports while Matlab crashes: |
This basically means that preCICE is not able to find the file. How do you call your solvers? Do you first step into the |
I first open the matlab gui, then step in the tutorial/explicit folder and then select to run the main script, Perhaps more intriguingly I got the following word behavior when running the script in Matlab debugging line by line with the 'step' command. but the code works when I use 'step in' instead. This is more weird because Matlab can't really step in within that function so step and step in would practically be identical commands. |
Just a follow up on this.: |
Thanks for following up! Then this sounds like a more intricate problem. Let's re-open. |
Hi, This may have been reported before but I couldn't find relevant info.
I get the following error at Matlab R2023a (apologies cannot install an earlier version for license related reasons).
This is in WSL Ununtu 22.04. I installed precise using spack.
Thanks in advance
The text was updated successfully, but these errors were encountered: