Skip to content

Commit

Permalink
Revert "Pass new parameter to openmp call. Required for gcc builds"
Browse files Browse the repository at this point in the history
This reverts commit f6690ca.
  • Loading branch information
LSchwiebert committed Jan 22, 2025
1 parent f6690ca commit ceceaf9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/CalculateEnergy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ CalculateEnergy::BoxForce(SystemPotential potential, XYZArray const &coords,
#if defined _OPENMP && _OPENMP >= 201511 // check if OpenMP version is 4.5
#pragma omp parallel for default(none) shared(boxAxes, cellStartIndex, \
cellVector, coords, mapParticleToCell, neighborList) \
firstprivate(box, calcEnergies, atomCount, molCount, num::qqFact) \
firstprivate(box, atomCount, molCount, num::qqFact) \
reduction(+:tempREn, tempLJEn, aForcex[:atomCount], aForcey[:atomCount], \
aForcez[:atomCount], mForcex[:molCount], mForcey[:molCount], \
mForcez[:molCount])
Expand Down
2 changes: 1 addition & 1 deletion src/DCDlib.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ OFF_T NAMD_seek(int file, OFF_T offset, int whence) {
if (whence == SEEK_SET && retval != offset) {
char buf[256];
sprintf(buf,
"seek failed while writing DCD file: SEEK_SET %ld returned %ld\n",
"seek failed while writing DCD file: SEEK_SET %lld returned %lld\n",
offset, retval);
NAMD_die(buf);
}
Expand Down

0 comments on commit ceceaf9

Please sign in to comment.