Attention une mise à jour du service Gitlab va être effectuée le mardi 30 novembre entre 17h30 et 18h00. Cette mise à jour va générer une interruption du service dont nous ne maîtrisons pas complètement la durée mais qui ne devrait pas excéder quelques minutes. Cette mise à jour intermédiaire en version 14.0.12 nous permettra de rapidement pouvoir mettre à votre disposition une version plus récente.

Commit e7d6d4df authored by berenger-bramas's avatar berenger-bramas
Browse files

Add thread multiple to be really sure that the library can use big simulation file.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/scalfmm/scalfmm/trunk@193 2616d619-271b-44dc-8df4-d4a8f33a7222
parent 0a884057
......@@ -380,7 +380,7 @@ public:
if(nbLeafs){
particlesToSend = intervals;
int currentLeafPosition = 0;
FSize currentLeafPosition = 0;
//Send to Left (the first leaves
if(iNeedToSendToLeft){
......@@ -388,8 +388,8 @@ public:
currentLeafPosition += ((*(int*)&particlesToSend[currentLeafPosition]) * sizeof(ParticleClass)) + sizeof(int);
}
hasBeenSentToLeft = FMath::Min(iNeedToSendLeftCount, iCanSendToLeft);
MPI_Isend(particlesToSend, currentLeafPosition, MPI_BYTE , rank - 1, 0, MPI_COMM_WORLD, &requests[iterRequest++]);
printf("I send to left %d bytes %lld leaves\n", currentLeafPosition, hasBeenSentToLeft);
MPI_Isend(particlesToSend, int(currentLeafPosition), MPI_BYTE , rank - 1, 0, MPI_COMM_WORLD, &requests[iterRequest++]);
printf("I send to left %lld bytes %lld leaves\n", currentLeafPosition, hasBeenSentToLeft);
}
printf("Elapsed %lf\n", counter.tacAndElapsed());
......
......@@ -29,8 +29,18 @@ public:
////////////////////////////////////////////////////////
typedef MPI_Request Request;
/*
[fourmi062:15896] [[13237,0],1]-[[13237,1],1] mca_oob_tcp_msg_recv: readv failed: Connection reset by peer (104)
[fourmi056:04597] [[13237,0],3]-[[13237,1],3] mca_oob_tcp_msg_recv: readv failed: Connection reset by peer (104)
[fourmi053:08571] [[13237,0],5]-[[13237,1],5] mca_oob_tcp_msg_recv: readv failed: Connection reset by peer (104)
Erreur pour le proc1
[[13237,1],1][btl_openib_component.c:3227:handle_wc] from fourmi062 to: fourmi056 error polling LP CQ with status LOCAL LENGTH ERROR status number 1 for wr_id 7134664 opcode 0 vendor error 105 qp_idx 3
Tous on la meme erreur le 2e 1 est remplacé par le rang.
*/
FMpi(int inArgc, char ** inArgv ) {
MPI_Init(&inArgc,&inArgv);
int provided = 0;
MPI_Init_thread(&inArgc,&inArgv, MPI_THREAD_MULTIPLE, &provided);
}
~FMpi(){
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment