From santiago.ospina at iwr.uni-heidelberg.de Mon Jan 27 17:54:15 2025 From: santiago.ospina at iwr.uni-heidelberg.de (Ospina De Los Rios, Santiago) Date: Mon, 27 Jan 2025 16:54:15 +0000 Subject: [dune-pdelab] installation of Dune/PDELab (with tutorial) In-Reply-To: References: Message-ID: 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() 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 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: From santiago.ospina at iwr.uni-heidelberg.de Mon Jan 27 21:17:24 2025 From: santiago.ospina at iwr.uni-heidelberg.de (Ospina De Los Rios, Santiago) Date: Mon, 27 Jan 2025 20:17:24 +0000 Subject: [dune-pdelab] installation of Dune/PDELab (with tutorial) In-Reply-To: References: , Message-ID: Dear Giovanni, Hmm this is strange. This installer does not include dune-fempy in it but dune-common is still trying to find it and is expecting a newer (unreleased) version of dune-common. The dunecontrol helper script is somewhat susceptible to your folder structure and to which modules you have in them. Maybe you have dune-fempy somewhere in your system? Maybe you have installed it before either system-wide or in the same directory as you are trying to configure dune now? If this is the case, try to use this installer elsewhere where dune-fempy does not appear, or try remove other dune modules unrelated to this installation. This could also happen if you installed dune via the package manager (e.g. apt-get install dune-grid), but it seems to me that dune-fempy is asking for dune 2.11 which is not being released yet, so this is unlikely. Still, if this is the case, try uninstalling the dune package from the package managers. Best, Santiago ________________________________ From: Giovanni Esposito Sent: Monday, January 27, 2025 7:37:59 PM To: Ospina De Los Rios, Santiago Subject: Re: installation of Dune/PDELab (with tutorial) Dear Santiago, Thank you for your reply! I replaced the generate_optsfile() function in the installer script "installer.sh" in the directory dune-installer/pdelab-2.7.1 with the code that you sent me. Unfortunately it doesn't work. However, I noticed that when I ran the installer with ./dune-installer/pdelab-2.7.1/installer.sh my-dune-dir I read WARNING: could not find module 'dune-python', module is also unknown to pkg-config. Maybe you need to adjust PKG_CONFIG_PATH! 'dune-python' is suggested by dune-alugrid Skipping 'dune-python'! ERROR: version mismatch. dune-fempy requires 'dune-common >= 2.11', but only 'dune-common' = '2.7.1' is available. Execution of dunecontrol terminated due to errors! Maybe the problem may depend on this. Best, Giovanni. Il giorno lun 27 gen 2025 alle ore 17:54 Ospina De Los Rios, Santiago > ha scritto: 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() 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 > 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: