Skip to content

Commit 2a3b951

Browse files
foxtranlmseidler
authored andcommitted
Implement parallelization for hydrogen bond list setup in gfnff_hbset and gfnff_hbset0 (grimme-lab#1362)
* Format gfnff_hbset0 Signed-off-by: Igor S. Gerasimov <[email protected]> * Format gfnff_hbset Signed-off-by: Igor S. Gerasimov <[email protected]> * Reorder arguments Signed-off-by: Igor S. Gerasimov <[email protected]> * Replace norm2 in gfnff_hbset0 Signed-off-by: Igor S. Gerasimov <[email protected]> * Remove unused variables Signed-off-by: Igor S. Gerasimov <[email protected]> * Fix inout of args of gfnff_hbset0 Signed-off-by: Igor S. Gerasimov <[email protected]> * OMP parallelization of gfnff_hbset0 Signed-off-by: Igor S. Gerasimov <[email protected]> * Fix inout of gfnff_hbset Signed-off-by: Igor S. Gerasimov <[email protected]> * Use fast exit in gfnff_hbset Signed-off-by: Igor S. Gerasimov <[email protected]> * Replace norm2 with dot_product Signed-off-by: Igor S. Gerasimov <[email protected]> * Preparation for OpenMP Signed-off-by: Igor S. Gerasimov <[email protected]> * Fix style Signed-off-by: Igor S. Gerasimov <[email protected]> * Remove unused variables from gfnff_hbset Signed-off-by: Igor S. Gerasimov <[email protected]> * Add OpenMP parallelization of gfnff_hbset Signed-off-by: Igor S. Gerasimov <[email protected]> * Do not do allocations without OpenMP Signed-off-by: Igor S. Gerasimov <[email protected]> * Avoid barriers Signed-off-by: Igor S. Gerasimov <[email protected]> * Deallocate OpenMP variables Signed-off-by: Igor S. Gerasimov <[email protected]> * Limit allocations in OpenMP Signed-off-by: Igor S. Gerasimov <[email protected]> * Remove free variable Signed-off-by: Igor S. Gerasimov <[email protected]> * Reorder arguments in update lists Signed-off-by: Igor S. Gerasimov <[email protected]> * Sync hbset0 to hbset Signed-off-by: Igor S. Gerasimov <[email protected]> * No need for extra elements in list if allocation is correct Signed-off-by: Igor S. Gerasimov <[email protected]> --------- Signed-off-by: Igor S. Gerasimov <[email protected]> Signed-off-by: lmseidler <[email protected]>
1 parent dcc7339 commit 2a3b951

File tree

3 files changed

+281
-213
lines changed

3 files changed

+281
-213
lines changed

src/gfnff/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ list(APPEND srcs
2525
"${dir}/generator.f90"
2626
"${dir}/gfnff_eg.f90"
2727
"${dir}/gfnff_ini.f90"
28-
"${dir}/gfnff_ini2.f90"
28+
"${dir}/gfnff_ini2.F90"
2929
"${dir}/gfnff_param.f90"
3030
"${dir}/gfnff_qm.f90"
3131
"${dir}/gfnff_rab.f"

0 commit comments

Comments
 (0)