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
19da3380
Commit
19da3380
authored
Apr 24, 2017
by
Francois Tessier
Browse files
Fix Makefile to compile all cpp files
parent
69b6efc9
Changes
4
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
19da3380
include
make.inc/Makefile.bgq
CPP_FILES
:=
$(
wildcard
*
.cpp
)
OBJ_FILES
:=
$(CPP_FILES:.cpp=.o)
all
:
libtapioca.a
libtapioca.a
:
tapioca.o
libtapioca.a
:
$(OBJ_FILES)
ar rcs
$@
$?
tapioca.o
:
tapioca
.cpp
%.o
:
%
.cpp
$(MPICXX)
$(MPI_CFLAGS)
-c
$?
-o
$@
$(MPI_LDFLAGS)
install
:
...
...
make.inc/Makefile.bgq
View file @
19da3380
MPICXX
=
mpicxx
MPI_CFLAGS
=
-g
-O3
-I
./topology/
MPI_CFLAGS
+=
-DBGQ
#
-DDEBUG -DTIMING
MPI_CFLAGS
+=
-DBGQ
-DDEBUG
#
-DTIMING
MPI_CFLAGS
+=
-I
/bgsys/drivers/ppcfloor
-I
/bgsys/drivers/ppcfloor/spi/include/kernel/cnk
INSTALL_PATH
=
$(HOME)
/install_bgq
tapioca.hpp
View file @
19da3380
...
...
@@ -89,6 +89,7 @@ class Tapioca
int64_t
DataSizeSentToAggr
(
int
aggrId
);
void
InitAggregators
();
void
Push
(
MPI_File
fileHandle
,
MPI_Request
*
request
);
void
Pull
(
MPI_File
fileHandle
,
MPI_Request
*
request
);
void
GlobalFence
();
/***********************/
...
...
tp_read.cpp
View file @
19da3380
...
...
@@ -160,7 +160,7 @@ int Tapioca::Read (MPI_File fileHandle, MPI_Offset offset, void *buf,
}
void
Tapioca
::
Pu
sh
(
MPI_File
fileHandle
,
MPI_Request
*
request
)
void
Tapioca
::
Pu
ll
(
MPI_File
fileHandle
,
MPI_Request
*
request
)
{
int64_t
offset
,
dataSize
;
int
win
,
buffer
;
...
...
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