mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-10 07:55:35 +00:00
Warning squash
This commit is contained in:
parent
c7cc7e6101
commit
93f6c15772
@ -229,10 +229,12 @@ void Grid_init(int *argc,char ***argv)
|
|||||||
if( !GridCmdOptionExists(*argv,*argv+*argc,"--debug-stdout") ){
|
if( !GridCmdOptionExists(*argv,*argv+*argc,"--debug-stdout") ){
|
||||||
Grid_quiesce_nodes();
|
Grid_quiesce_nodes();
|
||||||
} else {
|
} else {
|
||||||
|
FILE *fp;
|
||||||
std::ostringstream fname;
|
std::ostringstream fname;
|
||||||
fname<<"Grid.stdout.";
|
fname<<"Grid.stdout.";
|
||||||
fname<<CartesianCommunicator::RankWorld();
|
fname<<CartesianCommunicator::RankWorld();
|
||||||
freopen(fname.str().c_str(),"w",stdout);
|
fp=freopen(fname.str().c_str(),"w",stdout);
|
||||||
|
assert(fp!=(FILE *)NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////
|
////////////////////////////////////
|
||||||
|
Loading…
Reference in New Issue
Block a user