How to exit a job from a shell OR cannot start RCE job -- too many CPUs

The commands below will help you exit an RCE job from a terminal if the application window has disappeared, or you need to exit it and do not have access to your NX session. This can be accomplished by using an ssh client and connecting to rce.hmdc.harvard.edu, or opening a terminal window in the RCE. 

The same commands can be used If you are running into an error starting a new RCE job due to too many CPU's in use, you need to terminate your jobs that were tied to an old nx session. The commands that are highlighted below should enable you to remove these old jobs.

  1. Run this command to see your jobs:
    condor_q $USER

    The output should look like:
    --Schedd: HMDC.rce@rce6-N.hmdc.harvard.edu : <ip.ad.dr.ess:port?sock=xxx>
    ID      OWNER     SUBMITTED     RUN_TIME   ST PRI SIZE CMD
    job_id  username  date_&_time   run_time   R  0   0.0  application_name

     

  2. Remove your job, using the Schedd name and job_id from the output of the previous command:
    condor_rm -name HMDC.rce@rce6-N.hmdc.harvard.edu job_id