-// Copyright (C) 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
static FactBatchManager_eVishnu sFBM_eVishnu;
- FactBatchManager_eVishnu::FactBatchManager_eVishnu() : FactBatchManager_eClient("eVISHNU")
+ FactBatchManager_eVishnu::FactBatchManager_eVishnu() : FactBatchManager("VISHNU")
{
}
{
}
- BatchManager * FactBatchManager_eVishnu::operator() (const char * hostname) const
+ BatchManager * FactBatchManager_eVishnu::operator() (const char * hostname,
+ const char * username,
+ CommunicationProtocolType protocolType,
+ const char * mpiImpl) const
{
// MESSAGE("Building new BatchManager_eVishnu on host '" << hostname << "'");
- return new BatchManager_eVishnu(this, hostname);
- }
-
- BatchManager_eClient * FactBatchManager_eVishnu::operator() (const char * hostname,
- const char * username,
- CommunicationProtocolType protocolType,
- const char * mpiImpl,
- int nb_proc_per_node) const
- {
- // MESSAGE("Building new BatchManager_eVishnu on host '" << hostname << "'");
- return new BatchManager_eVishnu(this, hostname, username, protocolType, mpiImpl, nb_proc_per_node);
+ return new BatchManager_eVishnu(this, hostname, username, protocolType, mpiImpl);
}
}