-
Notifications
You must be signed in to change notification settings - Fork 2
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
Segmentation fault #29
Comments
I will run the example on a linux machine. Did you run the example with |
Thank you. Yes I'm just running the example with julia (version 1.5.4) where I included the package MPI (version 0.16.1) but I don't think the problem is the package MPI because I also tried examples without this package and I obtained the same error. I don't know if this can be helpful but here's what I recive when I try to run the example written on the README file (without the use of MPI and without considering the quadratic costraints) with julia: Again, thank you very much for your help, I'm really sorry for bothering you. |
By making more analysis I was able to find that the problem is given by the line using DSPopt I don't know why, but if I use only StructJuMP and I try to build a model, all seems to work. If I simply add using DSPopt (without changing anything in the program, thus without making any optimization) appears the above message from the line signal (11): ... I have tried to remove and reinstall the packages but nothing changed. |
I was not able to reproduce the segfault. Can you please provide more information in order to reproduce the error? FYI, this is my testing environment.
I am adding the screen output from my run:
|
This thing is really strange. I'm not able to understand where it comes from. If I try to run the program in the same way you did, the following message appears:
It seems like I'm able to run the optimization but it ends in a wrong way. As regard the environment, I'm using:
Moreover, I tried to run test DSPopt in julia obtaing the following output:
I don't know if this can help. |
In your example For the results from |
Yes, thank you. Both your observations are correct. I removed the line using MPI in order to try understanding the problem and then I forgot to re-add it. So do you think that the segmentation fault is caused by the fact that I built DSP without SCIP or is it something different? |
No, I don't think so because I also built and tested the code without SCIP. It is interesting that the segfault occurred at the end of the code. You built DSP with MPICH 3.3.2. Do you know if ENV["JULIA_MPI_BINARY"]="system"
] build MPI |
Yes I built MPI following those guidelines. At this point I think there's something wrong in my configuration of Julia. Thank you very much for your help, I'll let you know if I'll be able to understand something more. |
Hi,
I'm sorry for opening another issue, but I'm not able to understand why there is a segmentation fault when launching some examples. I tried to ran different examples always obtaining the following message (in this particular case I am running this example https://github.com/kibaekkim/DSPopt.jl/blob/0812121ea8031c3f67a8cf93a8f59ecdfe0ba897/examples/farmer_mpi_stoc.jl):
Am I doing something wrong?
Thank you for your help
The text was updated successfully, but these errors were encountered: