getfem-users
[Top][All Lists]
Advanced

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

Re: [Getfem-users] getFEM g++ error


From: Yves Renard
Subject: Re: [Getfem-users] getFEM g++ error
Date: Mon, 30 May 2016 10:14:56 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0



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 list
address@hidden
https://mail.gna.org/listinfo/getfem-users


-- 

  Yves Renard (address@hidden)       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

---------

reply via email to

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