[Trilinos-Users] LOCA::ParameterVector() segfaults

Phipps, Eric T etphipp at sandia.gov
Fri Jul 17 08:12:40 MDT 2009


Hi Nico,

My guess is there is a memory error somewhere else that is manifesting itself when you print the LOCA parameter vector.  I would recommend running your code in valgrind, or some other memory checker.

-Eric


On 7/17/09 5:44 AM, "Nico Schlömer" <nico.schloemer at ua.ac.be> wrote:

Hi all,

I'm bumping into a very weird situation here where a LOCA::ParameterVector()
segfaults when trying to access it in any way, e.g., by

myparamvec.print(cout);

or

cout << myparamvec << endl;

Before that, myparamvec has been created with the ordinary

  continuableParams.addParameter( "mycomponent", 3.14 );

and a couple of times

  continuableParams.getValue("H0")

has been used. Not really sure how to debug this..

This is against Trilinos 090603a.

Cheers,
Nico

_______________________________________________
Trilinos-Users mailing list
Trilinos-Users at software.sandia.gov
http://software.sandia.gov/mailman/listinfo/trilinos-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://software.sandia.gov/pipermail/trilinos-users/attachments/20090717/fe1e698e/attachment.html 


More information about the Trilinos-Users mailing list