[Dune] gettingstarted
Tatiana Voitovich
tvoitovich at uct.cl
Thu Jun 19 19:01:39 CEST 2008
Hi Sreejith,
thank you very much for your help!
> I suppose you have installed dune core modules. If not have a look at
> http://www.dune-project.org/doc/installation-notes.html
> and install those core modules.
I had been thinking so, but when I reread the documentation, the
installation notes [0],
I have found that I ignored the second part of the sentence about the
installation,
"If you did not tell dunecontrol to install with the options file ...":
during a fast reading I have just
seen "...options file..." and as the previous sentence is dedicated to the
use of an options file,
I thought, wrong, that this sentence concerns the use of an option file.
Thus, I thought that
dunecontrol all includes the installation.
Could you please help me with the following. Now, when I am trying to
install DUNE:
bash-3.2$ ./dune-common-1.1/ bin/dunecontrol make install
the diagnostics is:
-------------------------------------------------------------
--- going to build dune-common dune-grid dune-grid-howto dune-istl ---
--- calling make for dune-common ---
make "install"
Making install in lib
cd $(dirname ../common/libcommon.la) && make $(basename
../common/libcommon.la)
make[2]: `libcommon.la' is up to date.
cd $(dirname ../common/libcommon.la) && make $(basename
../common/libcommon.la)
make[3]: `libcommon.la' is up to date.
test -z "/usr/local/lib" || .././install-sh -c -d "/usr/local/lib"
mkdir: /usr/local/lib: Permission denied
make[2]: *** [install-libLTLIBRARIES] Error 1
make[1]: *** [install-am] Error 2
make: *** [install-recursive] Error 1
--- Failed to build dune-common ---
Execution of dunecontrol terminated due to errors!
bash-3.2$
--------------------------------------------------------------------------
I also tried the "sudo" option:
> ./dune-common-1.1/ bin/dunecontrol sudo make install
but then I get of course:
Usage: dunecontrol [OPTIONS] COMMAND [COMMAND-OPTIONS] ...
I include in this file the output of dunecontrol all, could you please
have a look. The operational system is MAC OS X 10.5 -- Leopard.
With best regards,
Tatiana
>Hi Tatiana,
>
> I echo the views by Oliver that you may have a look on
> introduction to unix , Makefile, builds, compilation of c++ in
> Unix etc.. thats very essential for working with DUNE. As I have gone
> through the difficulties when i started using DUNE, I can understand
> you. So for the moment, I can give you some simple starting tips..
>
> I suppose you have installed dune core modules. If not have a look at
> http://www.dune-project.org/doc/installation-notes.html
> and install those core modules.
>
> If core modules have been installed successfully, then you may want to
> go through the tutorials. the gettingstarted etc. to learn more about
> DUNe. So download the dune tutorial module dune-grid-howto
>
> svn checkout https://svn.dune-project.org/svn/dune-grid-howto/trunk
> dune-grid-howto
>
> Now you want to build the dune-grid-howto module and for that use the
> dunecontrol as follows:
>
> dune-common/ bin/dunecontrol --module=dune-grid-howto all
>
> if that was successfull, you can find in the dune-grid-howto directory a
> gettingstarted executable and run ./gettingstarted to see what the
> program does. Read about how Makefiles are used for compiling and have
> a look at Makefile.am in the directory.
>
> you may also use compile options file as
> dune-common/ bin/dunecontrol --opts=OPTFILE --module=dune-grid-howto all
> where OPTFILE is your option file
> have a look
> http://www.dune-project.org/doc/installation-notes.html
>
>
> HTH,
>
> Sreejith
>
>
> On Thu, Jun 19, 2008 at 09:35:33AM +0200, Oliver Sander wrote:
>> Dear Tatiana!
>> I propose you read the documentation and an introductory text
>> on development on Unix systems. If you have problems please
>> provide specific informations. Simple writing 'it does not work'
>> is not enough.
>>
>> --
>> Oliver
>>
>> Tatiana Voitovich schrieb:
>> > Hi Oliver!
>> > How do I compile gettingstarted.cc:
>> >
>> >> c++ -lm gettingstarted.cc
>> >>
>> > does not work.
>> >
>> > With best regads,
>> > Tatiana
>> >
>> >
>> >
>> >
>> >> Hi Tatiana!
>> >> It is
>> >>
>> >> http://sit.iwr.uni-heidelberg.de/~ug
>> >>
>> >> with a tilde before the ug. You don't really have to download and
>> install
>> >> all external grid managers before being able to use Dune, though.
>> >>
>> >> --
>> >> Oliver
>> >>
>> >> Tatiana Voitovich schrieb:
>> >>
>> >>> Dear colleagues,
>> >>>
>> >>> I would like to follow Introduction Grid HowTo.
>> >>> Please let me know how could I download UG and ALUGrid: the internet
>> >>> page
>> >>>
>> >>> http://sit.iwr.uni-heidelberg.de/ug
>> >>>
>> >>> does not respond,
>> >>>
>> >>> and at
>> >>>
>> >>> http://www.mathematik.uni-freiburg.de/IAM/Research/alugrid/
>> >>>
>> >>> there are no downoad option.
>> >>> To follow HowTo, I would like may be to use a package with a minimal
>> >>> additional packages.
>> >>>
>> >>> With best regards,
>> >>> Tatiana
>> >>>
>> >>>
>> >>> _______________________________________________
>> >>> Dune mailing list
>> >>> Dune at dune-project.org
>> >>> http://lists.dune-project.org/mailman/listinfo/dune
>> >>>
>> >>>
>> >> --
>> >> ************************************************************************
>> >> * Oliver Sander ** email: sander at mi.fu-berlin.de
>> *
>> >> * Freie Universit?t Berlin ** phone: + 49 (30) 838 75217
>> *
>> >> * Institut f?r Mathematik II ** URL : page.mi.fu-berlin.de/~sander
>> *
>> >> * Arnimallee 6 **
>> -------------------------------------*
>> >> * 14195 Berlin, Germany ** Member of MATHEON (www.matheon.de)
>> *
>> >> ************************************************************************
>> >>
>> >>
>> >
>> >
>> >
>>
>>
>> --
>> ************************************************************************
>> * Oliver Sander ** email: sander at mi.fu-berlin.de *
>> * Freie Universit?t Berlin ** phone: + 49 (30) 838 75217 *
>> * Institut f?r Mathematik II ** URL : page.mi.fu-berlin.de/~sander *
>> * Arnimallee 6 ** -------------------------------------*
>> * 14195 Berlin, Germany ** Member of MATHEON (www.matheon.de) *
>> ************************************************************************
>>
>>
>> _______________________________________________
>> Dune mailing list
>> Dune at dune-project.org
>> http://lists.dune-project.org/mailman/listinfo/dune
>>
>
> --
> Sreejith Pulloor Kuttanikkad
> Institute for Environmental Physics
> University of Heidelberg
> Room:336, Im Neuenheimer Feld-229
> 69120 Heidelberg,Germany.
> Ph :+49-6221-54-6512(Office)
> :+49-(0)17624228904(Mob)
> http://hal.iwr.uni-heidelberg.de/~sreejith/
> -------------------------------------------
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dunecontrol_all_output
Type: application/octet-stream
Size: 55522 bytes
Desc: not available
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20080619/0fa3a645/attachment.obj>
More information about the Dune
mailing list