[Trilinos-Users] Set fault setting comm from Tpetra::DefaultPlatform

Hoemmen, Mark mhoemme at sandia.gov
Sun Apr 14 17:23:13 MDT 2013

On Apr 13, 2013, at 12:00 PM, <trilinos-users-request at software.sandia.gov>
 <trilinos-users-request at software.sandia.gov> wrote:
> Message: 1
> Date: Fri, 12 Apr 2013 14:38:42 -0400
> From: "Sean C McDuffee" <scmcduff at blueskystudios.com>
> Subject: [Trilinos-Users] Seg fault setting comm from
> 	Tpetra::DefaultPlatform
> To: trilinos-users at software.sandia.gov
> Message-ID: <516854B2.50600 at blueskystudios.com>
> Content-Type: text/plain; charset=iso-8859-1; format=flowed
> Hey,
> I'm converting my code from epetra to tpetra.  In trying to generate a 
> map I've done the following:
> Teuchos::RCP<const Teuchos::Comm<int> > comm = 
> Tpetra::DefaultPlatform::getDefaultPlatform ().getComm
> typedef Tpetra::Map<int, int> map_type;
> RCP<const map_type> map = Teuchos::rcp (new const map_type 
> (nGlobalElems, 0, comm));
> In my configuration DefaultPlatform should be SerialPlatform and it goes 
> there and attempts to make a new TPINode.  The TPINode constructor then 
> seg faults in a ParameterList::get call.  Did I not initialize something 
> correctly?

Sorry about the trouble!  Are you using the development branch of Trilinos, or a particular release?  If the latter, which version?


More information about the Trilinos-Users mailing list