-
Notifications
You must be signed in to change notification settings - Fork 24
Fork bomb by csg_inverse if shared library missing #600
Comments
Can you try to run |
Was it compiled with MKL ? |
@JensWehner
nd the problem occurs if I run it with all loaded but intel. |
so your csg was compiled with intel. So csg needs to know where the MKL library is at runtime. If you do not load it csg will run and then try to call the mkl and then the error is thrown. |
Could you build it with |
Ah yeah, it might actually compile with the intel compiler, did not realise this. |
It is not compiled with the intel compiler, it is probably linked against the intel math library, which votca does by default if it finds one on the system. |
against the process spawning, I think that is part of the scripts @junghans |
This fixes the problem! |
@junghans can you explain why it fixes the problem? :) |
ahh it basically tells votca, where these other libraries might be, so you do not have to load them. Clever... |
It happens surprising often that libraroes can not be found a run time, so I think I will add a check to start sequence of csg_inverse to make the user aware of this issue instead of going into an endless fork bomb. |
Yeah basically this option makes votca remember where libraries were found at compile time and inject that path into the rpath of the installed binaries. But that doesn't work on all system though. The main reason the fork bomb happens is that csg_inverse tries to read a value from the xml file and that fails due to missing library and then it tries to issue an error message for which it tries to read another value from the xml file and so on. |
When i do csg_inverse and i don't load the intel module (for mkl), it just says
Terminated
, no inverse.log is created, and lots of inverse.sh processes get spawned. Tested with the current master branch.I don't really know where or how to debug this, so any ideas are welcome.
The text was updated successfully, but these errors were encountered: