========================================================================= File: NQS2.txt Last modified: 11/12-97 ------------------------------------------------------------------------- The following is a sample NQS script written by Jacques Richer. It illustrates that an NQS script may be both (1) short and (2) may be used for parallel tasks. ========================================================================= Contents of the file, SCRIPT: # ---- begin file ------------- #! /bin/csh cd /UDEM/group/hpcnet/choem/project setenv MP_SET_NUMTHREADS 3 TW # ---- end file --------------- Here, the binary is called TW and the user (choem) has chosen to run his job on 3 CPUs. That's it! The job is submitted with the command, qsub -q schubert_hpcnet SCRIPT Note that for best performances, if a lot of I/O is involved, it would be preferable to start this program in a subdirectory under /UDEM/Scratch/tmp/choem/ (for user choem).