getfem-users
[Top][All Lists]
Advanced

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

Re: [Getfem-users] how to compile my own program?


From: Konstantinos Poulios
Subject: Re: [Getfem-users] how to compile my own program?
Date: Thu, 10 Mar 2011 08:34:57 +0100

On Thu, Mar 10, 2011 at 2:04 AM, Martin Genet <address@hidden> wrote:
> Dear all,
>
> I would like to compile my own program based on the GetFEM library. For
> instance, I want to start from getfem/tests/laplacian.cc and modify it to
> adapt it to my problem.
>
> When I go to getfem/tests, I can run "make laplacian" and then "./laplacian
> laplacian.param" and everything works perfectly. But when I move
> laplacian.cc and laplacian.param to some directory, I can't manage to
> compile it anymore. And I can't find any information about this. What is the
> correct way to do it?
>
> Many thanks in advance for your precious help.
> And sorry for the trivial question.
>
> Best regards,
> Martin.
>
> _______________________________________________
> Getfem-users mailing list
> address@hidden
> https://mail.gna.org/listinfo/getfem-users
>

Hi,

you have to edit your makefile and add the adapt/add the appropriate
include options e.g.

-I /path/where/getfem/headers/are/installed/

what kind of OS are you running?

Regards

Kostas



reply via email to

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