Commit ed4b2d67 authored by incardon's avatar incardon

fixing jenkins script

parent b3d48d91
......@@ -85,8 +85,9 @@ ulimit -s unlimited\n
echo $script | sed -r 's/\\n/\n/g' > run_script
chmod a+x run_script
srun --nodes=1 --ntasks-per-node=16 --time=04:00:00 --mem-per-cpu=1900 --partition=sandy run_script
if [ $? -ne 0 ]; then exit 1 ; fi
salloc --nodes=1 --ntasks-per-node=16 --time=04:00:00 --mem-per-cpu=1900 --partition=sandy mpirun -np 16 src/vcluster
# srun --nodes=1 --ntasks-per-node=16 --time=04:00:00 --mem-per-cpu=1900 --partition=sandy run_script
# if [ $? -ne 0 ]; then exit 1 ; fi
# srun --nodes=2 --ntasks-per-node=16 --time=04:00:00 --mem-per-cpu=1900 --partition=sandy run_script
# if [ $? -ne 0 ]; then exit 1 ; fi
# srun --nodes=4 --ntasks-per-node=16 --time=04:00:00 --mem-per-cpu=1900 --partition=sandy run_script
......
......@@ -413,7 +413,7 @@ BOOST_AUTO_TEST_CASE( VCluster_use_sendrecv)
// Check the message
for (size_t i = 0 ; i < 8 && i < n_proc ; i++)
{
long int p_id = vcl.getProcessUnitID() - i - 1;
long int p_id = ((i+1) * ps + vcl.getProcessUnitID()) % n_proc;
if (p_id < 0)
p_id += n_proc;
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment