From 05ee91f49d01132530bce207f98d0232ac111e21 Mon Sep 17 00:00:00 2001 From: Guillaume Demesy <guillaume.demesy@fresnel.fr> Date: Fri, 29 Jun 2018 06:10:19 +0200 Subject: [PATCH] Warning slepc > 3.8 : -nep_nleigs_rational will become -nep_rational --- NonLinearEVP/NonLinearEVP.pro | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/NonLinearEVP/NonLinearEVP.pro b/NonLinearEVP/NonLinearEVP.pro index 8c8ea73..01768b4 100644 --- a/NonLinearEVP/NonLinearEVP.pro +++ b/NonLinearEVP/NonLinearEVP.pro @@ -427,7 +427,6 @@ PostProcessing { } } - PostOperation { { Name postop_PEP_E; NameOfPostProcessing postpro_eigenvectors_PEP_E ; Operation { @@ -496,13 +495,13 @@ PostOperation { eig_tol = 1e-6; slepc_options_nep_pol = " -nep_max_it 1000 -nep_type nleigs -nep_target_magnitude "; -// Warning slepc > 3.8 : -nep_nleigs_rational => -nep_rational -// slepc_options_nep_rat = Sprintf(" -nep_max_it 1000 -nep_type nleigs -nep_nleigs_rational -nep_target_magnitude -nep_tol %.10f ",eig_tol); -slepc_options_nep_rat = Sprintf(" -nep_max_it 1000 -nep_type nleigs -nep_rational -nep_target_magnitude -nep_tol %.10f ",eig_tol); +// // Warning slepc > 3.8 : -nep_nleigs_rational => -nep_rational +slepc_options_nep_rat = Sprintf(" -nep_max_it 1000 -nep_type nleigs -nep_nleigs_rational -nep_target_magnitude -nep_tol %.10f -nep_view",eig_tol); +// slepc_options_nep_rat = Sprintf(" -nep_max_it 1000 -nep_type nleigs -nep_rational -nep_target_magnitude -nep_tol %.10f ",eig_tol); -// Warning petsc > 3.9 st_pc_factor_mat_solver_package => st_pc_factor_mat_solver_type -// slepc_options_st = "-solve -st_type sinvert -st_ksp_type preonly -st_pc_type lu -st_pc_factor_mat_solver_type mumps -petsc_prealloc 200 -pos"; +// // Warning petsc > 3.9 st_pc_factor_mat_solver_package => st_pc_factor_mat_solver_type slepc_options_st = "-solve -st_type sinvert -st_ksp_type preonly -st_pc_type lu -st_pc_factor_mat_solver_package mumps -petsc_prealloc 200 -pos"; +// slepc_options_st = "-solve -st_type sinvert -st_ksp_type preonly -st_pc_type lu -st_pc_factor_mat_solver_type mumps -petsc_prealloc 200 -pos"; slepc_options_pep = Sprintf(" -pep_max_it 400 -pep_target_magnitude -pep_tol %.10f ",eig_tol); -- GitLab