}
- void BatchManager_eClient::importDumpStateFile( const Job & job, const string directory )
+ bool BatchManager_eClient::importDumpStateFile( const Job & job, const string directory )
{
Parametre params = job.getParametre();
cerr << mess << endl;
}
+ bool ret = true;
status = _protocol.copyFile(string(params[TMPDIR]) + string("/dumpState*.xml"), _hostname, _username,
directory, "", "");
if (status) {
status_str << status;
mess += status_str.str();
cerr << mess << endl;
+ ret = false;
}
+ return ret;
}
MpiImpl *BatchManager_eClient::FactoryMpiImpl(string mpiImpl)
CommunicationProtocolType protocolType = SSH, const char* mpiImpl="mpich1");
virtual ~BatchManager_eClient();
void importOutputFiles( const Job & job, const std::string directory );
- void importDumpStateFile( const Job & job, const std::string directory );
+ bool importDumpStateFile( const Job & job, const std::string directory );
protected:
const CommunicationProtocol & _protocol; // protocol to access _hostname