Skip to content

Commit

Permalink
Merge pull request #121 from GOMC-WSU/YounesN-patch-1
Browse files Browse the repository at this point in the history
Added CUB library download notice to README.md
  • Loading branch information
Younes Nejahi authored May 17, 2019
2 parents 3e512ba + cb1f206 commit fd94abd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,10 @@ To cite GOMC project, please use [GOMC SoftwareX paper](https://www.sciencedirec
4. Click configure, select your compiler/environment
5. Wait for CMake to finish the configuration.
6. Click configure again and click generate.
7. Open the CMake-generated project/solution etc. to the desired IDE (e.g Visual Studio).
8. Using the solution in the IDE of choice build GOMC per the IDE's standard release compilation/executable generation methods.
7. Download [CUB library](https://nvlabs.github.io/cub/download_cub.html)
8. Extract CUB library and copy the "cub" folder from CUB library into "lib" folder inside GOMC directory.
9. Open the CMake-generated project/solution etc. to the desired IDE (e.g Visual Studio).
10. Using the solution in the IDE of choice build GOMC per the IDE's standard release compilation/executable generation methods.
NOTES:
You can also use CMake from the Windows command line if its directory is
Expand Down
6 changes: 3 additions & 3 deletions src/EwaldCached.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ void EwaldCached::backupMolCache()
if(BOX_TOTAL == 2) {
exgMolCache();
} else {
uint m;
int m;
#ifdef _OPENMP
#pragma omp parallel for private(m)
#endif
Expand All @@ -415,7 +415,7 @@ void EwaldCached::backupMolCache()
}
}
} else {
uint m;
int m;
#ifdef _OPENMP
#pragma omp parallel for private(m)
#endif
Expand All @@ -425,4 +425,4 @@ void EwaldCached::backupMolCache()
}
}
#endif
}
}

0 comments on commit fd94abd

Please sign in to comment.