Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
solverstack
ScalFMM
Commits
2f0d1ef4
Commit
2f0d1ef4
authored
Mar 17, 2016
by
Martin Khannouz
Committed by
Berenger Bramas
Mar 14, 2017
Browse files
Change few neglectable things.
Like variable in the script. Thread join in the data comparing.
parent
5b6d230c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Tests/GroupTree/compareDAGmapping.cpp
View file @
2f0d1ef4
...
...
@@ -337,12 +337,12 @@ int main(int argc, char* argv[])
fillPerformanceData
(
explicitTraceFilename
,
explicitData
);
explicitGood
=
fillDagData
(
explicitFilename
,
explicitData
);
});
explicitThread
.
join
();
std
::
thread
implicitThread
([
&
](){
fillPerformanceData
(
implicitTraceFilename
,
implicitData
);
implicitGood
=
fillDagData
(
implicitFilename
,
implicitData
);
});
implicitThread
.
join
();
explicitThread
.
join
();
if
(
implicitGood
&&
explicitGood
)
{
cout
<<
explicitData
.
allTask
.
size
()
<<
" tasks in explicit."
<<
endl
;
...
...
Tests/GroupTree/generateMapping.cpp
View file @
2f0d1ef4
...
...
@@ -209,7 +209,6 @@ int main(int argc, char* argv[]){
MPI_Send
(
const_cast
<
MortonIndex
*>
(
&
leftLimite
),
sizeof
(
leftLimite
),
MPI_BYTE
,
0
,
0
,
mpiComm
.
global
().
getComm
());
MPI_Send
(
const_cast
<
MortonIndex
*>
(
&
myLeftLimite
),
sizeof
(
myLeftLimite
),
MPI_BYTE
,
0
,
0
,
mpiComm
.
global
().
getComm
());
}
std
::
cout
<<
"Loutre "
<<
sizeof
(
starpu_tag_t
)
<<
std
::
endl
;
// Put the data into the tree
GroupOctreeClass
groupedTree
(
NbLevels
,
loader
.
getBoxWidth
(),
loader
.
getCenterOfBox
(),
groupSize
,
&
allParticles
,
true
,
leftLimite
);
...
...
compile_dag_result.sh
View file @
2f0d1ef4
#!/bin/sh
export
SCALFMM_SIMGRIDOUT
=
'scalfmm.out'
export
GROUP_SIZE
=
8
export
TREE_HEIGHT
=
3
export
TREE_HEIGHT
=
6
export
NB_NODE
=
8
export
NB_PARTICLE_PER_NODE
=
$((
`
awk
"BEGIN{print 8 ** (
$TREE_HEIGHT
-1)}"
`
/
$NB_NODE
))
echo
"GROUP_SIZE=
$GROUP_SIZE
"
echo
"TREE_HEIGHT=
$TREE_HEIGHT
"
echo
"NB_NODE=
$NB_NODE
"
echo
"NB_PARTICLE_PER_NODE=
$NB_PARTICLE_PER_NODE
"
make testBlockedImplicitAlgorithm generateMapping testBlockedMpiAlgorithm compareDAGmapping
-j
$((
`
nproc
`
*
2
))
if
[
$?
-ne
0
]
;
then
exit
...
...
Write
Preview
Supports
Markdown
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