Fixed bug in programm.

This commit is contained in:
Christian
2019-08-05 19:15:38 +02:00
parent 66df79925a
commit cc24fd0a99
8 changed files with 44 additions and 26 deletions
+9 -2
View File
@@ -7,7 +7,8 @@
//
#include "simulation.hpp"
#include <sys/types.h>
#include <unistd.h>
using namespace std;
@@ -20,6 +21,13 @@ int main(int argc, char *argv[]) {
if (rank==0) {
cout<<"Number CPUs: "<<size<<"\n"<<endl;
}
/*
std::cout << "Process " << getpid() << " is " << rank
<< " of " << size << " processes" << std::endl;
if (rank == 0) sleep(600);
*/
Simulation Sim;
int start_time = MPI_Wtime();
@@ -30,4 +38,3 @@ int main(int argc, char *argv[]) {
MPI_Finalize();
return 0;
}