calcoloscientifico:guidautente_slurm_en
Differenze
Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.
Entrambe le parti precedenti la revisioneRevisione precedenteProssima revisione | Revisione precedente | ||
calcoloscientifico:guidautente_slurm_en [24/04/2018 12:54] – [Serial jobs, compiler Intel] paolo.oggiano | calcoloscientifico:guidautente_slurm_en [27/04/2018 10:01] (versione attuale) – [Batch job ===== ====SLURM FATTO] roberto.alfieri | ||
---|---|---|---|
Linea 9: | Linea 9: | ||
===== Access / Login ===== | ===== Access / Login ===== | ||
- | In order to access the resources, you must be included in the database | + | In order to access the resources, you must be included in the LDAP database |
Requests for access or general assistance must be sent to: es_calcolo@unipr.it. | Requests for access or general assistance must be sent to: es_calcolo@unipr.it. | ||
- | Once enabled, the login is done throughput | + | Once enabled, the login is done through |
ssh < | ssh < | ||
- | Password access is allowed only within the University network (160.78.0.0/ | + | Password access is allowed only within the University network (160.78.0.0/ |
==== Access password-less between nodes ==== | ==== Access password-less between nodes ==== | ||
- | ** To use the cluster it is necessary to eliminate the need to use the password between | + | ** In order to use the cluster it is necessary to eliminate the need to use the password between nodes**, using public key authentication. It is necessary to generate on login.hpc.unipr.it the pair of keys, without passphrase, |
- | Key generation. Accept the defaults by pressing enter. | + | Key generation. Accept the defaults by pressing enter: |
ssh-keygen -t rsa | ssh-keygen -t rsa | ||
Linea 29: | Linea 29: | ||
cat ~/ | cat ~/ | ||
- | ==== Access | + | ==== External |
- | The key pair must be generated with the client | + | The key pair must be generated with the SSH client. The private key should be protected by an appropriate passphrase (it is not mandarory |
- | be inserted | + | The public key must be included |
- | If you use the SSH client for Windows **PuTTY** (http:// | + | If you use the SSH client for Windows **PuTTY** (http:// |
- | The private key must be entered | + | The private key must be included |
Configuration -> Connection -> SSH -> Auth -> Private key file for authentication | Configuration -> Connection -> SSH -> Auth -> Private key file for authentication | ||
- | The public key must be inserted | + | The public key must be included |
Useful links for SSH clients configuration: | Useful links for SSH clients configuration: | ||
Linea 52: | Linea 52: | ||
SSH is the only protocol for external communication and can also be used for file transfer. | SSH is the only protocol for external communication and can also be used for file transfer. | ||
- | In a Unix-like | + | If you use |
- | In Windows, the most used program | + | On Windows |
- | SSH can also be used to mount a remote file-system using SshFS (see http:// | + | SSH can also be used to mount a remote file-system using SshFS (see http:// |
===== Hardware ===== | ===== Hardware ===== | ||
Linea 79: | Linea 79: | ||
Nodes details: | Nodes details: | ||
- | [[ http:// | + | [[ calcoloscientifico: |
- | - | ||
- | [[ http:// | + | [[ http:// |
Peak performance (double precision): | Peak performance (double precision): | ||
Linea 102: | Linea 102: | ||
Environment Software (libraries, compilers e tools): | Environment Software (libraries, compilers e tools): | ||
- | [[ http:// | + | [[ http:// |
Some software components must be loaded in order to be used. | Some software components must be loaded in order to be used. | ||
Linea 137: | Linea 137: | ||
</ | </ | ||
- | [[ http:// | + | [[ calcoloscientifico: |
Linea 254: | Linea 254: | ||
Specifies the account to be charged for using resources. (Mandatory ??) | Specifies the account to be charged for using resources. (Mandatory ??) | ||
- | Default group equal to account ??? | ||
See [[ calcoloscientifico: | See [[ calcoloscientifico: | ||
Linea 361: | Linea 360: | ||
- | ===== Batch job ===== ====SLURM FATTO ===== | + | ===== Batch job ===== |
A shell script must be created that includes the SLURM options and the commands that must be executed on the nodes. | A shell script must be created that includes the SLURM options and the commands that must be executed on the nodes. | ||
Linea 405: | Linea 404: | ||
cd " | cd " | ||
- | # Executes the program | + | #< Executes the program |
./mm | ./mm | ||
Linea 493: | Linea 492: | ||
sbatch cpi_sqrt_pgi.bash | sbatch cpi_sqrt_pgi.bash | ||
- | ==== Job OpenMP with GNU 4.8 ==== ==== SLURM FATTO ==== | + | ==== Job OpenMP with GNU 4.8 ==== |
cp / | cp / | ||
Linea 504: | Linea 503: | ||
#!/bin/bash | #!/bin/bash | ||
- | #SBATCH -p bdw_debug | + | #SBATCH -p bdw -N1 -n32 |
#SBATCH --exclusive | #SBATCH --exclusive | ||
#SBATCH -t 0-00:30:00 | #SBATCH -t 0-00:30:00 | ||
+ | #SBATCH $SBATCH_ACCOUNT | ||
- | #Merge strerr with stdout | + | #< Merge strerr with stdout |
#SBATCH -oe | #SBATCH -oe | ||
calcoloscientifico/guidautente_slurm_en.1524567248.txt.gz · Ultima modifica: 24/04/2018 12:54 da paolo.oggiano