Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
TAPIOCA
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Francois Tessier
TAPIOCA
Commits
e8cb9317
Commit
e8cb9317
authored
Jul 06, 2017
by
Francois Tessier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove pre-processing. Topology-awareness based on dir hierarchy
parent
f4175724
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
12 additions
and
51 deletions
+12
-51
Makefile
Makefile
+1
-1
architectures/linux-rhel_6-ppc64/tp_network.hpp
architectures/linux-rhel_6-ppc64/tp_network.hpp
+1
-1
architectures/linux-sles_12-x86_64/include/lustre/lustre_user.h
...ectures/linux-sles_12-x86_64/include/lustre/lustre_user.h
+0
-0
architectures/linux-sles_12-x86_64/include/lustre/lustre_user_cxx.patch
...linux-sles_12-x86_64/include/lustre/lustre_user_cxx.patch
+0
-0
architectures/linux-sles_12-x86_64/include/lustre/lustreapi.h
...itectures/linux-sles_12-x86_64/include/lustre/lustreapi.h
+0
-0
architectures/linux-sles_12-x86_64/tp_network.hpp
architectures/linux-sles_12-x86_64/tp_network.hpp
+1
-1
architectures/sample.hpp
architectures/sample.hpp
+0
-38
make.inc/Makefile.linux-rhel_6-ppc64
make.inc/Makefile.linux-rhel_6-ppc64
+5
-4
make.inc/Makefile.linux-sles_12-x86_64
make.inc/Makefile.linux-sles_12-x86_64
+3
-1
tapioca.hpp
tapioca.hpp
+1
-5
No files found.
Makefile
View file @
e8cb9317
...
...
@@ -12,7 +12,7 @@ libtapioca.a:$(OBJ_FILES)
$(MPICXX)
$(MPI_CFLAGS)
-c
$?
-o
$@
$(MPI_LDFLAGS)
install
:
cp
-r
tapioca.hpp
architectures/
*
.hpp architectures/include/
*
$(INSTALL_PATH)
/include
cp
-r
tapioca.hpp
$(TP_INCLUDE)
$(INSTALL_PATH)
/include
cp
libtapioca.a
$(INSTALL_PATH)
/lib
clean
:
...
...
architectures/
bgq_mira
.hpp
→
architectures/
linux-rhel_6-ppc64/tp_network
.hpp
View file @
e8cb9317
...
...
@@ -4,7 +4,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <algorithm>
#include "topology.hpp"
#include "
../
topology.hpp"
#include <spi/include/kernel/location.h>
#include <spi/include/kernel/process.h>
...
...
architectures/include/lustre/lustre_user.h
→
architectures/
linux-sles_12-x86_64/
include/lustre/lustre_user.h
View file @
e8cb9317
File moved
architectures/include/lustre/lustre_user_cxx.patch
→
architectures/
linux-sles_12-x86_64/
include/lustre/lustre_user_cxx.patch
View file @
e8cb9317
File moved
architectures/include/lustre/lustreapi.h
→
architectures/
linux-sles_12-x86_64/
include/lustre/lustreapi.h
View file @
e8cb9317
File moved
architectures/
cray_xc40_theta
.hpp
→
architectures/
linux-sles_12-x86_64/tp_network
.hpp
View file @
e8cb9317
...
...
@@ -3,7 +3,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "topology.hpp"
#include "
../
topology.hpp"
#include <pmi.h>
...
...
architectures/sample.hpp
deleted
100644 → 0
View file @
f4175724
#ifndef SAMPLE_H
#define SAMPLE_H
#include <stdio.h>
#include <stdlib.h>
#include "topology.h"
class
Topology
:
public
iTopology
{
public:
int
NetworkDimensions
()
{
return
0
;
}
int
RankToCoordinates
(
int
rank
,
int
*
coord
)
{
return
0
;
}
int
IONodeId
()
{
return
0
;
}
int
BridgeNodeId
()
{
return
0
;
}
int
DistanceToIONode
()
{
return
0
;
}
int
DistanceToRank
(
int
destRank
)
{
return
0
;
}
int
ProcessPerNode
()
{
return
0
;
}
};
#endif // SAMPLE_H
make.inc/Makefile.linux-rhel_6-ppc64
View file @
e8cb9317
MPICXX
=
mpixlcxx
MPI_CFLAGS
=
-g
-O3
-I
./architectures/
MPI_CFLAGS
+=
-DBGQ
-DDEBUG
#-DTIMING
#MPI_CFLAGS += -I/bgsys/drivers/ppcfloor -I/bgsys/drivers/ppcfloor/spi/include/kernel/cnk
MPI_CFLAGS
=
-g
-O3
-I
./architectures/
$(ARCHI)
MPI_CFLAGS
+=
-DDEBUG
#-DTIMING
INSTALL_PATH
=
$(HOME)
/install/
$(ARCHI)
TP_INCLUDE
=
architectures/
$(ARCHI)
/
*
INSTALL_PATH
=
$(HOME)
/install/
$(ARCHI)
make.inc/Makefile.linux-sles_12-x86_64
View file @
e8cb9317
MPICXX
=
CC
MPI_CFLAGS
=
-g
-I
./architectures/
-I
./architectures
/include/
MPI_CFLAGS
=
-g
-I
./architectures/
$(ARCHI)
-I
./architectures/
$(ARCHI)
/include/
MPI_CFLAGS
+=
-DXC40
-DDEBUG
#-DTIMING
MPI_LDFLAGS
=
-llustreapi
-Wl
,--whole-archive,-ldmapp,--no-whole-archive
TP_INCLUDE
=
architectures/
$(ARCHI)
/
*
architectures/
$(ARCHI)
/include/
*
INSTALL_PATH
=
$(HOME)
/install/
$(ARCHI)
tapioca.hpp
View file @
e8cb9317
...
...
@@ -18,11 +18,7 @@
#include <map>
#include "mpi.h"
#ifdef BGQ
#include "bgq_mira.hpp"
#elif XC40
#include "cray_xc40_theta.hpp"
#endif
#include "tp_network.hpp"
enum
MAPPING_STRATEGY
{
...
...
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