Download OAR - XtreemOS
Transcript
IST-033576 D4.3.1 3.3.1 OAR examples Allocation of 1 node in interactive mode yjegou@parasol-dev:~$ oarsub -l nodes=1 -I Host:Port = parasol-dev:33022 IdJob = 29739 Interactive mode : waiting yjegou@parasol08:~$ On success of an interactive reservation request, the user is automatically logged on the first allocated node (parasol08 in this example). The reservation ends when the user exits this initial shell. Running /bin/date in batch mode, on a dynamically allocated node yjegou@parasol-dev:~$ oarsub -l nodes=1 /bin/date IdJob = 29741 yjegou@parasol-dev:~$ Result of job execution in OAR.BaseName.JobId.stdout: yjegou@parasol-dev:~$ cat OAR.date.29741.stdout Fri Nov 24 11:29:10 CET 2006 yjegou@parasol-dev:~$ Job submission in the future and interactive connection to the job once it is running yjegou@parasol-dev:~$ oarsub -I -l "nodes=2,walltime=1:00:00" \ -r "2006-11-24 15:17:00" \ /home/rennes/yjegou/sleep.sh Host:Port = parasol-dev:33147 IdJob = 29767 Reservation mode : waiting validation Reservation valid --> OK yjegou@parasol-dev:~$ ... Once his reservation has started, the user can request for an interactive shell on the first node of the reservation: parasol-dev:~$ oarsub -I -c 29767 Connect to OAR reservation 29767 via the node parasol29.rennes.grid5000.fr yjegou@parasol29:~$ Getting job status parasol-dev:~$ oarstat -j 29767 Job Id: 29767 queueName = default reservation = Scheduled XtreemOS–Integrated Project 22/53