Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
argupta
openfpm_pdata
Commits
1135dfd0
Commit
1135dfd0
authored
Dec 26, 2018
by
incardon
Browse files
Eliminating useless write
parent
8c1f5ee8
Changes
5
Hide whitespace changes
Inline
Side-by-side
build.sh
View file @
1135dfd0
...
...
@@ -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"
...
...
run.sh
View file @
1135dfd0
...
...
@@ -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
src/Grid/tests/grid_dist_id_unit_test.cpp
View file @
1135dfd0
...
...
@@ -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
);
}
...
...
src/Vector/tests/vector_dist_cell_list_tests.cpp
View file @
1135dfd0
...
...
@@ -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
();
...
...
src/Vector/tests/vector_dist_unit_test.cpp
View file @
1135dfd0
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment