[Trilinos-Users] Query in Amesos

Jonathan Hu jhu at sandia.gov
Fri Mar 28 10:44:39 MDT 2008


Hi Vignesh,

    The link I sent you is not the most current.  Please use 
http://trilinos.sandia.gov/packages/docs/r8.0/packages/amesos/doc/html/index.html 
instead.

Regards,
Jonathan

Jonathan Hu wrote:
> Hi Vignesh,
>
>    I believe the Amesos factory returns 0 if the factory isn't 
> available.   Remember that Amesos is an interface to 3rd party 
> libraries.  Only Paraklete and KLU are provided with Amesos;  you must 
> obtain and build the others, and configure Amesos to use them.  Please 
> see 
> http://trilinos.sandia.gov/packages/docs/r4.0/packages/amesos/doc/html/index.html 
> for details on this process;  there's also a guide located in 
> Trilinos/packages/amesos/doc/AmesosReferenceGuide.
>
> Regards,
> Jonathan
>
> vigneshp wrote:
>> Hello Jonathan,
>> I am using the Amesos packages and trying to use the different solvers.
>>
>> This is a piece from my code :-
>> InversePrecOp::InversePrecOp(Epetra_CrsMatrix &AA, std::string 
>> am_soltype) :
>> A(AA)
>> {
>>   Problem = new Epetra_LinearProblem;
>>   Problem->SetOperator(&AA) ;
>>   Amesos A_Factory;
>>   Solver = A_Factory.Create( "Amesos_Lapack", *Problem);
>>   assert(Solver != NULL);
>> }
>>
>> Solver returns null though. Works fine for Amesos_Klu. Kindly help me 
>> resolve
>> this issue.
>> Thank you for your time.
>> Vignesh
>> MIT Grad Student.
>>   
>


-- 
Jonathan J. Hu, mailto:jhu at sandia.gov
Postal address: Sandia National Laboratories
                Mailstop 9159
                PO Box 969, Livermore, CA 94551-0969
Tel / Fax (925) 294-2931 



More information about the Trilinos-Users mailing list