We use cookies to make your experience better. To comply with the new e-Privacy directive, we need to ask for your consent to set the cookies. Learn more.
Using the SAMG Solver for MODFLOW
Are you needing to use multiple processors to run your MODFLOW or MODFLOW-USG model? Using multiple processors can speed up the model processing time. In order to use multiple processors for MODFLOW in GMS, the SAMG solver provides the means to do this.
The SAMG solver is developed by the Fraunhofer Institute for Algorithms and Scientific Computing (SCAI). It contains a library of subroutines for the highly efficient solution of large linear systems of equations with sparse matrices. SAMG has an advantage in being almost unconditionally numerically scalable. This means that the computational cost using SAMG depends linearly on the number of unknowns.
Before using the SAMG solver, check to see if you have it added to your license. Do this by going to the Register command in the Help menu. Look through the list of components to make certain the SAMG parallel interface / solver has been enabled.
The SAMG solver works with the LMG solver package in MODFLOW. The LMG solver needs to be selected to access the SAMG solver. The LMG solver links the MODFLOW project to the SAMG solver.
To activate the SAMG solver do the following:
- Open the MODLOW Global/Basic Package dialog.
- Then open the MODFLOW Packages dialog.
- Turn on the LMG – Link-AMG option.
- A warning may appear discussing the SAMG solver. This warning can be turned off if desired.
- Once the LMG solver has been turned on, the Link-AMG (LMG) Package dialog can be accessed through the MODFLOW menu in order to set the solver parameters.
Using the SAMG solver is not ideal for all MODFLOW projects. It is generally meant for large linear problems and simulations which use several time steps. For the right project, SAMG can help significantly accelerate the model run time.
Contact Aquaveo’s licensing team to see about using the SAMG solver with your GMS projects.