OpenMP в рамках одной машины

This commit is contained in:
2025-12-02 12:55:16 +00:00
parent 73c9e580e4
commit 143e01b2dd
3 changed files with 110 additions and 18 deletions

View File

@@ -2,9 +2,11 @@
#SBATCH --job-name=btc
#SBATCH --nodes=4
#SBATCH --ntasks=4
#SBATCH --cpus-per-task=2
#SBATCH --output=out.txt
# mpirun -np $SLURM_NTASKS ./build/bitcoin_app
# Количество CPU потоков на узел (должно соответствовать cpus-per-task)
export NUM_CPU_THREADS=2
cd /mnt/shared/supercomputers/build
mpirun -np $SLURM_NTASKS ./bitcoin_app