blob: b5cc1948ece8e8c9412ba62d69f21eba97c125b2 [file] [log] [blame]
source [file join [file dirname [file normalize [info script]]] tclbuildtest.tcl]
package require tclbuildtest
# Tests of the Mat functionality
::tclbuildtest::sandbox {
foreach b {{} static} {
foreach p {single double} {
foreach s {real complex} {
foreach x {mpi} {
# Partitioner tests
test [list c $x $p $s $b] {
run [build [require petsc-[xyz]] mat/ex15.c] -mat_partitioning_type parmetis -N 100
}
test [list fortran $x $p $s $b] {
run [build [require petsc-[xyz]] -ffree-line-length-256 mat/ex15f.F90] -mat_partitioning_type parmetis -N 100
}
}
}
}
}
}