We'll be taking GitLab down for maintenance around 22 in the evening on the 15th of September, so this Sunday. Let us know (tt.mpi-cbg.de) if you experience any issues with it after the maintenance period.

Commit 1135dfd0 authored by incardon's avatar incardon

Eliminating useless write

parent 8c1f5ee8
......@@ -37,8 +37,6 @@ if [ x"$hostname" == x"cifarm-mac-node.mpi-cbg.de" ]; then
# rm -rf $HOME/openfpm_dependencies/openfpm_pdata/$branch/
fi
echo "Debug $hostname"
if [ x"$hostname" == x"falcon1" ]; then
# rm -rf $HOME/openfpm_dependencies/openfpm_pdata/$branch/
echo "falcon1 settings"
......
......@@ -27,68 +27,17 @@ if [ x"$hostname" == x"cifarm-ubuntu-node.mpi-cbg.de" ]; then
fi
if [ "$hostname" == "gin" ]
then
source "$HOME/.bashrc"
module load gcc/4.9.2
if [ $? -ne 0 ]; then
curl -X POST --data "payload={\"icon_emoji\": \":jenkins:\", \"username\": \"jenkins\" , \"attachments\":[{ \"title\":\"Error:\", \"color\": \"#FF0000\", \"text\":\"$hostname failed to complete the openfpm_pdata test \" }] }" https://hooks.slack.com/services/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
exit 1 ;
fi
if [ x"$branch" != x"" ]; then
source $HOME/openfpm_vars_$branch
else
source $HOME/openfpm_vars_master
fi
if [ x"$nproc" == x"no_test" ]; then
exit 0;
fi
mpirun -np $nproc ./build/src/pdata
if [ $? -ne 0 ]; then
curl -X POST --data "payload={\"icon_emoji\": \":jenkins:\", \"username\": \"jenkins\" , \"attachments\":[{ \"title\":\"Error:\", \"color\": \"#FF0000\", \"text\":\"$hostname failed to complete the openfpm_pdata test \" }] }" https://hooks.slack.com/services/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
exit 1 ;
fi
elif [ "$hostname" == "taurus" ]
then
source /etc/profile
echo "$PATH"
module load gcc/5.5.0
module load openmpi/3.0.0-gnu5.5
module unload bullxmpi
if [ x"$branch" != x"" ]; then
source $HOME/openfpm_vars_$branch
else
source $HOME/openfpm_vars_master
fi
salloc --nodes=$nodes --ntasks-per-node=$nstask_per_node --time=00:35:00 --mem-per-cpu=1900 --partition=haswell bash -c "ulimit -s unlimited && mpirun -np $nproc src/pdata --report_level=no"
if [ $? -ne 0 ]; then
curl -X POST --data "payload={\"icon_emoji\": \":jenkins:\", \"username\": \"jenkins\" , \"attachments\":[{ \"title\":\"Error:\", \"color\": \"#FF0000\", \"text\":\"$hostname failed to complete the openfpm_pdata test \" }] }" https://hooks.slack.com/services/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
exit 1 ;
fi
else
echo "Running general machine"
if [ x"$hostname" == x"no_test" ]; then
echo "Running general machine"
if [ x"$hostname" == x"no_test" ]; then
exit 0;
fi
fi
source $HOME/openfpm_vars_$branch
source $HOME/openfpm_vars_$branch
mpirun $mpi_options -np $nproc ./build/src/pdata
if [ $? -ne 0 ]; then
mpirun $mpi_options -np $nproc ./build/src/pdata
if [ $? -ne 0 ]; then
curl -X POST --data "payload={\"icon_emoji\": \":jenkins:\", \"username\": \"jenkins\" , \"attachments\":[{ \"title\":\"Error:\", \"color\": \"#FF0000\", \"text\":\"$hostname failed to complete the openfpm_pdata test \" }] }" https://hooks.slack.com/services/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
exit 1 ;
fi
fi
......@@ -1657,10 +1657,6 @@ void Test_ghost_correction(Box<3,double> & domain, long int k, long int g_)
++it2;
}
grid.getDecomposition().write("dec_set_for_adj");
grid.write("dec_for_adj");
BOOST_REQUIRE_EQUAL(is_inside,true);
}
......
......@@ -729,9 +729,6 @@ BOOST_AUTO_TEST_CASE( vector_dist_symmetric_crs_cell_list )
vd.ghost_get<0,2>();
vd2.ghost_get<0,2>();
vd2.write("CRS_output");
vd2.getDecomposition().write("CRS_output_dec");
auto NN = vd.getCellList(r_cut);
auto p_it = vd.getDomainIterator();
......
......@@ -1065,14 +1065,8 @@ void Test_interacting(Box<3,float> & box)
}
vd.map();
vd.write("Without_ghost");
vd.ghost_get<0>();
vd.write("With_ghost");
vd.getDecomposition().write("With_dec_ghost");
// get the cell list with a cutoff radius
bool error = false;
......
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