Nancy:Production: Difference between revisions

From Grid5000
Jump to navigation Jump to search
No edit summary
(Redirected page to Production)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Portal|User}}
#REDIRECT [[production]]
{{Portal|User}}
 
= Introduction =
The Nancy Grid'5000 site also hosts clusters for production use (including clusters with GPUs). See [[Nancy:Hardware]] for details.
 
The usage rules differ from the rest of Grid'5000:
* Advance reservations (<code>oarsub -r</code>) are not allowed (to avoid fragmentation). Only submissions (and reservations that start immediately) are allowed.
* All Grid'5000 users can use those nodes (provided they meet the conditions stated in [[Grid5000:UsagePolicy]]), but it is expected that users outside of LORIA / Inria Nancy -- Grand Est will use their own local production resources in priority, and mostly use those resources for tasks that require Grid'5000 features. Examples of local production clusters are Tompouce (Saclay), Igrida (Rennes), Plafrim (Bordeaux), etc.
 
= Using the resources =
== Getting an account ==
Users from the '''Loria''' laboratory (LORIA/Inria Nancy Grand-Est) that want to access Grid'5000 primarily for a production usage must use that '''[[Special:G5KRequestAccountUMS|request form]]''' to open an account, like regular Grid'5000 users.
 
* The following fields must be filled as follows:
** ''Group Granting Access'' (GGA): either the group '''named after the research team''', or if it does not belong to the team list below: '''<code>loria</code>'''.
** ''Laboratory'': LORIA
** ''Team'': SYNALP, MULTISPEECH, CARAMBA, CAPSID, ORPAILLEUR, LARSEN, SEMAGRAMME, SISR, TANGRAM...
 
Other users from Nancy (not belonging to the Loria laboratory) can ask to join using the '''<code>nancy-misc</code>''' Group Granting Access.
 
* Users are automatically subscribed to the Grid'5000 users mailing lists: [mailto:users@lists.grid5000.fr users@lists.grid5000.fr]. This list is the user-to-user or user-to-admin communication mean to address help/support requests for Grid'5000.
 
== Learning to use Grid'5000 ==
Refer to the [[Getting Started]] tutorial.
There are other tutorial listed on the [https://www.grid5000.fr/mediawiki/index.php/Category:Portal:User Users Home] page.
 
== Using deep learning software on Grid'5000 ==
A tutorial for using deep learning software on Grid'5000, written by Ismael Bada [[User:Ibada/Tuto_Deep_Learning|is also available]].
 
== Using production resources ==
To access production resources, you need to submit jobs in the ''production'' queue or using the ''production'' job type:
oarsub -q production -I
oarsub -q production -p grele -I
oarsub -q production -l nodes=2,walltime=24 -I
oarsub -q production -l walltime=24 -t deploy 'sleep infinity'
...
or
oarsub -t production -I
oarsub -t production -p grele -I
oarsub -t production -l nodes=2,walltime=24 -I
oarsub -t production -l walltime=24 -t deploy 'sleep infinity'
 
== Dashboards and status pages ==
* [https://intranet.grid5000.fr/oar/Nancy/drawgantt-svg-prod/ DrawGantt: Gantt diagram of jobs on the cluster]
* [https://intranet.grid5000.fr/oar/Nancy/monika-prod.cgi Monika: currently running jobs]
* [https://intranet.grid5000.fr/ganglia/?r=hour&s=descending&c=Nancy Ganglia: status of nodes]
* [https://www.grid5000.fr/status/ planned and ongoing maintenances, events and issues on Grid'5000]
 
= Contact information and support =
Contacts:
* The Grid'5000 team can be contacted as described on the [[Support]] page.
* The Grid'5000 ''responsable de site'' for Nancy is Lucas Nussbaum ([mailto:lucas.nussbaum@loria.fr lucas.nussbaum@loria.fr])
To get support, you can:
* Use the [mailto:users@lists.grid5000.fr users@lists.grid5000.fr] mailing list: all Grid'5000 users (700+ people) are automatically subscribed
* Use the [mailto:nancy-users@lists.grid5000.fr nancy-users@lists.grid5000.fr] mailing list: all Grid'5000 users from Nancy are automatically subscribed
 
The Grid'5000 team does not have the resources (manpower) to do user support, such as helping with writing scripts, creating system images, etc. If you need such help, please contact the SED service.
 
= FAQ =
== Data storage ==
The data needed for experiments of the production teams is stored on the talc-data and talc-data2 NFS servers. talc-data2 is a regular [[Group Storage]] server, and talc-data is a storage server dedicated to the multispeech research team, but compatible with the Group Storage mechanisms.
 
talc-data2 provides 213T of storage space. talc-data contains three disk bays (baie, baie2 and baie3) respectively hosting volumes talc, talc2 and talc2, respectively providing 58T + 58T + 71T = 187T of storage space.
 
  LV          VG        Attr      LSize  Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  talc        baie      -wi-ao----  58.21t                                                   
  talc2        baie2    -wi-ao----  58.21t                                                   
  talc3        baie3    -wi-ao----  71.28t
 
/dev/mapper/baie2-talc2 on /export/group/talc2 type ext4 (rw,relatime,data=ordered)
/dev/mapper/baie3-talc3 on /export/group/talc3 type ext4 (rw,relatime,data=ordered)
/dev/mapper/baie-talc on /export/group/talc type ext4 (rw,relatime,stripe=32752,data=ordered)
 
Those repositories have the same permissions as any Group Storage volumes on their root folder,
 
drwxrws--T+ 4 root sto-multispeech 4096 Oct 13 22:13 talc
drwxrws--T+ 4 root sto-multispeech 4096 Mar 14  2019 talc2
drwxrws--T+ 4 root sto-multispeech 4096 Oct 10 10:50 talc3
 
but unlike other [[Group Storage]] volumes, they contain old data which is not affected by those permissions. Only the newly created directories under the root folder inherit those permissions.
 
Please remember that those data are hosted on a NFS server that is not recommended for compute usage.
 
For other shorter term storage support, see [[Storage]].
 
== I am physically located in the LORIA building, is there a shorter path to connect? ==
 
If for some reason you don't want to go through Grid'5000 national access machines (access-south and access-north), you can also connect directly using
{{Term|location=mylaptop|cmd=<code class="command">ssh</code> <code class="replace">jdoe</code><code>@</code><code class="host">access.nancy.grid5000.fr</code>}}
 
== How to access data in Inria/Loria ==
bastionssh.loria.fr is an access machine hosted on Loria side.
That machine can be used to access all services in the Inria/Loria environment.
 
You need to use the SSH ProxyCommand for that purpose.
 
Ajust the following lines for your <code class="file">~/.ssh/config</code>
<pre>
Host accessloria
        Hostname bastionssh.loria.fr
        User jdoe # to be replaced by your LORIA login
 
Host *.loria
        User jdoe # to be replaced by your LORIA login
        ProxyCommand ssh accessloria -W $(basename %h .loria):%p
</pre>       
 
With that setup, you can now use :
* [https://www.grid5000.fr/mediawiki/index.php/Rsync Rsync ] to synchronize your data on Inria/Loria environment and data on your local home on Grid'5000 frontend
* [https://www.grid5000.fr/mediawiki/index.php/SSH#Mounting_remote_filesystem Sshfs] to mount directly your data directory on Inria/Loria environment under your local home. <=> mount your /user/my_team/my_username (origin = bastionssh.loria.fr) on fnancy (destination = a folder on fnancy).
 
eg:
 
{{Term|location=fnancy|cmd=<code class="command">sshfs</code> <code>-o idmap=user</code> <code class="replace">jdoe</code><code>@</code><code class="host">tregastel.loria</code>:<code class="file">/users/myteam/jdoe ~/local_dir</code>}}
 
To unmount the remote filesystem:
{{Term|location=fnancy|cmd=<code class="command">fusermount</code> <code>-u</code> <code class="file">~/local_dir</code>}}
 
{{Note|text=Given that bastionssh.loria.fr only accepts logins using SSH key, you cannot simply connect with your LORIA password.}}
 
== I submitted a job, there are free resources, but my job doesn't start as expected! ==
Most likely, this is because of our configuration of resources restriction per walltime.
In order to make sure that someone requesting only a few nodes, for a small amount of time will be able to get soon enough, the nodes are split into categories. This depends on each cluster and is visible in the Gantt chart. An example of split is:
* 20% of the nodes only accept jobs with walltime lower than 1h
* 20% -- 2h
* 20% -- 24h (1 day)
* 20% -- 48h (2 days)
* 20% -- 168h (one week)
Note that ''best-effort'' jobs are excluded from those limitations.
 
'''To see the exact walltime partition of each production cluster''', have a look at the [[Nancy:Hardware#graffiti|Nancy Hardware page]].
 
Another OAR feature that could impact the scheduling of your jobs is the OAR scheduling with fair-sharing, which is based on the notion of ''karma'': this feature assigns a dynamic priority to submissions based on the history of submissions by a specific user. With that feature, the jobs from users that rarely submit jobs will be generally scheduled earlier than jobs from heavy users.
 
== I have an important demo, can I reserve all resources in advance? ==
There's a special ''challenge'' queue that can be used to combine resources from the classic Grid'5000 clusters and the production clusters for special events. If you would like to use it, please get in touch with the clusters managers.
 
==Can I use besteffort jobs in production ?==
Yes, you can submit a besteffort job on the production resources by using OAR <code>-t besteffort</code> option. Here is an exemple:
{{Term|location=fnancy|cmd=<code class="command">oarsub</code> <code class="replace">-t besteffort</code> <code>-q production</code><code class="file">./my_script.sh</code>}}
If you didn't specify the <code>-q production</code> option, your job could run on both production and non-production resources.
 
== Is it possible to run Matlab? ==
 
Yes, through SSH tunneling to access UL license server (access to bastionssh.loria.fr required).
More information is available in [https://members.loria.fr/FSur/articles/MatlabGrid5000.pdf this document].
 
'''Important note (2022-02-23)''' : what is described above do not work anymore from A to Z. We are currently working on the integration of Matlab through [[Environment_modules|environment modules]]. The SSH tunneling as it is described above will continue to be used to get access to the license server. In the meantime, if you need to use Matlab within Grid'5000 using your own installation and cannot access to the license server, please contact us at support-staff@lists.grid5000.fr.
 
== Energy costs ==
 
Grid'5000 nodes are automatically shut down when they are not reserved so, when possible, it is a good idea to reserve nodes during cheaper time slots.
 
Electricity costs are currently:
* Périodes:
** Heures pointe: Décembre, Janvier, Février; 09H00-11H00/18H00-20H00
** Heures Pleines Hiver: 06H00-22H00 (hors heures de pointe précisées à l’article 18).
** Heures Creuses Hiver: 22H00-06H00
** Heures Pleines Eté: 06H00-22H00
** Heures Creuses Eté: 22H00-06H00
** Le dimanche ne comprend que des heures creuses en hiver et été.
* Cout du KWh
** Heure pointe 10,893c€/KWh
** Heure Pleine Hiver 6,535c€/KWh
** Heure Creuse Hiver 4,474c€/KWh
** Heure Pleine Eté 4,125c€/KWh
** Heure Creuse Eté 2,580c€/KWh
 
== How to cite / Comment citer ==
 
If you use the Grid'5000 production clusters for your research and publish your work, please add this sentence in the acknowledgements section of your paper:
<blockquote>
Experiments presented in this paper were carried out using the Grid'5000
testbed, supported by a scientific interest group hosted by
Inria and including CNRS, RENATER and several Universities as well as
other organizations (see https://www.grid5000.fr).
</blockquote>

Latest revision as of 13:55, 11 May 2023

Redirect to: