Table of Contents

Best (my) way to use CRC clusters

Software needed

If you are using a Mac, use the following similar software

Upload files using FileZilla

See the screen below:

ftp.jpg

Use PuTTY

See the screen below:

putty.jpg

Steps

Most useful commands

Use Notepad++

notepadpp.jpg

notepadpp3.jpg

notepadpp2.jpg

notepadpp4.jpg

notepadpp5.jpg

Submit a job (SGE)

For more information, go to http://wiki.crc.nd.edu/wiki/index.php/Submitting_Batch/SGE_jobs

Submit an array job (SGE)

Sometimes, it might be convenient to split a big jobs to smaller ones. Preferably, each small job runs within its own folder. For example, one might have a sas job in the following folders

Within each folder, there is a sas file called runsas.sas. To submit such jobs, use the batch file with contents below

#!/bin/csh
#$ -M zzhang4@nd.edu
#$ -m abe
#$ -r y
#$ -t 1-4

module load sas
cd sasjob$SGE_TASK_ID

sas runsas.sas

If one prefers to put all small jobs in one folder like

Then the following script file can be used

#!/bin/csh
#$ -M zzhang4@nd.edu
#$ -m abe
#$ -r y
#$ -t 1-4

module load sas

sas sasjob$SGE_TASK_ID.sas

Debug

To reset the CRC environment, use

/opt/crc/usr/local/bin/crc_setup