Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Francois Tessier
TAPIOCA
Commits
e3bdeef9
Commit
e3bdeef9
authored
Aug 29, 2017
by
Francois Tessier
Browse files
Fix BG/Q implementation for topology abstraction
parent
29b74754
Changes
4
Hide whitespace changes
Inline
Side-by-side
architectures/linux-rhel_6-ppc64/tp_network.hpp
View file @
e3bdeef9
#ifndef
BGQ_MIRA
_H
#define
BGQ_MIRA
_H
#ifndef
TP_NETWORK
_H
#define
TP_NETWORK
_H
#include
<stdio.h>
#include
<stdlib.h>
...
...
@@ -246,4 +246,4 @@ private:
}
};
#endif //
BGQ_MIRA
_H
#endif //
TP_NETWORK
_H
examples/HACC-IO/run_check_xc40.sh
View file @
e3bdeef9
#!/bin/bash
NODES
=
256
NODES
=
1024
PPN
=
16
NPROCS
=
$((
NODES
*
PPN
))
TARGET
=
"/lus/theta-fs0/projects/Performance/ftessier/HACC"
...
...
@@ -13,7 +13,7 @@ cd $HOME/install/$ARCHI/bin/
export
TAPIOCA_DEVNULL
=
false
export
TAPIOCA_COMMSPLIT
=
true
export
TAPIOCA_STRATEGY
=
TOPOLOGY_AWARE
export
TAPIOCA_NBAGGR
=
48
export
TAPIOCA_NBAGGR
=
1
export
TAPIOCA_BUFFERSIZE
=
16777216
function
setLustreFS
()
...
...
@@ -35,13 +35,13 @@ function updateSettings()
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=
1
"
SETTINGS
=
"
$SETTINGS
-e MPICH_MPIIO_HINTS=*:cray_cb_nodes_multiplier=
3
"
}
function
outputFile
()
{
OUTPUT
=
"
$HOME
/PUB-IPDPS18/dat/hacc_rw"
OUTPUT
=
"
${
OUTPUT
}
/HACC_XC40_
${
BIN
}
_
${
NODES
}
_
${
PPN
}
"
OUTPUT
=
"
${
OUTPUT
}
/HACC_XC40_
FP8N_
${
BIN
}
_
${
NODES
}
_
${
PPN
}
"
OUTPUT
=
"
${
OUTPUT
}
_
${
TAPIOCA_STRATEGY
}
_
${
TAPIOCA_NBAGGR
}
_
${
TAPIOCA_BUFFERSIZE
}
_
${
PARTICLES
}
"
}
...
...
examples/HACC-IO/run_debug_xc40.sh
0 → 100755
View file @
e3bdeef9
#!/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
cd
$HOME
/install/
$ARCHI
/bin/
export
TAPIOCA_DEVNULL
=
false
export
TAPIOCA_COMMSPLIT
=
true
export
TAPIOCA_STRATEGY
=
TOPOLOGY_AWARE
export
TAPIOCA_NBAGGR
=
1
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=1"
}
updateSettings
PARTICLES
=
25000
BIN
=
miniHACC-AoS
setLustreFS
$DDT
aprun
$SETTINGS
-n
$NPROCS
-N
$PPN
./
$BIN
$PARTICLES
make.inc/Makefile.linux-rhel_6-ppc64
View file @
e3bdeef9
MPICXX
=
mpixlcxx
MPI_CFLAGS
=
-g
-O3
-I
./architectures/
$(ARCHI)
MPI_CFLAGS
=
-g
-O3
-I
./architectures
-I
./architectures/
$(ARCHI)
MPI_CFLAGS
+=
-DDEBUG
#-DTIMING
TP_INCLUDE
=
architectures/tp_network_interface.hpp
\
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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