--- trunk/src/brains/SimCreator.cpp 2005/12/16 18:26:41 816 +++ trunk/src/brains/SimCreator.cpp 2005/12/30 15:32:55 832 @@ -102,7 +102,7 @@ Globals* SimCreator::parseFile(const std::string mdFil streamSize = ppStream.str().size() +1; commStatus = MPI_Bcast(&streamSize, 1, MPI_LONG, masterNode, MPI_COMM_WORLD); - commStatus = MPI_Bcast(ppStream.str().c_str(), streamSize, MPI_CHAR, masterNode, MPI_COMM_WORLD); + commStatus = MPI_Bcast(static_cast(const_cast(ppStream.str().c_str())), streamSize, MPI_CHAR, masterNode, MPI_COMM_WORLD); } else { @@ -224,7 +224,7 @@ Globals* SimCreator::parseFile(const std::string mdFil } ff->parse(forcefieldFileName); - + ff->setFortranForceOptions(); //create SimInfo SimInfo * info = new SimInfo(ff, simParams);