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
Francois Tessier
TAPIOCA
Commits
13d84319
Commit
13d84319
authored
Aug 16, 2017
by
Francois Tessier
Browse files
Bug fix for filename string copy
parent
a75d012d
Changes
3
Hide whitespace changes
Inline
Side-by-side
architectures/linux-sles_12-x86_64/tp_memory.hpp
View file @
13d84319
...
...
@@ -21,7 +21,7 @@ public:
this
->
masterRank_
=
masterRank
;
MPI_Comm_dup
(
comm
,
&
this
->
comm_
);
this
->
buffSize_
=
buffSize
;
strcpy
(
this
->
fileName_
,
fileName
);
str
n
cpy
(
this
->
fileName_
,
fileName
,
sizeof
(
fileName
)
);
MPI_Comm_rank
(
this
->
comm_
,
&
rank
);
...
...
examples/HACC-IO/run_debug_xc40.sh
0 → 100755
View file @
13d84319
#!/bin/bash
NODES
=
8
PPN
=
16
NPROCS
=
$((
NODES
*
PPN
))
TARGET
=
"/lus/theta-fs0/projects/Performance/ftessier/HACC"
DDT
=
"/soft/debuggers/forge/bin/ddt --connect"
STRIPE_COUNT
=
2
STRIPE_SIZE
=
8388608
AGGR_MULT
=
1
cd
$HOME
/install/
$ARCHI
/bin/
export
TAPIOCA_DEVNULL
=
false
export
TAPIOCA_COMMSPLIT
=
true
export
TAPIOCA_STRATEGY
=
TOPOLOGY_AWARE
export
TAPIOCA_NBAGGR
=
2
export
TAPIOCA_BUFFERSIZE
=
16777216
function
setLustreFS
()
{
rm
$TARGET
/
*
lfs setstripe
--stripe-count
$STRIPE_COUNT
--stripe-size
$STRIPE_SIZE
$TARGET
lfs getstripe
$TARGET
}
function
updateSettings
()
{
printenv
| egrep
"TAPIOCA_"
SETTINGS
=
"-e TAPIOCA_DEVNULL=
$TAPIOCA_DEVNULL
"
SETTINGS
=
"
$SETTINGS
-e TAPIOCA_COMMSPLIT=
$TAPIOCA_COMMSPLIT
"
SETTINGS
=
"
$SETTINGS
-e TAPIOCA_STRATEGY=
$TAPIOCA_STRATEGY
"
SETTINGS
=
"
$SETTINGS
-e TAPIOCA_NBAGGR=
$TAPIOCA_NBAGGR
"
SETTINGS
=
"
$SETTINGS
-e TAPIOCA_BUFFERSIZE=
$TAPIOCA_BUFFERSIZE
"
SETTINGS
=
"
$SETTINGS
-e MPICH_RMA_OVER_DMAPP=1"
SETTINGS
=
"
$SETTINGS
-e MPICH_MPIIO_AGGREGATOR_PLACEMENT_DISPLAY=1"
SETTINGS
=
"
$SETTINGS
-e MPICH_MPIIO_HINTS=*:cray_cb_nodes_multiplier=
$AGGR_MULT
"
}
function
outputFile
()
{
OUTPUT
=
"
$HOME
/PUB-IPDPS18/dat/mem_abstraction"
OUTPUT
=
"
${
OUTPUT
}
/HACC_XC40_
${
BIN
}
_
${
NODES
}
_
${
PPN
}
"
OUTPUT
=
"
${
OUTPUT
}
_
${
TAPIOCA_STRATEGY
}
_
${
TAPIOCA_NBAGGR
}
_
${
TAPIOCA_BUFFERSIZE
}
_
${
PARTICLES
}
"
}
PARTICLES
=
25000
BIN
=
miniHACC-AoS
updateSettings
setLustreFS
>>
$OUTPUT
$DDT
aprun
$SETTINGS
-n
$NPROCS
-N
$PPN
./
$BIN
$PARTICLES
tapioca.cpp
View file @
13d84319
...
...
@@ -414,8 +414,8 @@ void Tapioca::InitAggregators ()
{
int
aggr
,
retval
;
this
->
memBuffer0
.
memAlloc
(
this
->
bufferSize_
,
DDR
,
this
->
amAnAggr_
,
NULL
,
this
->
subComm_
);
this
->
memBuffer1
.
memAlloc
(
this
->
bufferSize_
,
DDR
,
this
->
amAnAggr_
,
NULL
,
this
->
subComm_
);
this
->
memBuffer0
.
memAlloc
(
this
->
bufferSize_
,
DDR
,
this
->
amAnAggr_
,
""
,
this
->
subComm_
);
this
->
memBuffer1
.
memAlloc
(
this
->
bufferSize_
,
DDR
,
this
->
amAnAggr_
,
""
,
this
->
subComm_
);
#ifdef DEBUG
if
(
this
->
commRank_
==
MASTER
)
{
...
...
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