|
[Sponsors] |
March 26, 2005, 17:54 |
PETSc+Hypre
|
#1 |
Guest
Posts: n/a
|
Hi
Is there any one having experience of using HYPRE as a preconditioner for PETSc KSP solvers? Please guide me through installation, ... Best Regards Soheyl |
|
April 8, 2005, 11:50 |
Re: PETSc+Hypre
|
#2 |
Guest
Posts: n/a
|
Yes, I just installed PETSc-2.2.1 and Hypre on our cluster and the process is straight forward. I assume you have a BLAS a LAPACK and some sort of MPI already installed on your system, than adding PETSc to it is fairly simple, since PETSc comes with a very advanced configure Python script.
just use something like: ./config/configure.py --download-hypre=ifneeded in the PETSc source dir and of course check all the othe roptions you have with this script. If you don't have BLAS,LAPACK and some MPI than PETSc can also take care of that but I never tried that, I prefer to build them manual, specially BLAS, where I use the ATLAS package to optimize the BLAS lib for the system, also easy to install hope I could help alexice |
|
April 11, 2005, 03:52 |
Boomeramg Options
|
#3 |
Guest
Posts: n/a
|
Hi Thanks alot, because I finally set up PETSc with hypre support.
I want to use the Boomeramg (The Algebraic Multigrid Preconditioner) of Hypre to solve a problem in CFD (fully implicit N.S.). Do you have any experience using Boomeramg? What options are useful to experience? Best Regards Soheyl |
|
April 11, 2005, 07:22 |
Re: Boomeramg Options
|
#4 |
Guest
Posts: n/a
|
Sorry to say, I do not use the Boomeramg in Hyre. I use the Pilut for my problems, which are glaciers.
I hope somebody out there can help. anyway good luck with your model alexice |
|
April 19, 2005, 04:16 |
Re: Boomeramg Options
|
#5 |
Guest
Posts: n/a
|
Does anyone has previous experiences in using PETSc to solve Poisson equation (or incompressible NS) with multigrid.
|
|
March 23, 2009, 02:31 |
petsc and multigrid
|
#6 |
New Member
leping chen
Join Date: Mar 2009
Location: china
Posts: 19
Rep Power: 17 |
Does anyone has previous experiences in using PETSc to solve 3D FEA with multigrid? Whether or not the multigrid is petsc' or external software?
|
|
March 24, 2009, 07:56 |
AMG for implicit Navier-Stokes
|
#7 | |
Member
Jed Brown
Join Date: Mar 2009
Posts: 56
Rep Power: 19 |
Quote:
If you are solving 3D problems using BoomerAMG and having memory issues, try these options http://lists.mcs.anl.gov/pipermail/p...ry/000001.html |
||
March 24, 2009, 09:08 |
|
#8 |
New Member
leping chen
Join Date: Mar 2009
Location: china
Posts: 19
Rep Power: 17 |
How do you utilize hypre as a PC of PETSc KSP? Is it necessary to modify original program, or only utilize PETSc's runtime option?
|
|
March 24, 2009, 12:15 |
|
#9 | |
Member
Jed Brown
Join Date: Mar 2009
Posts: 56
Rep Power: 19 |
Quote:
Code:
--download-hypre Code:
-pc_type hypre |
||
March 25, 2009, 05:31 |
|
#10 |
Senior Member
TWB
Join Date: Mar 2009
Posts: 400
Rep Power: 19 |
My problem lies in moving flapping airfoil, incompressible flow using fractional step and structured grid. i've managed to use PETSc and hypre to solve my problem.
For the momentum eqn, I use KSP BCGS. For the poisson eqn, it's faster to use BoomerAMG under PETSc. Or better still, if it's structured grid, you can also use hypre standalone and use its solvers like SMG etc. It's even faster. Hope it helps. |
|
March 25, 2009, 05:55 |
|
#11 |
New Member
leping chen
Join Date: Mar 2009
Location: china
Posts: 19
Rep Power: 17 |
Thank you!
Beause I need solve eigenvalue,I will try SLEPc package!Hope you can help me! Thank you again! |
|
March 25, 2009, 06:24 |
|
#12 |
Member
Jed Brown
Join Date: Mar 2009
Posts: 56
Rep Power: 19 |
Sorry for being pedantic, but you must be using BCGS with some preconditioner for the momentum equation and some Krylov method with BoomerAMG for the Poisson equation. Naming one without the other isn't very useful. If you insist on naming just one, name the preconditioner.
If you have a structured grid, you can use PETSc's DMMG which may be faster than SMG and is definitely more flexible. |
|
December 11, 2012, 01:45 |
AMG using Hypre
|
#13 | |
Member
Farshad
Join Date: Oct 2010
Posts: 76
Rep Power: 15 |
Dear Soheil,
Please tell us about your experience of using hypre for AMG. Did you use it for momentum equation as well? I thaught you use it for CFD. Kind Regards, Farshad Quote:
|
||
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
using petsc for large coupled linear systems | sd_vakip | Main CFD Forum | 0 | January 31, 2011 13:22 |
PETSc from Cmake | d_dante | Main CFD Forum | 1 | January 12, 2011 08:50 |
PETSc Library | kostaspan | Main CFD Forum | 15 | July 7, 2010 13:40 |
petsc and diverge | happy_clp | Main CFD Forum | 16 | March 24, 2009 12:36 |
question for LES | colopolo | Main CFD Forum | 12 | March 23, 2009 10:54 |