| eps type krylovschur |
| Reading matrix from binary file... |
| All requested eigenvalues computed up to the required tolerance: |
| 6.91999-0.01011i, 5.79911-0.07099i, 5.45754+0.00133i, 4.67482-0.10141i |
| eps type arnoldi |
| Reading matrix from binary file... |
| All requested eigenvalues computed up to the required tolerance: |
| 6.91999-0.01011i, 5.79911-0.07099i, 5.45754+0.00133i, 4.67482-0.10141i |
| eps type gd |
| Reading matrix from binary file... |
| All requested eigenvalues computed up to the required tolerance: |
| 6.91999-0.01011i, 5.79911-0.07099i, 5.45754+0.00133i, 4.67482-0.10141i |
| eps type jd |
| Reading matrix from binary file... |
| All requested eigenvalues computed up to the required tolerance: |
| 6.91999-0.01011i, 5.79911-0.07099i, 5.45754+0.00133i, 4.67482-0.10141i |
| const char *prefix,*scalar,*ints,*floats; |
| PetscViewer viewer; |
| PetscBool flg,symm; |
| PetscReal tol=1000*PETSC_MACHINE_EPSILON; |
| PetscErrorCode ierr; |
| SlepcInitialize(&argc,&argv,(char*)0,help); |
| ierr = EPSSetOperators(eps,A,PETSC_NULL);CHKERRQ(ierr); |
| if (symm) { ierr = EPSSetProblemType(eps,EPS_HEP);CHKERRQ(ierr); } |
| else { ierr = EPSSetProblemType(eps,EPS_NHEP);CHKERRQ(ierr); } |
| ierr = EPSSetTolerances(eps,tol,PETSC_DEFAULT);CHKERRQ(ierr); |
| ierr = EPSSetFromOptions(eps);CHKERRQ(ierr); |
| /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
| echo "eps type $$eps" >> test5_1.tmp; \ |
| ${MPIEXEC} -np 1 ./test5 -eps_type $$eps -eps_nev 4 -eps_terse >> test5_1.tmp 2>&1; \ |
| done; \ |
| if (${DIFF} output/test5_1.out test5_1.tmp) then true; \ |
| else echo "Possible problem with test5_1, diffs above"; fi; \ |
| if (${GREP} USE_COMPLEX ${PETSC_DIR}/${PETSC_ARCH}/include/petscconf.h > /dev/null 2>&1) then \ |
| if (${DIFF} output/test5_1_complex.out test5_1.tmp) then true; \ |
| else echo "Possible problem with test5_1, diffs above"; fi; \ |
| else \ |
| if (${DIFF} output/test5_1.out test5_1.tmp) then true; \ |
| else echo "Possible problem with test5_1, diffs above"; fi; \ |
| fi; \ |
| ${RM} -f test5_1.tmp |
| runtest5_blopex: |