Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: increase fidelity of MPI, scalapack and MUMPS unit tests
also give hard Meson build error if Intel compiler used without MKL. Yes Intel can be used without MKL, but normally our users woudl use MKL.
- Loading branch information
Showing
6 changed files
with
65 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
! minimal Scalapack demo | ||
implicit none | ||
|
||
integer :: ictxt, myid, nprocs, mycol, myrow, npcol, nprow | ||
real :: eps | ||
real, external :: pslamch | ||
|
||
! arbitrary test parameters | ||
npcol = 2 | ||
nprow = 2 | ||
|
||
call blacs_pinfo(myid, nprocs) | ||
call blacs_get(-1, 0, ictxt) | ||
call blacs_gridinit(ictxt, "C", nprocs, 1) | ||
|
||
call blacs_gridinfo(ictxt, nprow, npcol, myrow, mycol) | ||
|
||
eps = pslamch(ictxt, 'E') | ||
|
||
if(myrow == mycol) print '(A, F10.6)', "OK: Scalapack Fortran eps=", eps | ||
|
||
call blacs_gridexit(ictxt) | ||
call blacs_exit(0) | ||
|
||
end program |