mpi运行时,mpirun时总是报错

BAD TERMINATION OF ONE OF YOUR APPLICATION PRECESSES
PID 2660 RUNNING AT frame-UX430UNR
EXIT COD :9
CLEANING UO REMAINING PRECESSES
YOU AN IGNORE THE BELOW CLEANUP MESSAGES

YOUR APPLICATION TERMINATED WITH THE EXIT STRING: Killed(siganl 9)
Thie typically refers to a problem with your application.
Please see the FAQ page for debugging suggestions
源代码如下:

int main()
{
int numprocs, myrank;
MPI_Init(&argc,&argv);
MPI_Comm_rank(MPI_COMM_WORLD, &myrank);
MPI_Comm_size(MPI_COMM_WORLD, &numprocs);
CS cs;
cs.InputTxtData();
..........
}
void CS::InputTxtData()
{
ifstream fin_Ca("Data[txt].dat",ios::in );
fin_Ca>>dX1>>dY1>>dZ1>>dX2>>dY2>>dZ2>>endl;
........
}
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问