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
Sbalzarini Lab
S
Software
P
Parallel Computing
OpenFPM
openfpm_vcluster
Commits
b648cdb1
Commit
b648cdb1
authored
Jul 14, 2016
by
Pietro Incardona
Browse files
Fixing Sementic send interface
parent
c20c6a40
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/Makefile.am
View file @
b648cdb1
...
...
@@ -18,3 +18,7 @@ util/Vcluster_log.hpp
.cu.o
:
$(NVCC)
$(NVCCFLAGS)
-o
$@
-c
$<
test
:
vcluster
source
$(HOME)
/openfpm_vars
&&
cd
..
&&
mpirun
-np
3 ./src/vcluster
&&
mpirun
-np
4 ./src/vcluster
src/VCluster.hpp
View file @
b648cdb1
...
...
@@ -953,19 +953,13 @@ public:
*/
void
execute
()
{
int
err
=
0
;
// if req == 0 return
if
(
req
.
size
()
==
0
)
return
;
// Wait for all the requests
stat
.
resize
(
req
.
size
());
err
=
MPI_Waitall
(
req
.
size
(),
&
req
.
get
(
0
),
&
stat
.
get
(
0
));
// MPI error get the message and abort MPI
if
(
err
!=
MPI_SUCCESS
)
MPI_Abort
(
MPI_COMM_WORLD
,
1
);
MPI_SAFE_CALL
(
MPI_Waitall
(
req
.
size
(),
&
req
.
get
(
0
),
&
stat
.
get
(
0
)));
// Remove executed request and status
req
.
clear
();
...
...
src/VCluster_semantic.ipp
View file @
b648cdb1
...
...
@@ -17,6 +17,8 @@ void reset_recv_buf()
{
for (size_t i = 0 ; i < recv_buf.size() ; i++)
recv_buf.get(i).resize(0);
recv_buf.resize(0);
}
/*! \brief Base info
...
...
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