[Dune] installation fails - now dune-alugrid Out of memory, malloc failed

Susanne Schmidt s.schmidt at sidata.eu
Sat Mar 24 17:14:38 CET 2018


Hi Christoph,

thanks for your reply. In fact, cmake was already installed, as proposed 
in https://www.dune-project.org/doc/beginners-resources-pdelab/ . I 
still got a complaint about aclocal being missing and a search on the 
internet yielded in automake being of help in such a case - which indeed 
it seemed to be, since afterwards, the error messages changed ..

I did understand that the alugrid version is too recent, but I did not 
ask expressedly for a new version - I just did

|git clone http://conan2.iwr.uni-heidelberg.de/git/peter/dune-installer.git |

run the installer:

|./dune-installer/pdelab-2.4.1/installer.sh my-dune-dir|

from

https://www.dune-project.org/doc/beginners-resources-pdelab/

And therefore , I do not see how I can "delete the dune-alugrid folder 
completely" if not on the server which I cannot do since I have - 
justifiedly - no rights - the folder dune-alugrid in my ubuntu never 
gets created locally because the installation stops right before setting 
up this folder, - as far as I can see.


When I try to "call dunecontrol manually", I get

"suse at suse-VirtualBox:~$ dunecontrol
The program 'dunecontrol' is currently not installed. You can install it 
by typing:
sudo apt install libdune-common-dev"

So I installed manually, although I would have assumed that it should 
have been part of the full installer routine.

However, none of this changes anything in that 
"./dune-installer/pdelab-2.4.1/installer.sh my-dune-dir" fails fatally.

In the case where I outcomment anything to do with dune-alugrid in the 
installer.sh in the local folder  my-dune-dir/pdelab-2.4.1 , the error 
message is still

"

remote: The project you were looking for could not be found.

fatal: repository
'https://gitlab.dune-project.org/pdelab/dune-typetree.git/' not found

"

and in the case where I leave everything as originally given, I get

"

...

+ cd dune-localfunctions

+ git checkout releases/2.4

Branch releases/2.4 set up to track remote branch releases/2.4 from origin.

Switched to a new branch 'releases/2.4'

+ cd ..

+ git clone https://gitlab.dune-project.org/extensions/dune-alugrid.git

Cloning into 'dune-alugrid'...

remote: Counting objects: 26913, done.

remote: Compressing objects: 100% (5416/5416), done.

remote: Total 26913 (delta 21395), reused 26867 (delta 21365)

Receiving objects: 100% (26913/26913), 32.40 MiB | 358.00 KiB/s, done.

fatal: Out of memory, malloc failed (tried to allocate 456654849 bytes)

fatal: index-pack failed

"

The main drive is still half empty.

The folder dune-alugrid is not created.

So now it is not the version that is the problem but the size ?!

After a search on the web I did

git config --global pack.deltaCacheSize 128m

git config --global pack.windowMemory 128m


and tried again, but still out of memory. I would be grateful for 
further hints how to hinder effectively dune-alugrid from installing.
 From your remarks I gather that you installed dune not from these web 
site installer commands like I tried - so how do you do it? Is there an 
alternative beginner's protocol somewhere that I can follow step by 
step? I have to stress again that I am a newbie and unfortunately not 
very ubuntu or git savvy ..

Best regards,

Susanne




-------- Forwarded Message --------
Subject: 	Dune Digest, Vol 153, Issue 5
Date: 	Sat, 24 Mar 2018 12:00:02 +0100
From: 	dune-request at lists.dune-project.org
Reply-To: 	dune at lists.dune-project.org
To: 	dune at lists.dune-project.org

Hi Susanne,
I don't know about the scripts you used, but I can answer the Dune
questions.

>/After installing some missing bits and pieces (autoconf, automake, />/libtool, byacc, flex) I think that I am getting pretty far, until I hit: /
Just a personal advice, use CMake instead of the Autotools build system.
In more recent versions you have to switch any. If it works for you now,
you may stick to it until you resolved your actual issues.

>/"ERROR: version mismatch. />//>/dune-alugrid requires dune-grid >= 2.5, />//>/but only dune-grid = 2.4.2 is available. /
Your dune-alugrid version it too new, it already requires a more recent
version of dune-grid. If you don't need Alugrid, simply delete the
dune-alugrid folder completely, reconfigure all other modules and the
problem should be gone. If you need Alugrid, switch this module to
"releases/2.5" branch, which is compatible to dune-grid 2.4.

>/The file  ./buildmodules.sh in my-dune-dir is missing, so I cannot />/proceed from here, even if I thought that I could dispense of />/dune-alugrid and that the rest was in place. /
You can call dunecontrol manually.

Bye
Christoph

-- 
Unfortunately, plots are notoriously hard to get right. Partly, the
default settings of programs like gnuplot or Excel are to blame for
this since these programs make it very convenient to create bad plots.
                         -- Till Tantau, "The TikZ and PGF Packages"

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20180324/9b3063d0/attachment.sig>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20180324/73ef3127/attachment.htm>
-------------- next part --------------
Today's Topics:

   1. Re: installation fails - version mismatch dune-grid >= 2.5
      required (Christoph Grüninger)
-------------- next part --------------
An embedded message was scrubbed...
From: =?UTF-8?Q?Christoph_Gr=c3=bcninger?= <foss at grueninger.de>
Subject: Re: [Dune] installation fails - version mismatch dune-grid >= 2.5 required
Date: Sat, 24 Mar 2018 00:11:55 +0100
Size: 3922
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20180324/73ef3127/attachment.eml>
-------------- next part --------------
_______________________________________________
Dune mailing list
Dune at lists.dune-project.org
http://lists.dune-project.org/mailman/listinfo/dune


More information about the Dune mailing list