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 revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
reserve [2017/07/26 12:09] mimbertreserve [2017/08/31 16:09] mimbert
Line 59: Line 59:
 It is possible to share the platform, for specific situations such as tutorials, courses, challenges. In these situations, you want several users to be able to use the platform at the same time. For this, you need to follow these steps: It is possible to share the platform, for specific situations such as tutorials, courses, challenges. In these situations, you want several users to be able to use the platform at the same time. For this, you need to follow these steps:
  
-The organizer of the tutorial/course/challenge submits or reserve the 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: 2022/11/18 16:43 by pgirard

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki