Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
fleur
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Anoop Chandran
fleur
Commits
28540495
Commit
28540495
authored
Jul 14, 2016
by
Uliana Alekseeva
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ajustments to the new ELPA library (2015.11.001)
parent
08834bc0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
cmake/cmake.jureca.config
cmake/cmake.jureca.config
+1
-1
diagonalization/elpa.F90
diagonalization/elpa.F90
+7
-3
No files found.
cmake/cmake.jureca.config
View file @
28540495
...
...
@@ -42,7 +42,7 @@ if (DEFINED ENV{ELPA_ROOT})
set
(
Fleur_uses_ELPA
TRUE
)
add_definitions
(-
DCPP_ELPA_NEW
)
set
(
LAPACK_LIBS
"${LAPACK_LIBS} -L$ENV{ELPA_ROOT}/lib -lelpa_openmp -lmkl_scalapack_lp64 -lmkl_blacs_intelmpi_lp64 -lstdc++"
)
set
(
CMAKE_Fortran_FLAGS
"${CMAKE_Fortran_FLAGS} -I$ENV{ELPA_
ROOT}/include/elpa_openmp-2014.06.001/modules"
)
set
(
CMAKE_Fortran_FLAGS
"${CMAKE_Fortran_FLAGS} -I$ENV{ELPA_
INCLUDE} -I$ENV{ELPA_INCLUDE}/elpa -I$ENV{ELPA_MODULES}"
)
endif
()
if
(
DEFINED
ENV
{
ELEMENTAL_ROOT
})
...
...
diagonalization/elpa.F90
View file @
28540495
...
...
@@ -128,8 +128,8 @@ CONTAINS
! The only reason having them is that the Scalapack counterpart
! PDPOTRF very often fails on higher processor numbers for unknown reasons!
#ifdef CPP_ELPA_NEW
CALL
CPP_CHOLESKY
(
m
,
bsca
,
SIZE
(
bsca
,
1
),
nb
,
mpi_comm_rows
,
mpi_comm_cols
,
ok
)
CALL
CPP_invert_trm
(
m
,
bsca
,
SIZE
(
bsca
,
1
),
nb
,
mpi_comm_rows
,
mpi_comm_cols
,
ok
)
CALL
CPP_CHOLESKY
(
m
,
bsca
,
SIZE
(
bsca
,
1
),
nb
,
mycolssca
,
mpi_comm_rows
,
mpi_comm_cols
,
.false.
,
ok
)
CALL
CPP_invert_trm
(
m
,
bsca
,
SIZE
(
bsca
,
1
),
nb
,
mycolssca
,
mpi_comm_rows
,
mpi_comm_cols
,
.false.
,
ok
)
#else
CALL
CPP_CHOLESKY
(
m
,
bsca
,
SIZE
(
bsca
,
1
),
nb
,
mpi_comm_rows
,
mpi_comm_cols
)
CALL
CPP_invert_trm
(
m
,
bsca
,
SIZE
(
bsca
,
1
),
nb
,
mpi_comm_rows
,
mpi_comm_cols
)
...
...
@@ -179,7 +179,7 @@ CONTAINS
#ifdef CPP_ELPA_NEW
#ifdef CPP_ELPA2
err
=
CPP_solve_evp_2stage
(
m
,
num2
,
asca
,
SIZE
(
asca
,
1
),&
eig2
,
eigvec
,
SIZE
(
asca
,
1
),
nb
,
mpi_comm_rows
,
mpi_comm_cols
,
sub_comm
)
eig2
,
eigvec
,
SIZE
(
asca
,
1
),
nb
,
mycolssca
,
mpi_comm_rows
,
mpi_comm_cols
,
sub_comm
)
#else
err
=
CPP_solve_evp
(
m
,
num2
,
asca
,
SIZE
(
asca
,
1
),&
eig2
,
eigvec
,
SIZE
(
asca
,
1
),
nb
,
mpi_comm_rows
,
mpi_comm_cols
)
...
...
@@ -339,7 +339,11 @@ CONTAINS
!Create communicators for ELPA
!print *,"creating ELPA comms"
#ifdef CPP_ELPA_NEW
ierr
=
get_elpa_row_col_comms
(
mpi_subcom
,
myrowblacs
,
mycolblacs
,
mpi_comm_rows
,
mpi_comm_cols
)
#else
CALL
get_elpa_row_col_comms
(
mpi_subcom
,
myrowblacs
,
mycolblacs
,
mpi_comm_rows
,
mpi_comm_cols
)
#endif
!print *,"creating ELPA comms -- done"
!Create the descriptors
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment