Skip to content
Snippets Groups Projects
Commit a2d15d3f authored by Pedro Gonnet's avatar Pedro Gonnet
Browse files

formatting.

parent 1e2e25f2
No related branches found
No related tags found
2 merge requests!659Parallel rebuild2,!655Parallel rebuild
...@@ -850,7 +850,8 @@ __attribute__((always_inline)) INLINE static int cell_need_rebuild_for_pair( ...@@ -850,7 +850,8 @@ __attribute__((always_inline)) INLINE static int cell_need_rebuild_for_pair(
* *
* @param c The #cell to tag. * @param c The #cell to tag.
*/ */
__attribute__((always_inline)) INLINE static void cell_ensure_tagged(struct cell *c) { __attribute__((always_inline)) INLINE static void cell_ensure_tagged(
struct cell *c) {
#ifdef WITH_MPI #ifdef WITH_MPI
lock_lock(&c->hydro.lock); lock_lock(&c->hydro.lock);
......
...@@ -228,8 +228,8 @@ void proxy_cells_exchange_first(struct proxy *p) { ...@@ -228,8 +228,8 @@ void proxy_cells_exchange_first(struct proxy *p) {
p->nodeID * proxy_tag_shift + proxy_tag_count, MPI_COMM_WORLD, p->nodeID * proxy_tag_shift + proxy_tag_count, MPI_COMM_WORLD,
&p->req_cells_count_in); &p->req_cells_count_in);
if (err != MPI_SUCCESS) mpi_error(err, "Failed to irecv nr of pcells."); if (err != MPI_SUCCESS) mpi_error(err, "Failed to irecv nr of pcells.");
// message( "irecv pcells count on node %i from node %i." , p->mynodeID , // message( "irecv pcells count on node %i from node %i." , p->mynodeID ,
// p->nodeID ); fflush(stdout); // p->nodeID ); fflush(stdout);
#else #else
error("SWIFT was not compiled with MPI support."); error("SWIFT was not compiled with MPI support.");
...@@ -261,8 +261,8 @@ void proxy_cells_exchange_second(struct proxy *p) { ...@@ -261,8 +261,8 @@ void proxy_cells_exchange_second(struct proxy *p) {
MPI_COMM_WORLD, &p->req_cells_in); MPI_COMM_WORLD, &p->req_cells_in);
if (err != MPI_SUCCESS) mpi_error(err, "Failed to irecv part data."); if (err != MPI_SUCCESS) mpi_error(err, "Failed to irecv part data.");
// message( "irecv pcells (%i) on node %i from node %i." , p->size_pcells_in // message( "irecv pcells (%i) on node %i from node %i." , p->size_pcells_in
// , p->mynodeID , p->nodeID ); fflush(stdout); // , p->mynodeID , p->nodeID ); fflush(stdout);
#else #else
error("SWIFT was not compiled with MPI support."); error("SWIFT was not compiled with MPI support.");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment