23.10.2014 Views

slides - Spring School in Advanced Computing TACC @ UP

slides - Spring School in Advanced Computing TACC @ UP

slides - Spring School in Advanced Computing TACC @ UP

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

SMP Nodes<br />

Hybrid Batch Script 16 threads/node<br />

• Make sure 1 task is created on each node<br />

• Set total number of cores (nodes x 16)<br />

• Set number of threads for each node<br />

• PAMPer<strong>in</strong>g at job level<br />

• Controls behavior for ALL tasks<br />

• No simple/standard way to control thread-core aff<strong>in</strong>ity<br />

job script (Bourne shell)<br />

job script (C shell)<br />

... ...<br />

#! -pe 1way 192 #! -pe 1way 192<br />

... ...<br />

export OMP_NUM_THREADS=16 setenv OMP_NUM_THREADS 16<br />

ibrun numactl –i all ./a.out ibrun numactl –i all ./a.out<br />

11

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!