[dune-fem] How to use DUNE-FEM-howto and some examples

Sacconi, Andrea a.sacconi11 at imperial.ac.uk
Tue Jan 31 17:56:38 CET 2012


Hi Andreas,

now it works, but only if I type

./dune-common-2.1.0/bin/dunecontrol --opts=config.opts --module=dune-fem-howto all

I think you meant this in your answer, other it would be the same (wrong) command I used before.

Yes, I saw the new version, and I have already tried to download it on my new laptop. I had some problems with wi-fi connection (now just solved), that's why I kept using my MAC for DUNE.
Now I think I'll migrate to this new version also for the MAC..

Anyway, I have a list of questions about examples and tutorials of the howto. I'll post them soon in another email.

Cheers,

Andrea

__________________________________________________________

Andrea Sacconi
PhD student, Applied Mathematics
AMMP Section, Department of Mathematics, Imperial College London,
London SW7 2AZ, UK
a.sacconi11 at imperial.ac.uk

________________________________________
From: dune-fem-bounces+a.sacconi11=imperial.ac.uk at dune-project.org [dune-fem-bounces+a.sacconi11=imperial.ac.uk at dune-project.org] on behalf of Andreas Dedner [A.S.Dedner at warwick.ac.uk]
Sent: 31 January 2012 16:41
To: dune-fem at dune-project.org
Subject: Re: [dune-fem] How to use DUNE-FEM-howto and some examples

Hi Andrea.

the howto is a regular dune module. But the module name is not defined
by the name of the directory where you put the module but by the entry
in the dune.module file within the module:
cat dune-femhowto/dune.module
give:

Module: dune-fem-howto
Version: 1.3.0
Maintainer: dune at mathematik.uni-freiburg.de
Depends: dune-common (>= 2.1) dune-grid (>= 2.1) dune-fem (>= 1.3.0)
Suggests: dune-istl (>= 2.1) dune-fem-dg

the first line in this case gives the module name, i.e., dune-fem-howto.
So the correct build command would be:

./dune-common-2.1.0/bin/dunecontrol --opts=config.opts
--module=dune-femhowto all

Hope that helps
Andreas

PS:
You might have seen that
there is a new set of core modules 2.1.1 and dune-fem (version 1.2.2)
which I think should now resolves the issues with MACOs (if you are
still interested...)


On 31/01/12 16:01, Sacconi, Andrea wrote:
> Hi everyone,
>
> I'm Andrea and I've just registered to DUNE-fem mailing list.
> I'd like to know how to use DUNE-fem-howto: is it a "normal" DUNE
> package that can be compiled like all the others? Because I tried more
> than once to compile it, using this command:
>
> ./dune-common-2.1.0/bin/dunecontrol --opts=config.opts
> --module=dune-femhowto all
>
> but the result is always the same:
>
> ERROR: could not find module dune-femhowto
>
> even if the folder is present and has the correct name, similarly to all
> the other modules (common, grid, istl, etc.).
> I read the "readme" file, in which it's written to go to this subversion:
>
> svn checkout svn+ssh://morgoth/raid5/dune/src/svn-archive/dune-femhowto
>
> Unfortunately, also in this case the command doesn't work. What is wrong
> in what I'm doing?
> I'd additional questions about one of the first examples (Lagrange
> interpolation), but now it's better to sort out how to compile and use
> the package.
>
> Thanks in advance!
>
> Andrea
>
> __________________________________________________________
>
> Andrea Sacconi
> PhD student, Applied Mathematics
> AMMP Section, Department of Mathematics, Imperial College London,
> London SW7 2AZ, UK
> a.sacconi11 at imperial.ac.uk
>
>
>
> _______________________________________________
> dune-fem mailing list
> dune-fem at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune-fem


_______________________________________________
dune-fem mailing list
dune-fem at dune-project.org
http://lists.dune-project.org/mailman/listinfo/dune-fem




More information about the dune-fem mailing list