Commit 9d74335f authored by COULAUD Olivier's avatar COULAUD Olivier

d

parent 57b14e95
......@@ -181,8 +181,8 @@ IF(CMAKE_CXX_COMPILER_ID STREQUAL "Intel" AND APPLE)
# MESSAGE( "CMAKE_SYSTEM: ${CMAKE_SYSTEM} ${CMAKE_SYSTEM_NAME} ${CMAKE_SYSTEM_VERSION}")
# MESSAGE( "Intel: ${INTEL_VERSION}")
if( ${CMAKE_SYSTEM_VERSION} EQUAL 13 AND ${INTEL_VERSION} GREATER 13.0 )
SET(SCALFMM_LIBRARIES "${SCALFMM_LIBRARIES} -stdlib=libc++")
SET(ScaLFMM_CXX_FLAGS "${ScaLFMM_CXX_FLAGS} -stdlib=libc++")
SET(SCALFMM_LIBRARIES "${SCALFMM_LIBRARIES} -stdlib=libstdc++")
SET(ScaLFMM_CXX_FLAGS "${ScaLFMM_CXX_FLAGS} -stdlib=libstdc++")
endif()
endif()
......
......@@ -194,7 +194,7 @@ int main(int argc, char* argv[])
algorithm.execute(); // Here the call of the FMM algorithm
//
time.tac();
std::cout << "Done " << "(@Algorithm = " << time.elapsed() << "s)." << std::endl;
std::cout << "Done " << "(@Algorithm = " << time.elapsed() << " s)." << std::endl;
}
// -----------------------------------------------------
//
......
......@@ -246,7 +246,6 @@ int main(int argc, char ** argv){
}
int typeFReal = sizeof(FReal) ;
outfile.write((char* )&typeFReal,sizeof(int));
std::cout << "typeFReal "<<typeFReal<<std::endl;
outfile.write((char* )const_cast<int*>(&NbPoints),sizeof(FSize));
outfile.write((char*)&BoxWith,sizeof(BoxWith));
outfile.write((char*)Centre.getDataValue(),sizeof(FReal)*3);
......
This diff is collapsed.
// ===================================================================================
// Copyright ScalFmm 2011 INRIA, Olivier Coulaud, Bérenger Bramas, Matthias Messner
// Copyright ScalFmm 2011 INRIA, Olivier Coulaud, Berenger Bramas, Matthias Messner
// olivier.coulaud@inria.fr, berenger.bramas@inria.fr
// This software is a computer program whose purpose is to compute the FMM.
//
......@@ -235,8 +235,13 @@ public:
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.
Tous on la meme erreur le 2e 1 est remplace par le rang.
*/
FMpi( ) : communicator(0) {
int provided = 0;
FMpi::Assert( MPI_Init_thread(NULL,NULL, MPI_THREAD_MULTIPLE, &provided), __LINE__);
communicator = new FComm(MPI_COMM_WORLD);
}
FMpi(int inArgc, char ** inArgv ) : communicator(0) {
int provided = 0;
FMpi::Assert( MPI_Init_thread(&inArgc,&inArgv, MPI_THREAD_MULTIPLE, &provided), __LINE__);
......
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