User Tools

Site Tools


reserve

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
reserve [2017/08/30 16:31]
mimbert [Advanced usage: sharing the platform]
reserve [2017/08/31 16:09] (current)
mimbert
Line 61: Line 61:
 The organizer of the tutorial/course/challenge submits or reserve the whole (or part of) the platform for the duration of the event, with the ''-t container'' option: The organizer of the tutorial/course/challenge submits or reserve the whole (or part of) the platform for the duration of the event, with the ''-t container'' option:
  
-<code>$ oarsub -l nodes=BEST,walltime=4:00:00 -t container=tuto-xyz -r '2018-07-21 14:00:00'</code>+<code>$ oarsub -l nodes=BEST,walltime=4:00:00 -t container -r '2018-07-21 14:00:00'</code>
  
 This will reserve all available nodes for a 4 hours event, between 14 and 18 on July 21, 2018. This will reserve all available nodes for a 4 hours event, between 14 and 18 on July 21, 2018.
Line 67: Line 67:
 Then, participants can submit jobs inside the container job with this (example) syntax: Then, participants can submit jobs inside the container job with this (example) syntax:
  
-<code>$ oarsub -t inner=tuto-xyz -l {"network_address in ('mnode4.cortexlab.fr', 'mnode6.cortexlab.fr')"}/nodes=2,walltime=0:30:00 -I</code>+<code>$ oarsub -t inner=<job_id of the container job> -l {"network_address in ('mnode4.cortexlab.fr', 'mnode6.cortexlab.fr')"}/nodes=2,walltime=0:30:00 -I</code>
  
 or (another example): or (another example):
- 
-<code>$ oarsub -t inner=tuto-xyz -l nodes=2,walltime=0:30:00 'sleep 10000000'</code> 
- 
-alternatively, the organizer can use: 
- 
-<code>$ oarsub -l nodes=BEST,walltime=4:00:00 -t container -r '2018-07-21 14:00:00'</code> 
- 
-Then, participants will have to use: 
  
 <code>$ oarsub -t inner=<job_id of the container job> -l nodes=2,walltime=0:30:00 'sleep 10000000'</code> <code>$ oarsub -t inner=<job_id of the container job> -l nodes=2,walltime=0:30:00 'sleep 10000000'</code>
reserve.txt ยท Last modified: 2017/08/31 16:09 by mimbert