Commit 8693880b authored by Daniel Wortmann's avatar Daniel Wortmann

Try to implement different scheme for read_eig functionality.

parent a156b30f
......@@ -24,6 +24,7 @@ module m_eig66_data
END TYPE
TYPE,extends(t_data):: t_data_MPI
LOGICAL :: read_epoch=.false.
INTEGER :: n_size=1
INTEGER :: size_k,size_eig
INTEGER :: eig_handle,zr_handle,zc_handle,neig_handle,w_iks_handle
......@@ -63,7 +64,7 @@ module m_eig66_data
INTEGER, PARAMETER :: DA_mode=0,HDF_mode=1,MEM_mode=2,MPI_mode=3
contains
subroutine eig66_data_storedefault(d,jspins,nkpts,nmat,neig,l_real,l_soc)
CLASS(t_data)::d
INTEGER,INTENT(IN)::jspins,nkpts,nmat,neig
......
This diff is collapsed.
  • @redies Please try if this works and solves your performance issue. To use the code you have to

    1. put a call to sync_eig before and after the code section in which there is only read access
    2. compile with CPP_MPI3 (probably this could also be used to mask the sync_eig call)

    Then we switch from passive sync (locks) to active sync (fence).

Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment