mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-13 01:05:36 +00:00
Merge branch 'feature/dwf-multirhs' of https://github.com/paboyle/Grid into feature/dwf-multirhs
This commit is contained in:
commit
a11d0a33d1
@ -128,12 +128,11 @@ int main (int argc, char ** argv)
|
|||||||
{
|
{
|
||||||
for(int n=0;n<nrhs;n++){
|
for(int n=0;n<nrhs;n++){
|
||||||
|
|
||||||
std::stringstream filefn;
|
|
||||||
filefn << filef << "."<< n;
|
|
||||||
|
|
||||||
std::cout << GridLogMessage << "****************************************************************** "<<std::endl;
|
std::cout << GridLogMessage << "****************************************************************** "<<std::endl;
|
||||||
std::cout << GridLogMessage << " Writing out record "<<n<<std::endl;
|
std::cout << GridLogMessage << " Writing out record "<<n<<std::endl;
|
||||||
std::cout << GridLogMessage << "****************************************************************** "<<std::endl;
|
std::cout << GridLogMessage << "****************************************************************** "<<std::endl;
|
||||||
|
|
||||||
|
std::stringstream filefn; filefn << filef << "."<< n;
|
||||||
ScidacWriter _ScidacWriter;
|
ScidacWriter _ScidacWriter;
|
||||||
_ScidacWriter.open(filefn.str());
|
_ScidacWriter.open(filefn.str());
|
||||||
_ScidacWriter.writeScidacFieldRecord(src[n],record);
|
_ScidacWriter.writeScidacFieldRecord(src[n],record);
|
||||||
@ -147,10 +146,8 @@ int main (int argc, char ** argv)
|
|||||||
std::cout << GridLogMessage << "****************************************************************** "<<std::endl;
|
std::cout << GridLogMessage << "****************************************************************** "<<std::endl;
|
||||||
|
|
||||||
for(int n=0;n<nrhs;n++){
|
for(int n=0;n<nrhs;n++){
|
||||||
|
|
||||||
std::stringstream filefn;
|
|
||||||
filefn << filef << "."<< n;
|
|
||||||
if ( n==me ) {
|
if ( n==me ) {
|
||||||
|
std::stringstream filefn; filefn << filef << "."<< n;
|
||||||
ScidacReader _ScidacReader;
|
ScidacReader _ScidacReader;
|
||||||
_ScidacReader.open(filefn.str());
|
_ScidacReader.open(filefn.str());
|
||||||
_ScidacReader.readScidacFieldRecord(s_src,record);
|
_ScidacReader.readScidacFieldRecord(s_src,record);
|
||||||
|
Loading…
Reference in New Issue
Block a user