I would like to know how to submit several mpirun programs in one job script file in Sun Grid Engine.
Suppose I have compiled program1, program2, program3 .. program100 and want to run them simultaneously such that each use 16 cpus in one job script without making 100 job scripts.
mpirun -np 16 program1 &
mpirun -np 16 program2 &
mpirun -np 16 program3 ....
How can I distribute nodes to each programs in Sun Grid engine? (Can I split hostfile of SGE into 100 and supply them into each mpirun? )
Thank you.