[Trilinos-Users] Using SerialComm when MPI is enabled
Eric Marttila
eric.marttila at thermoanalytics.com
Tue Sep 10 06:29:07 MDT 2013
I forgot to mention that I'm also using ML in conjunction with
AztecOO. If I switch to Belos, might I also run into problems in
ML with using a serial communicator?
--Eric
On Monday, September 09, 2013 11:12:48 pm Heroux, Mike wrote:
> This should work, but I think you will need to use Belos for
> the linear solver instead of AztecOO.
>
> Anyone else have experience with this?
>
> Mike
>
> On Sep 9, 2013, at 9:35 PM, "Eric Marttila"
<eric.marttila at thermoanalytics.com> wrote:
> > Hello,
> >
> > Is it possible to use Trilinos in serial mode even when it
> > is compiled with MPI turned on?
> >
> > I have some code that runs in parallel (using MPI) for some
> > of its operation, but I want to use just a single process
> > for a second part of the application, and this second part
> > involves the execution of an AztecOO solve. I thought I
> > could do this by using Epetra_SerialComm instead of
> > Epetra_MpiComm when setting up my AztecOO solve.
> >
> > However, when running a solve I get an error from AztecOO:
> > AztecOO::SetProcConfig ERROR, failed to dynamic_cast Comm to
> > Epetra_MpiComm. dynamic_cast of Comm() failed
> >
> > Does anyone know of a work-around to this problem? Or do I
> > have to build trilinos without MPI support to do what I
> > need to do?
> >
> > Thank you,
> > --Eric
--
Eric A. Marttila
ThermoAnalytics, Inc.
Email: Eric.Marttila at ThermoAnalytics.com
Phone: 810-636-2443
http://www.thermoanalytics.com
More information about the Trilinos-Users
mailing list