Changes between Version 72 and Version 73 of cypress/using


Ignore:
Timestamp:
12/20/22 15:15:13 (2 years ago)
Author:
cbaribault
Comment:

Added section on Centos 7, updated output for idev —help

Legend:

Unmodified
Added
Removed
Modified
  • cypress/using

    v72 v73  
    219219
    220220[[Image(https://docs.google.com/drawings/d/e/2PACX-1vSAkWkpvRMKGg-dmSlgPSVSxSViFfyhk9pS2oUxS9tcpkuwCclzmHk7dOHe2H2jwGYyWBJC_qT0719w/pub?w=1082&h=205)]]
     221
     222==== Selecting Centos/glibc Version Via SLURM --partition ====
     223
     224Using the SLURM partitions '''dev''' and '''centos7''', Cypress groups all compute nodes into two distinct sets, where all nodes in the given set run the same version of the Linux Centos operating system (OS). In turn, the OS version determines the version of the GNU C library, nicknamed '''glibc'''. (See [https://www.gnu.org/software/libc/ The GNU C Library] for more information.) The version of Centos and glibc can be displayed as in the following.
     225
     226Compute nodes in partition defq (as well as login nodes) have Centos version 6.5 with glibc version 2.12.
     227
     228{{{
     229[tulaneID@cypress1 ~]$ sbatch --partition=defq --wrap='cat /etc/centos-release && ldd --version'
     230Submitted batch job 2226229
     231[tulaneID@cypress1 ~]$ cat slurm-2226229.out
     232CentOS release 6.5 (Final)
     233ldd (GNU libc) 2.12
     234Copyright (C) 2010 Free Software Foundation, Inc.
     235This is free software; see the source for copying conditions.  There is NO
     236warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
     237Written by Roland McGrath and Ulrich Drepper.
     238}}}
     239
     240Compute nodes in partition centos7 have Centos version 7.4 with glibc version 2.17.
     241
     242{{{
     243[tulaneID@cypress1 ~]$ sbatch --partition=centos7 --wrap='cat /etc/centos-release && ldd --version'
     244Submitted batch job 2226227
     245[tulaneID@cypress1 ~]$ cat slurm-2226227.out
     246CentOS Linux release 7.4.1708 (Core)                                                                              l
     247ldd (GNU libc) 2.17
     248Copyright (C) 2012 Free Software Foundation, Inc.
     249This is free software; see the source for copying conditions.  There is NO
     250warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
     251Written by Roland McGrath and Ulrich Drepper.
     252}}}
     253
     254===== Requesting partition centos7 with glibc 2.17 =====
     255
     256If your batch job requires the later version of glibc, then include the following in your batch script.
     257
     258{{{
     259#SBATCH --partition=centos7
     260}}}
     261
     262If your interactive job requires the later version of glibc, then use the following command. (See [https://wiki.hpc.tulane.edu/trac/wiki/cypress/using#Howtouseidev How to use idev] below for additional options.)
     263
     264{{{
     265[tulaneID@cypress1 ~]$ idev --partition=centos7
     266}}}
    221267
    222268=== MPI Jobs ===
     
    503549{{{#!bash
    504550[fuji@cypress1 ~]$ idev --help
    505 -c|--cpus-per-task=     : Cpus per Task
    506 -N|--nodes=             : Number of Nodes
    507 -n|--ntasks-per-node=   : Number of Tasks per Node
    508 --mic=                  : Number of MIC per Node
    509 --mem=                  : Memory (MB) per Node
    510 -t|--time=              : Wall Time
    511 --port=                 : prot forward [local port]:[remote port]
     551-c|--cpus-per-task=     : Cpus per Task (default=20)
     552-N|--nodes=             : Number of Nodes (default=1)
     553-n|--ntasks-per-node=   : Number of Tasks per Node (default=1)
     554--mic=                  : Number of MIC per Node (default=2)
     555--mem=                  : Memory (MB) per Node (default=3200 per cpu)
     556-t|--time=              : Wall Time in hh:mm or hh or day-hh:mm or day-hh (default=0:60)
     557--partition=            : partition (default=defq)
     558--qos=                  : qos (default=normal)
     559--port=                 : port forward [local port]:[remote port] (default X11 forward)
    512560}}}
    513561