29 |
|
if(worldRank == 0 ){ |
30 |
|
#endif // is_mpi |
31 |
|
|
32 |
< |
dumpFile.open(entry_plug->sampleName, ios::out | ios::trunc ); |
32 |
> |
dumpFile.open(entry_plug->sampleName.c_str(), ios::out | ios::trunc ); |
33 |
|
|
34 |
|
if( !dumpFile ){ |
35 |
|
|
107 |
|
#ifdef IS_MPI |
108 |
|
if(worldRank == 0 ){ |
109 |
|
#endif |
110 |
< |
finalOut.open( entry_plug->finalName, ios::out | ios::trunc ); |
110 |
> |
finalOut.open( entry_plug->finalName.c_str(), ios::out | ios::trunc ); |
111 |
|
if( !finalOut ){ |
112 |
|
sprintf( painCave.errMsg, |
113 |
|
"Could not open \"%s\" for final dump output.\n", |
139 |
|
if(worldRank == 0 ){ |
140 |
|
#endif // is_mpi |
141 |
|
|
142 |
< |
finalOut.open( entry_plug->finalName, ios::out | ios::trunc ); |
142 |
> |
finalOut.open( entry_plug->finalName.c_str(), ios::out | ios::trunc ); |
143 |
|
|
144 |
|
if( !finalOut ){ |
145 |
|
sprintf( painCave.errMsg, |