This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ==== Sequential codes ==== Accounting on VSC-2 is done by nodes, thus sequential jobs using one core only are costly. To use all 16 cores of a node, it is recommended to start 16 processes per node. This can be done easily by a shell script like <code> #!/bin/bash for i in `seq -w 00 15`; do ./my_program input_parameter_647${i}_35 & done # wait for all background jobs, then terminate wait </code> Another form of the loop could be <code> for (( i=0; i<16; i++ )); do ./my_program ${i} & done wait </code> or, with pinning to processors, which is highly recommended for performance reasons, <code> for (( i=0; i<16; i++ )); do taskset -c $i ./my_program ${i} & done wait </code> or, with pinning to NUMA nodes (consisting of four cores each), with equally good performance, <code> for i in {0..15}; do numactl -N $((i/4)) ./my_program ${i} & done wait </code> Please remember the memory limit of 32GB per node! doku/sequential-codes.txt Last modified: 2013/05/29 16:29by 127.0.0.1