From 2e9063b1db19a5a6ae91143dc4ceb4e463230e65 Mon Sep 17 00:00:00 2001 From: Younes Nejahi Date: Fri, 17 May 2019 13:41:13 -0400 Subject: [PATCH 1/2] Added CUB library download notice to README.md --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e9877360a..c03e65776 100644 --- a/README.md +++ b/README.md @@ -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 From cb1f20671783bdadb0aef1df239353209643e73b Mon Sep 17 00:00:00 2001 From: Younes Nejahi Date: Fri, 17 May 2019 13:44:16 -0400 Subject: [PATCH 2/2] Updated EwaldCached.cpp to compile on Windows. --- src/EwaldCached.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/EwaldCached.cpp b/src/EwaldCached.cpp index 067f02691..adeb50da7 100644 --- a/src/EwaldCached.cpp +++ b/src/EwaldCached.cpp @@ -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 @@ -415,7 +415,7 @@ void EwaldCached::backupMolCache() } } } else { - uint m; + int m; #ifdef _OPENMP #pragma omp parallel for private(m) #endif @@ -425,4 +425,4 @@ void EwaldCached::backupMolCache() } } #endif -} \ No newline at end of file +}