Всего процессов MPI 4 убито (возможно, mpirun во время очистки) - PullRequest
0 голосов
/ 04 июня 2018

Я занимаюсь разработкой симуляции nBody с использованием C и MPI и развернул ее на кластере AWS EC2.Я создал bash-скрипт для запуска моего сильного тестового примера масштабирования на кластере, это он

  #!/bin/bash

 mpirun -np 1 --hostfile hostfile.txt main2 50000 20 >> test50kX20np1.txt
echo "Test 1 Terminato"
 mpirun -np 2 --hostfile hostfile.txt main2 50000 20 >> test50kX20np2.txt
echo "Test 2 terminato"
 mpirun -np 4 --hostfile hostfile.txt main2 50000 20 >> test50kX20np4.txt
echo "Test 4 terminato"
 mpirun -np 6 --hostfile hostfile.txt main2 50000 20 >> test50kX20np6.txt
echo "Test 6 terminato"
 mpirun -np 8 --hostfile hostfile.txt main2 50000 20 >> test50kX20np8.txt
echo "Test 8 terminato"
mpirun -np 10 --hostfile hostfile.txt main2 50000 20 >> test50kX20np10.txt
echo "Test 10 terminato"
 mpirun -np 12 --hostfile hostfile.txt main2 50000 20 >> test50kX20np12.txt
echo "Test 12 terminato"
 mpirun -np 14 --hostfile hostfile.txt main2 50000 20 >> test50kX20np14.txt
echo "Test 14 terminato"
 mpirun -np 16 --hostfile hostfile.txt main2 50000 20 >> test50kX20np16.txt
echo "Test 16 terminato"

В конце скрипта сгенерированный текст:

  1. test50kX20np2.txt,

  2. test50kX20np4.txt,

  3. test50kX20np6.txt,
  4. test50kX20np8.txt,
  5. test50kX20np10.txt,
  6. test50kX20np12.txt,
  7. test50kX20np14.txt,
  8. test50kX20np16.txt

У них есть эта строка: (например, в test50kX20np4.txt )

4 total processes killed (some possibly by mpirun during cleanup)

Что может быть связано с этой ошибкой?

...