MBG wiki
|
RecentChanges
|
Blog
|
2024-05-06
|
2024-05-05
Editing SGE script to start a simple (serial) job on the cluster
To submit a simple serial (ie non-parallel) job on the cluster via SGE do the following : * Create a dedicated directory somewhere in /work * Place all files needed by your job (and possibly also the executable) in this directory * Create a file with a suitable name (like 'myjob.sh') containing the following: <source> #!/bin/csh -f # # # The name of the job (Test) ... # #$ -N Test # # Execute from the current working directory ... # #$ -cwd # # Standard error and output should go into the current working directory ... # #$ -e ./ #$ -o ./ my_program_name <arguments> </source> * Edit this file and change <i>my_program_name</i> with the name of your executable. Add (if needed) the arguments to your program. * Submit your job with <b>qsub myjob.sh</b>
Summary:
This change is a minor edit.
Username:
Replace this text with a file.