Submitting a simple job using launcher_creator.py (GVA14)
Let's submit a simple test project to Lonestar.
First, copy over this simple profiling script to your local homedir:
cp $BI/bin/nodeprobe.sh .Feel free to look inside it to see what it's doing. You will note that it makes use of the system's RAM disk, /dev/shm. You might want to try using /dev/shm for files if your applications are disk I/O bound.
2. Now let's run three commands in parallel on one node. Create a file called "commands" with any three commands you'd like, such as these
date
ls -l
./nodeprobe.sh3. Now, use launcher_creator.py to wrap a job submission script around that commands file.
4. Use qsub to submit your batch job script
5. Use qstat to examine your job in the queue
6. When your job is done, examine the ".o<JID>" file - notice how cores are allocated on a single node, one per command.