Use a CD-adapco provided script, called ccmstack, to run gstack on all the active processes of a running simulation.
If a simulation gets hung up during a run, that is, your simulation stops producing output, the log file no longer gets updated, and a stack trace of the processes could provide information to help pinpoint the cause.
The following demonstrates how this output can be quickly retrieved, even for a multi-core parallel job running on Linux.
1. Requirement: The command "gstack" must be installed on all cores on which the parallel job is running.
2. Locate the PID file that the server generates;
3. Locate "ccmstack" which is a script that is supplied in the installation area of the version of Simcenter STAR-CCM+
<install_area>/STAR-CCM+XX.XX.XXX/star/bin/ccmstack
4. Run (as the user) the script on the PID file
....star/bin/ccmstack <procfile> -rsh <remote shell command>
5. Output
See also:
When would I need to increase the Java heap size and how do I do this?
My Linux cluster isn't working with STAR-CCM+, are there any troubleshooting tips you can pass along?
How to set-up and run a server on Linux and connect to it from a client on a Windows machine