Running SAS on Clark
Use the PBS scheduler to run SAS on Clark, otherwise your job will not run efficiently. Briefly, this requires executing your SAS program from within a scriptfile:
#PBS -l cput=1:00:00,ncpus=1,mem=1gbThe ncpus term should be set to 1 as SAS does not run on more than 1 processor. The cput and mem params should be set to allow enough time and memory, respectively.
sas program
Use qsub to submit the job to PBS:
qsub scriptfileIn addition to the SAS file outputs an error and output file will be created at the end of the run and both will have the job id added as a suffix.
Running SAS on Lewis
To run jobs efficiently on Lewis the LSF scheduler is used. Here is a sample SAS job script named mysasjob for LSF that launches a sas program called means.sas:
#BSUB -J testsasTo start your run use the following:
#BSUB -oo testsas.o%J
#BSUB -eo testsas.e%J
sas means.sas
bsub < mysasjob