Some examples of submission commands

To reserve 2 whole generic compute nodes :

-l nodes=2 -p "nbcores=16 AND visu='NO'"

To reserve 2 processors on 2 generic nodes with 1 processor per node :

-l nodes=2/cpu=1 -p "nbcores=16 AND visu='NO'"

To reserve 2 cores on 2 generic nodes with 1 core per node :

-l nodes=2/core=1 -p "nbcores=16 AND visu='NO'"

To reserve the whole SMP node :

-l nodes=1 -p "host='smp01'" -t smp

To reserve 1 processor on SMP node :

-l nodes=1/cpu=1 -p "host='smp01'" -t smp

To reserve 2 whole visualization nodes :

-l nodes=2 -p "visu='YES'" -t visu

To reserve 1 core on a visualization node :

-l nodes=1/core=1 -p "visu='YES'" -t visu

To reserve 4 nodes during 3 days et to receive all notifications about this job by mail :

-l nodes=4/cpu=2,walltime=72:00:00 -p "nbcores=16 AND visu='NO'" --notify "mail:user@unice.fr"

Of course, you have the possibility and you must make a script with all OAR directives (launch it with command oarsub -S ./script)

#!/bin/sh
#OAR -l nodes=4/cpu=2,walltime=72:00:00
#OAR -p nbcores=16 AND visu='NO'
#OAR --notify "mail:user@unice.fr"
#OAR -O file.out
#OAR -E file.err
./myProg
exit $?

 

Address

Université de Nice Sophia-Antipolis
D.S.I.
28 Avenue de Valrose
B.P. 2135
06103 NICE Cedex 02