According to some internet connection problems, the installation for the external packages, i.e. mumps or superlu_dist may become extremely slow in some cases. Therefore, we need an automatic detecter for the default solver.
The solution should be:
if(mumps_is_installed)
solver=mumps
else
solver=gmres
end
According to some internet connection problems, the installation for the external packages, i.e. mumps or superlu_dist may become extremely slow in some cases. Therefore, we need an automatic detecter for the default solver.
The solution should be: