Debian Codegraph @

example_packages/metapackage_stdlib_extblas/app/main.f90

raw
1 ! fortran-lang stdlib + external BLAS test case
2 ! Program will fail if an external BLAS has not been linked against.
3 program test_stdlib_metapackage
4 use stdlib_linalg_constants, only: external_blas_ilp32,external_lapack_ilp32, &
5 external_blas_ilp64,external_lapack_ilp64
6 implicit none
7
8 if (.not.(external_blas_ilp32 .or. external_blas_ilp64)) then
9 stop 1
10 elseif (.not.(external_lapack_ilp32 .or. external_lapack_ilp64)) then
11 stop 2
12 else
13 stop 0
14 end if
15
16 end program test_stdlib_metapackage