X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FCore%2FMpiImpl.cxx;fp=src%2FCore%2FMpiImpl.cxx;h=9cb46d4ff270170ac524c41566b5473d10e7eed4;hb=2c78d2d59017ae4888a0b8acddec41224f1d95a9;hp=13650c438edc736f65ddaaf4a9332fa43606b29b;hpb=097bd648ec2df94785a541abd330a96e4b016cbd;p=tools%2Flibbatch.git diff --git a/src/Core/MpiImpl.cxx b/src/Core/MpiImpl.cxx index 13650c4..9cb46d4 100644 --- a/src/Core/MpiImpl.cxx +++ b/src/Core/MpiImpl.cxx @@ -58,14 +58,14 @@ string MpiImpl_LAM::rank() return "${LAMRANK}"; } -string MpiImpl_LAM::boot(const string machinefile, const unsigned int nbnodes) +string MpiImpl_LAM::boot(const string machinefile, const unsigned int /*nbnodes*/) { ostringstream oss; oss << "lamboot " << machinefile << endl; return oss.str(); } -string MpiImpl_LAM::run(const string machinefile, const unsigned int nbproc, const string fileNameToExecute) +string MpiImpl_LAM::run(const string /*machinefile*/, const unsigned int nbproc, const string fileNameToExecute) { ostringstream oss; oss << "mpirun -np " << nbproc << " " << fileNameToExecute << endl; @@ -105,7 +105,7 @@ string MpiImpl_MPICH1::rank() return "${MPIRUN_RANK}"; } -string MpiImpl_MPICH1::boot(const string machinefile, const unsigned int nbnodes) +string MpiImpl_MPICH1::boot(const string /*machinefile*/, const unsigned int /*nbnodes*/) { return ""; } @@ -158,7 +158,7 @@ string MpiImpl_MPICH2::boot(const string machinefile, const unsigned int nbnodes return oss.str(); } -string MpiImpl_MPICH2::run(const string machinefile, const unsigned int nbproc, const string fileNameToExecute) +string MpiImpl_MPICH2::run(const string /*machinefile*/, const unsigned int nbproc, const string fileNameToExecute) { ostringstream oss; oss << "mpirun -np " << nbproc << " " << fileNameToExecute << endl; @@ -198,7 +198,7 @@ string MpiImpl_OPENMPI::rank() return "${OMPI_MCA_ns_nds_vpid}"; } -string MpiImpl_OPENMPI::boot(const string machinefile, const unsigned int nbnodes) +string MpiImpl_OPENMPI::boot(const string /*machinefile*/, const unsigned int /*nbnodes*/) { return ""; } @@ -241,7 +241,7 @@ string MpiImpl_OMPI::rank() return "${OMPI_MCA_ns_nds_vpid}"; } -string MpiImpl_OMPI::boot(const string machinefile, const unsigned int nbnodes) +string MpiImpl_OMPI::boot(const string /*machinefile*/, const unsigned int /*nbnodes*/) { return ""; } @@ -284,12 +284,12 @@ string MpiImpl_SLURM::rank() return "${SLURM_PROCID}"; } -string MpiImpl_SLURM::boot(const string machinefile, const unsigned int nbnodes) +string MpiImpl_SLURM::boot(const string /*machinefile*/, const unsigned int /*nbnodes*/) { return ""; } -string MpiImpl_SLURM::run(const string machinefile, const unsigned int nbproc, const string fileNameToExecute) +string MpiImpl_SLURM::run(const string /*machinefile*/, const unsigned int /*nbproc*/, const string fileNameToExecute) { ostringstream oss; oss << "srun " << fileNameToExecute << endl; @@ -327,12 +327,12 @@ string MpiImpl_PRUN::rank() return "${RMS_RANK}"; } -string MpiImpl_PRUN::boot(const string machinefile, const unsigned int nbnodes) +string MpiImpl_PRUN::boot(const string /*machinefile*/, const unsigned int /*nbnodes*/) { return ""; } -string MpiImpl_PRUN::run(const string machinefile, const unsigned int nbproc, const string fileNameToExecute) +string MpiImpl_PRUN::run(const string /*machinefile*/, const unsigned int nbproc, const string fileNameToExecute) { ostringstream oss; oss << "prun -n " << nbproc << " " << "-p mpi " << fileNameToExecute << endl;