Debugging with valgrind
How to debug a crash in issm.exe?If there is crash during the solve phase, we strongly suggest using Valgrind. Install Valgrind using one of the script in the directory md.debug.valgrind=1;
md.cluster.np=1;
in your script, or, simply set, valgrind=true;
in When a build includes BoostIf your build includes the Boost C++ libraries, there are additional configuration steps needed to overcome a conflict when running Valgrind. Either,
How to debug a MATLAB crash?If there is a crash that is not in matlab -nojvm -nosplash -r "your matlab commands" -D"valgrind --error-limit=no --tool=memcheck -v --log-file=valgrind.log"
Valgrind's output file How to debug a Python crash?If there is a crash that is not in valgrind --error-limit=no --tool=memcheck -v --log-file=valgrind.log python -E -tt ./yourpythonscript.py
Valgrind's output file NOTE: if line numbers are not displayed for Mac users, add the following option |