[dune-pdelab] installation of Dune/PDELab (with tutorial)

Ospina De Los Rios, Santiago santiago.ospina at iwr.uni-heidelberg.de
Mon Jan 27 17:54:15 CET 2025


Dear Giovanni,


Thanks your email!


I just tried locally and it also does not work on my machine (macOS 15.1.1). I don't understand why, but the generation of the options file is failing and thus doesn't generate the build script. I could solve it by replacing the generate_optsfile()<https://parcomp-git.iwr.uni-heidelberg.de/peter/dune-installer/-/blob/0b89ad493d9cbc38dee72bfce3ba66bb4f8650a8/pdelab-2.7.1/installer.sh#L197> function in the installer script with the following:


generate_optsfile ()
{
echo "CMAKE_FLAGS=\"
-DCMAKE_C_COMPILER='$(which $CC)'
-DCMAKE_CXX_COMPILER='$(which $CXX)'
-DCMAKE_Fortran_COMPILER='$(which $F77)'
-DCMAKE_CXX_FLAGS_RELEASE='-O3 -DNDEBUG -g0 -funroll-loops -ftemplate-depth=5120 -march=native -Wa,-q'
-DCMAKE_BUILD_TYPE=Release
-DDUNE_SYMLINK_TO_SOURCE_TREE=1
\"" > release.opts
}

Does this work for you too?


Best,

Santiago

________________________________
From: Giovanni Esposito <esposito.giovanni08 at gmail.com>
Sent: Monday, January 27, 2025 3:28 PM
To: dune-pdelab at lists.dune-project.org
Subject: installation of Dune/PDELab (with tutorial)

Dear Sirs,

I'm a math student who wants to learn how to use Dune Modules, so I tried to install dune-pdelab-tutorials following the instructions on the site.
Unfortunately, when I run the build script with ./buildmodules.sh on my ubuntu system, I read -bash: ./buildmodules.sh: No such file or directory.
Do you have any advice on how to resolve this problem?
I look forward to hearing from you.

Best regards,
Giovanni
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune-pdelab/attachments/20250127/6beeb232/attachment.htm>


More information about the dune-pdelab mailing list