Synopsis:
usage: cl_ipcrm [options] -t test only, don't execute -v verbose output -V really verbose output
Description:
cl_ipcrm is used to clean up Unix IPC (Inter-Process Communication)
leftovers from aborted or crashed parallel runs. In many MPI implementations,
messages sent between two tasks on the same machine are implemented in
Unix shared memory rather than over the network. If such a program crashes,
it is possible to leave these shared memory blocks allocated even though
the program is destroyed. While Unix/Linux will swap these unused memory
blocks out of the way, it is a good idea to clean them up now and then.
In contrast to the (serial) command ipcrm, the cl_ipcrm command will clean all IPC entities of all types. You do NOT need to specify shared memory segments, semaphore sets, or message queues -- it will remove all of them. If you only want to delete selected ones, you may be able to use cl_exec to run the (serial) ipcrm command on multiple machines.
cl_ipcrm is a Perl script which simply automates the process of rsh-ing to the machines, doing an ipcs call, and then issuing a series of ipcrm calls to remove the IPC items.
RCSID $Id: cl_ipcrm.html,v 1.2 2002/03/12 14:11:18 jpormann Exp $