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.
Run this command to see your jobs:
condor_q -pool cod6-head.priv your_username
ID OWNER SUBMITTED RUN_TIME ST PRI SIZE CMD
job_id username date_&_time run_time R 0 0.0 application_name
Remove your job, using the job_id:
condor_rm -pool cod6-head.priv -name HMDC.firstname.lastname@example.org job_id