• Non ci sono risultati.

Programmazione Avanzata Vittorio Ruggiero

N/A
N/A
Protected

Academic year: 2021

Condividi "Programmazione Avanzata Vittorio Ruggiero"

Copied!
8
0
0

Testo completo

(1)

Programmazione Avanzata

Vittorio Ruggiero

(v.ruggiero@cineca.it)

Roma, Marzo 2017

(2)

Outline

GALILEO

(3)

Hands-on: cluster GALILEO

I Access to login node of GALILEO cluster

ssh -X <user_name>@login.galileo.cineca.it

I Login nodes are reserved solely for the purpose of managing your files and submitting jobs to the batch system

I CPU time and memory usage are severely limited on the login nodes

Model: IBM NeXtScale

Architecture: Linux Infiniband Cluster

Processors Type: 2 8-cores Intel Haswell 2.40 GHz per node Cores: 16 cores/node, 8256 cores in total

Accelerators: 2 Intel Phi 7120p per node on 384 nodes (768 in total);

2 NVIDIA K80 per node on 40 nodes (80 in total) RAM: 128 GB/node, 8 GB/core

OS: RedHat CentOS release 7.0

(4)

Hands-on: GALILEO and batch system

I The batch system allows users to submit jobs requesting the resources (nodes, processors, memory,etc ..) that they need.

I The jobs are queued and then run as resources become available

I To access to compute node run the command

qsub -I -l select=1:ncpus=1:mem=2Gb,walltime=2:00:00 -A

<account_name> -q <queue_name> -W group_list= <group_name>

(5)

Hands-on: GALILEO and modules

I A basic default environment is already set up by the system login configuration files, but it does not include the application environment.

I The applications need to be initialized for the current shell session by means of the module command

I To show the available modules on the machine:module av

I To show the modules currently loaded on the shell session:

module li

I To load a module, e.g: module load gnu/4.9.2

I To unload a module, e.g:module unload gnu/4.9.2

I To unload all the loaded modules, e.g:module purge

(6)

Copy files to/from GALILEO

I How to copy a file from a local machine to a remote server?

scp /file/to/send username@remote:/where/to/put

I How to copy a file from a a remote server to a local machine?

scp username@remote:/file/to/send /where/to/put

I To get more ideas on this you can read

man scp

(7)

Copy files to/from GALILEO

I How to copy a file from a local machine to a remote server?

scp /file/to/send username@remote:/where/to/put

I How to copy a file from a a remote server to a local machine?

scp username@remote:/file/to/send /where/to/put

I To get more ideas on this you can read

man scp

(8)

Copy files to/from GALILEO

I How to copy a file from a local machine to a remote server?

scp /file/to/send username@remote:/where/to/put

I How to copy a file from a a remote server to a local machine?

scp username@remote:/file/to/send /where/to/put

I To get more ideas on this you can read

man scp

Riferimenti

Documenti correlati

A debugger is a tool that controls the application being debugged so as to allow the programmer to follow the flow of program execution and , at any desired point, stop the program

I Un &#34;page-fault&#34; è un segnale generato dalla CPU, con conseguente reazione del sistema operativo, quando un programma tenta di accedere ad una pagina di memoria virtuale

I Modern multicore systems have shared memory on node and distributed memory between nodes...

I Automatic vectorization (use of packed SIMD instructions) I Loop interchange (for more efficient memory access) I Loop unrolling (more instruction level parallelism). I

I Failure: An osservable incorrect program behaviour =⇒ a bug in the behaviour.... What is

I a target is usually the name of a file that is generated by a program; examples of targets are executable or object files.. A target can also be the name of an action to carry

I The unrolled version of the loop has increased code size, but in turn, will execute fewer overhead instructions. I The same number of operations, but the loop index is

scalasca -instrument [opzioni_scalasca] mpif90 [opzioni] &lt;codice_sorgente&gt; I Esecuzione:. scalasca -analyze