PACKAGE_NAME=Belos

#
# FRAMEWORK group
#
# NOTE:  To pass an input file through the command-line, one may have
# to use this convention:
#
# --filename=$ABS_TOP_SRCDIR/packages/belos/test/MVOPTester/mhd1280b.cua;
#
(FRAMEWORK,INSTALL,BelosEpetraTests) {
    TESTS = ../epetra/test/BlockCG/bl_cg_hb.exe,
            ../epetra/test/BlockCG/bl_pcg_hb.exe,
            ../epetra/test/BlockCG/resolve_cg_hb.exe;
    EXIT-STATUS = STRING-COMPARISON;
    ARGS = --verbose --filename="../epetra/test/BlockCG/bcsstk14.hb";
    COMM = SERIAL, MPI;
}

(FRAMEWORK,INSTALL,BelosEpetraTests) {
    TESTS = ../epetra/test/BlockGmres/bl_gmres_hb.exe,
            ../epetra/test/BlockGmres/bl_pgmres_hb.exe,
            ../epetra/test/BlockGmres/bl_fgmres_hb.exe,
	    ../epetra/test/BlockGmres/resolve_gmres_hb.exe;
    EXIT-STATUS = STRING-COMPARISON;
    ARGS = --verbose --filename="../epetra/test/BlockGmres/orsirr1.hb";
    COMM = SERIAL, MPI;
}

(FRAMEWORK,INSTALL,BelosEpetraTests) {
    TESTS = ../epetra/test/BlockGmres/pseudo_gmres_hb.exe,
            ../epetra/test/BlockGmres/pseudo_pgmres_hb.exe;
    EXIT-STATUS = STRING-COMPARISON;
    ARGS = --verbose --filename="../epetra/test/BlockGmres/orsirr1.hb";
    COMM = SERIAL, MPI;
}

(FRAMEWORK,INSTALL,BelosEpetraTests) {
    TESTS = ../epetra/test/BlockGmres/bl_gmres_hb.exe,
            ../epetra/test/BlockGmres/bl_pgmres_hb.exe,
            ../epetra/test/BlockGmres/resolve_gmres_hb.exe;
    EXIT-STATUS = STRING-COMPARISON;
    ARGS = --verbose --filename="../epetra/test/BlockGmres/orsirr1.hb" --pseudo;
    COMM = SERIAL, MPI;
}

(FRAMEWORK,INSTALL,BelosEpetraTests) {
    TESTS = ../epetra/test/BlockGmres/bl_gmres_diag.exe;
    EXIT-STATUS = STRING-COMPARISON;
    COMM = SERIAL, MPI;
}

(FRAMEWORK,INSTALL,BelosComplexTests) {
    TESTS = BlockCG/bl_cg_complex_hb.exe,
            BlockGmres/bl_gmres_complex_hb.exe;
    EXIT-STATUS = STRING-COMPARISON;
    ARGS = --verbose --filename="../epetra/test/BlockCG/mhd1280b.cua";
    COMM = SERIAL, MPI;
}

(FRAMEWORK,INSTALL,BelosComplexTests) {
    TESTS = BlockGmres/bl_gmres_complex_hb.exe;
    EXIT-STATUS = STRING-COMPARISON;
    ARGS = --verbose --filename="../epetra/test/BlockCG/mhd1280b.cua" --pseudo;
    COMM = SERIAL, MPI;
}

(FRAMEWORK,BelosComplexTests) {
    TESTS = BlockGmres/bl_gmres_complex_hb.exe;
    EXIT-STATUS = STRING-COMPARISON;
    ARGS = --verbose --filename="../epetra/test/BlockGmres/mhd1280a.cua" --subspace-length=200 --tol=1e-4;
    COMM = SERIAL, MPI;
}

(FRAMEWORK,INSTALL,BelosEpetraTests) {
    TESTS = ../epetra/test/RCG/rcg_hb.exe,
    EXIT-STATUS = STRING-COMPARISON;
    ARGS = --verbose --tol=1e-6 --filename="../epetra/test/RCG/bcsstk14.hb" --num-rhs=2 --max-subspace=100 --recycle=10 --max-iters=4000;
    COMM = SERIAL, MPI;
    X-HOST = gabriel.sandia.gov;
}

(FRAMEWORK,INSTALL,BelosEpetraTests) {
    TESTS = ../epetra/test/GCRODR/gcrodr_hb.exe,
            ../epetra/test/GCRODR/prec_gcrodr_hb.exe;
    EXIT-STATUS = STRING-COMPARISON;
    ARGS = --debug --verbose --filename="../epetra/test/GCRODR/sherman5.hb" --tol=1e-4 --num-rhs=2 --max-subspace=61 --recycle=23 --max-cycles=75;
    COMM = SERIAL, MPI;
    X-HOST = gabriel.sandia.gov;
}

(FRAMEWORK,INSTALL,BelosEpetraTests) {
    TESTS = ../epetra/test/GCRODR/prec_gcrodr_hb.exe;
    EXIT-STATUS = STRING-COMPARISON;
    ARGS = --debug --verbose --filename="../epetra/test/GCRODR/sherman5.hb" --tol=1e-10 --num-rhs=2 --max-subspace=10 --recycle=2;
    COMM = SERIAL, MPI;
    X-HOST = gabriel.sandia.gov;
}

(FRAMEWORK,INSTALL,BelosEpetraTests) {
    TESTS = ../epetra/test/MVOPTester/MVOPTester_test.exe;
    EXIT-STATUS = STRING-COMPARISON;
    ARGS = -v;
    COMM = SERIAL, MPI;
}

(FRAMEWORK,INSTALL,BelosComplexTests) {
    TESTS = MVOPTester/MVOPComplexTester_test.exe;
    EXIT-STATUS = STRING-COMPARISON;
    ARGS = --verbose --filename="./MVOPTester/mhd1280b.cua";
    COMM = SERIAL, MPI;
}

(FRAMEWORK,INSTALL,BelosTpetraTests,BelosComplexTests) {
    TESTS = ../tpetra/test/MVOPTester/Tpetra_MVOPComplexTester_test.exe;
    EXIT-STATUS = STRING-COMPARISON;
    #ARGS = --verbose --filename="../tpetra/test/MVOPTester/mhd1280b.cua";
    COMM = SERIAL, MPI;
}

(FRAMEWORK,INSTALL,BelosTpetraTests) {
    TESTS = ../tpetra/test/BlockCG/Tpetra_bl_cg_hb.exe;
    EXIT-STATUS = STRING-COMPARISON;
    ARGS = --verbose --filename="../tpetra/test/BlockCG/bcsstk14.hb",
           --verbose --filename="../tpetra/test/BlockCG/bcsstk14.hb";
    COMM = SERIAL, MPI;
}

(FRAMEWORK,INSTALL,BelosTpetraTests,BelosComplexTests) {
    TESTS = ../tpetra/test/BlockCG/Tpetra_bl_cg_complex_hb.exe;
    EXIT-STATUS = STRING-COMPARISON;
    ARGS = --verbose --filename="../tpetra/test/BlockCG/mhd1280b.cua";
    COMM = SERIAL, MPI;
}
