Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/eigen_blacs.F
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@ subroutine eigen_blacs_init(TRD_COMM_WORLD,
integer :: i, j, k, ierr


call BLACS_GET(0, 0, BLACS_ICONTXT_FOR_EIGENEXA)
! In Fortran, BLACS context shares the same value with the MPI
! commuicator, so it is safe to use TRD_COMM_WORLD as
! BLACS_ICONTXT_FOR_EIGENEXA.
BLACS_ICONTXT_FOR_EIGENEXA = TRD_COMM_WORLD

allocate(tmpgrid(1:x_nnod, 1:y_nnod),
& kk0(1:x_nnod), kk1(1:x_nnod), stat=ierr)
Expand Down