Commit cd4d4d5d authored by David Rohr's avatar David Rohr
Browse files

initialize only on mpi rank 0

parent 08528178
......@@ -87,6 +87,8 @@ int bioem::configure(int ac, char* av[])
// ****** And Precalculating necessary grids, map crosscorrelations and kernels ********
// *************************************************************************************
if (mpi_rank == 0)
{
// *** Inizialzing default variables ***
std::string infile, modelfile, mapfile;
Model.readPDB = false;
......@@ -217,6 +219,12 @@ int bioem::configure(int ac, char* av[])
// copying mapfile to ref map class
param.filemap = mapfile.c_str();
RefMap.readRefMaps(param);
}
#ifdef WITH_MPI
#endif
if (mpi_rank != 0) return(1);
// ****************** Precalculating Necessary Stuff *********************
precalculate();
......
Supports Markdown
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