It's becoming clearer my ignorance of how c++ (specific to getfem++ and in
general) is to be rendered to run. It seems I should run 'make laplacian'
in /tests. Then when excuting ./laplacian it begs for parameters. So then
I noticed what appears to be a perl file (laplacian.pl) that would generate
such parameter schemes, so I run 'perl -W laplacian.pl' and it seems that
the $ENV{srcdir} is undefined and so it spits errors.
Any help for a lowly c++ newb?
Thanks,
Andy
On Mon, May 30, 2016 at 3:14 AM, Yves Renard <[email protected]>
wrote:
>
>
> Dear Andy,
>
> The libgetfem.a library should be complete ... of course you also have to
> link standard libraries (-lm) and optionnally -lqhull -lblas -llapack and
> also optionnaly mumps. It the installation has been performed from the
> sources, the best in fact is to go to the tests directory of getfem
>
> cd tests
> rm laplacian.o
> make laplacian
>
> and compile with the same options (adapting the include directory and the
> location of the getfem library if the installation has been made).
>
> Yves.
>
>
>
>
> Le 30/05/2016 02:01, Andrew Roberts a écrit :
>
> Hello, I've been using the python interface upon discovery and
> installation of 5.0 but now I see I should use gmm for my transient
> analysis and requires c++. Python worked fine, but upon attempting running
> the example laplacian.cc, with:
>
> g++ -std=c++11 -o output laplacian.cc -I/usr/local/getfem/include
> -L/usr/local/getfem/lib/libgetfem.a
>
> I get a stream of errors along the line of
>
> laplacian.cc:(.text._ZN6getfem18ATN_smatrix_outputIN3gmm10row_matrixINS1_8rsvectorIdEEEEE5exec_Emt[_ZN6getfem18ATN_smatrix_outputIN3gmm10row_matrixINS1_8rsvectorIdEEEEE5exec_Emt]+0x356):
> undefined reference to `bgeot::operator<<(std::ostream&,
> bgeot::tensor_ranges const&)'
> collect2: error: ld returned 1 exit status
>
>
> Looking for assistance in this matter.
>
> Thank you,
> Andy
>
>
> _______________________________________________
> Getfem-users mailing
> [email protected]https://mail.gna.org/listinfo/getfem-users
>
>
>
> --
>
> Yves Renard ([email protected]) tel : (33) 04.72.43.87.08
> Pole de Mathematiques, INSA-Lyon fax : (33) 04.72.43.85.29
> 20, rue Albert Einstein
> 69621 Villeurbanne Cedex, FRANCE
> http://math.univ-lyon1.fr/~renard
>
> ---------
>
>
_______________________________________________
Getfem-users mailing list
[email protected]
https://mail.gna.org/listinfo/getfem-users