Skip to content

Commit

Permalink
Fixing compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
khuck committed Apr 3, 2023
1 parent 683337a commit 0aabc60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/examples/LuleshMPIOpenMP/lulesh.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2223,7 +2223,7 @@ void CalcSoundSpeedForElems(Domain &domain,
Index_t len, Index_t *regElemList)
{
LULESH_UNUSED(ss4o3);
#pragma omp parallel for firstprivate(rho0, ss4o3)
#pragma omp parallel for firstprivate(rho0)
for (Index_t i = 0; i < len ; ++i) {
Index_t elem = regElemList[i];
Real_t ssTmp = (pbvc[i] * enewc[i] + vnewc[elem] * vnewc[elem] *
Expand Down
2 changes: 1 addition & 1 deletion src/examples/MPIGlobalTest/mpi_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ static void worker(void) {
/* Check the tag of the received message. */

if (status.MPI_TAG == DIETAG) {
return;
break;
}

/* Do the work */
Expand Down

0 comments on commit 0aabc60

Please sign in to comment.