User Tools

Site Tools


lcrc:introduction

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
lcrc:introduction [2019/01/22 14:42] – [Using Singularity] asclcrc:introduction [2022/01/05 15:49] – [Using interactive jobs] asc
Line 108: Line 108:
  
 <code bash> <code bash>
-srun --pty -p  bdwall  -t 24:00:00 /bin/bash+srun --pty -p  bdwall   -A condo -t 24:00:00 /bin/bash
 </code> </code>
  
Line 131: Line 131:
  
 To run on non HEP nodes use partition bdwall with Account - ATLAS-HEP-group To run on non HEP nodes use partition bdwall with Account - ATLAS-HEP-group
 +
 +
 +==== Using interactive jobs ====
 +
 +
 +First, allocate a HEP node:
 +
 +<code bash>
 +salloc -N 1 -p hepd -A condo  -t 00:30:00
 +</code>
 +
 +This allocates it for 30 min, but you can allocate it up to 7 days.
 +You cam also allocate it on bebob:
 +
 +<code bash>
 +salloc -N 1 -p bdwall --account=ATLAS-HEP-group -t 00:30:00
 +</code>
 +
 +This does not login you!
 +Check what node did you allocate
 +
 +<code bash>
 +squeue -u user
 +</code>
 +
 +
 +Now you know the node. Then login to bebob (first!) and then ssh to this node.
 +
 +Another method is to use
 +
 +<code bash>
 +srun --pty -p  bdwall  --account=ATLAS-HEP-group -t 00:30:00  /bin/bash
 +</code>
 +
 +but the job will stop after you logout. See more description in: https://www.lcrc.anl.gov/for-users/using-lcrc/running-jobs/running-jobs-on-bebop/
 +
  
 ====== Using Singularity ====== ====== Using Singularity ======
Line 138: Line 174:
  Yiming (Ablet) Abulaiti created a tutorial on how to do this. {{:lcrc:analysisbaselcrc.pdf|Read this}}  Yiming (Ablet) Abulaiti created a tutorial on how to do this. {{:lcrc:analysisbaselcrc.pdf|Read this}}
  
 +Here are the suggested steps for 21.2.51 release.
 +
 +<code>
 +docker pull atlas/analysisbase:21.2.51
 +</code>
 +
 +Then make singularity image:
 +<code bash>
 +docker run -v /var/run/docker.sock:/var/run/docker.sock -v `pwd`:/output --privileged -t --rm singularityware/docker2singularity:v2.3 atlas/analysisbase:21.2.51
 +</code>
 +
 +
 +Currently, the image for AtlasBase 2.2.51 located here:
 +
 +<code>
 +/soft/hep/atlas.cern.ch/repo/containers/images/singularity/atlas_analysisbase_21.2.51-2018-11-04-01795eabe66c.img
 +</code>
 +
 +You can go inside this image as:
 +
 +<code>
 +singularity exec /soft/hep/atlas.cern.ch/repo/containers/images/singularity/atlas_analysisbase_21.2.51-2018-11-04-01795eabe66c.img bash -l
 +</code>
  
  --- //[[Sergei&Doug]] 2018/01/04 13:36//  --- //[[Sergei&Doug]] 2018/01/04 13:36//
lcrc/introduction.txt · Last modified: 2023/06/15 14:05 by rwang