##!/bin/bash

echo $SLURM_PROCID
echo $NB_CPU_CLIENT
if (( (SLURM_PROCID<NB_CPU_CLIENT) ))
then echo "${SLURM_PROCID}-->CLIENT" ; ${CLIENT_NAME} 1>${JOB_REQUEST}.out.$SLURM_PROCID 2> ${JOB_REQUEST}.err.$SLURM_PROCID
else echo "${SLURM_PROCID}-->SERVER" ; ${SERVER_NAME} 1>${JOB_REQUEST}.out.$SLURM_PROCID 2> ${JOB_REQUEST}.err.$SLURM_PROCID 
fi
