| 102 |
|
streamSize = ppStream.str().size() +1; |
| 103 |
|
commStatus = MPI_Bcast(&streamSize, 1, MPI_LONG, masterNode, MPI_COMM_WORLD); |
| 104 |
|
|
| 105 |
< |
commStatus = MPI_Bcast(ppStream.str().c_str(), streamSize, MPI_CHAR, masterNode, MPI_COMM_WORLD); |
| 105 |
> |
commStatus = MPI_Bcast(static_cast<void*>(const_cast<char*>(ppStream.str().c_str())), streamSize, MPI_CHAR, masterNode, MPI_COMM_WORLD); |
| 106 |
|
|
| 107 |
|
|
| 108 |
|
} else { |
| 224 |
|
} |
| 225 |
|
|
| 226 |
|
ff->parse(forcefieldFileName); |
| 227 |
< |
|
| 227 |
> |
ff->setFortranForceOptions(); |
| 228 |
|
//create SimInfo |
| 229 |
|
SimInfo * info = new SimInfo(ff, simParams); |
| 230 |
|
|