5 |
|
#include <cmath> |
6 |
|
#include <cstring> |
7 |
|
#include <mpi.h> |
8 |
– |
#include <mpi++.h> |
8 |
|
|
9 |
|
#include "simError.h" |
10 |
|
#include "SimSetup.hpp" |
19 |
|
|
20 |
|
int main(int argc,char* argv[]){ |
21 |
|
|
23 |
– |
int i; |
24 |
– |
unsigned int n_atoms, eo, xo; |
22 |
|
char* in_name; |
23 |
|
SimSetup* startMe; |
24 |
|
SimInfo* entry_plug; |
27 |
|
// first things first, all of the initializations |
28 |
|
|
29 |
|
MPI_Init( &argc, &argv ); // the MPI communicators |
30 |
+ |
|
31 |
+ |
cerr << "Hello from MPI!\n"; |
32 |
+ |
|
33 |
|
initSimError(); // the error handler |
34 |
|
srand48( 1337 ); // the random number generator. |
35 |
|
|