Condor - High Throughput Computing

Our Modifications to the PVM Distribution

There are exactly four lines of code changed in our PVM distribution. Those four lines are described below. Alternately, you can get our already-altered version of the pvm distribution. These four lines of code deal with being able to handle the "Suspend" and "Resume" events that can happen to a Condor machine.

The Changes

Go to your $(PVM_ROOT). In include/pvm3.h, add
#define PvmHostSuspend  6   /* condor suspension */
#define PvmHostResume   7   /* condor resumption */
to the list of "pvm_notify kinds".

In src/lpvmgen.c, in pvm_notify(), change

} else {
        switch (what) {
        case PvmHostDelete:
        ....
to
} else {
        switch (what) {
        case PvmHostSuspend:  /* for condor */
        case PvmHostResume:   /* for condor */
        case PvmHostDelete:
        ....
And that's it. Re-compile, and you're done.