ildyria / Arimaa

3 stars 1 forks source link

crashing on linux. #10

Closed ildyria closed 9 years ago

ildyria commented 9 years ago

Compilation warnings :

In file included from DistributedMCTS/voteAi.cpp:1:0: DistributedMCTS/voteAi.h:112:9: attention : padding struct to align ‘VoteAI::nextMoveChances’ [-Wpadded] double nextMoveChances; ^ In file included from DistributedMCTS/WorkerAI.h:3:0, from DistributedMCTS/DistributedMCTS.cpp:10: DistributedMCTS/voteAi.h:112:9: attention : padding struct to align ‘VoteAI::nextMoveChances’ [-Wpadded] double nextMoveChances; ^ DistributedMCTS/DistributedMCTS.cpp: In function ‘int main(int, char**)’: DistributedMCTS/DistributedMCTS.cpp:29:6: attention : unused variable ‘rc’ [-Wunused-variable] int rc = MPI_SUCCESS; // Return code ^ In file included from DistributedMCTS/WorkerAI.h:3:0, from DistributedMCTS/DistributedMCTS.cpp:10: DistributedMCTS/voteAi.h: At global scope: DistributedMCTS/voteAi.h:118:12: attention : ‘int getMPIRank()’ defined but not used [-Wunused-function] static int getMPIRank() ^

Problem at runtime too :

[bviguier@pomerol DistributedMCTS]$ p-mpiexec 4 bin/main -t 5 New task : Number of tasks=4 My rank=0 My name=pomerol.educ.insa. I will think for 5 seconds. There are 6057892 free MB of physical memory.

size of node : 64 max num of leaves : 46 039 979 New task : Number of tasks=4 My rank=1 My name=evian.educ.insa. I will think for New task : Number of tasks=5 seconds. There are 7587788 free MB of physical memory.

size of node : 64 4 My rank=2 My name=vichy.educ.insa. I will think for 5 seconds. There are 7585828 free MB of physical memory.

size of node : 64 max num of leaves : 57 652 292 max num of leaves : 57 667 188 New task : Number of tasks=4 My rank=3 My name=vittel.educ.insa. I will think for 5 seconds. There are 7440388 free MB of physical memory.

size of node : 64 max num of leaves : 56 546 948 Fatal error in MPI_Waitall: Invalid count, error stack: MPI_Waitall(261): MPI_Waitall(count=-1, req_array=(nil), status_array=(nil)) failed MPI_Waitall(100): Negative count, value is -1 rank 0 in job 3 pomerol.educ.insa_50000 caused collective abort of all ranks exit status of rank 0: return code 1