getfem-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Getfem-users] Using SuperLU - A question


From: Yves Renard
Subject: Re: [Getfem-users] Using SuperLU - A question
Date: Mon, 23 Oct 2006 18:16:03 +0200
User-agent: KMail/1.7.2

Le Lundi 23 Octobre 2006 18:08, Bwalya Malama a écrit :
> Hi:
>
> I have done the following:
>
> #include <gmm_superlu_interface.h>
> ...
>  Assemble A;
>  SuperLU_factor<double> Af;
try

gmm::SuperLU_factor<double> Af;

Yves.

>  ...
>  Af.build_with(A);
>
> When I try to compile, I get the following error:
>
> flow3d3s.cpp: In function ‘int main(int, char**)’:
> flow3d3s.cpp:802: error: ‘SuperLU_factor’ was not declared in this scope
> flow3d3s.cpp:802: error: expected primary-expression before ‘double’
> flow3d3s.cpp:802: error: expected `;' before ‘double’
> flow3d3s.cpp:828: error: ‘Cf’ was not declared in this scope
>
> I compile as follows:
> >>g++ flow3d3s.cpp -o h3d3s -lm -DGMM_USES_SUPERLU
>
> ../SuperLU_3.0/libsuperlu_3.0.a ../SuperLU_3.0/libblas.a
> -I/../SuperLU_3.0/
>
> Note that the code works with: SuperLU_solve(A,x,b);
>
> It's only when I try "SuperLU_factor<double> Af" that I experience the
> above error. Could you help resolve this? I'm a novice to object oriented
> programming.
>
> Sincerely,
> -- Bwalya
> Bwalya Malama, Ph.D.
> Center for Geophysical Research of the Shallow Subsurface
> Boise State University
> Boise, Idaho
> tel: 208-426-2959
> email: address@hidden

-- 
Yves.

-------------------------------------------------------------------------
  Yves Renard (address@hidden)       tel : (33) 04.72.43.80.11
  Pole de Mathematiques, INSA de Lyon          fax : (33) 04.72.43.85.29
  Institut Camille Jordan - CNRS UMR 5208
  20, rue Albert Einstein
  69621 Villeurbanne Cedex, FRANCE
  http://math.univ-lyon1.fr/~renard
-------------------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]