Eigenvalue SoLvers for Petaflop-Applications (ELPA)
2019.05.001
|
call elpaset("nev", nev, success, success) ! check success code ... More...
Functions/Subroutines | |
class(elpa_t) function, pointer | elpa_allocate (error) |
function to allocate an ELPA instance Parameters More... | |
subroutine | elpa_deallocate (obj, error) |
function to deallocate an ELPA instance Parameters More... | |
subroutine | elpa_autotune_deallocate (obj, error) |
function to deallocate an ELPA autotune instance Parameters More... | |
call elpaset("nev", nev, success, success) ! check success code ...
call elpaset("local_nrows", na_rows, success) ! check success code ...
call elpaset("local_ncols", na_cols, success) call elpaset("nblk", nblk, success) call elpaset("mpi_comm_parent", MPI_COMM_WORLD, success) call elpaset("process_row", my_prow, success) call elpaset("process_col", my_pcol, success)
! set up the elpa object success = elpasetup() if (succes != ELPA_OK) then print *,"Could not setup ELPA object" endif
! if desired, set tunable run-time options ! here we want to use the 2-stage solver call elpaset("solver", ELPA_SOLVER_2STAGE, success)
! and set a specific kernel (must be supported on the machine) call elpaset("real_kernel", ELPA_2STAGE_REAL_AVX_BLOCK2) ... set and get all other options that are desired
C synopsis
... set and get all other options that are desired
the autotuning could be used like this:
Fortran synopsis
... set and get all other options that are desired
More examples can be found in the folder "test", where Fortran and C example programs are stored Fortran module to use the ELPA library. No other module shoule be used
function to allocate an ELPA instance Parameters
\params error integer, optional : error code
subroutine elpa::elpa_autotune_deallocate | ( | class(elpa_autotune_t), pointer | obj, |
integer, intent(out), optional | error | ||
) |
function to deallocate an ELPA autotune instance Parameters
obj | class(elpa_autotune_t), pointer : pointer to the autotune object to be destroyed and deallocated |
error | integer, optional : error code |