Dear Bernd,
I did what you suggested and I still get the same errors. After running the script again I saw that the folder is created again and also the line that I removed. I tried the same procedure several times but I still get the following errors: CMake Error at /Volumes/MARY/DuMuX/dumux/dune-common/cmake/modules/DuneTestMacros.cmake:255 (add_executable): add_executable cannot create target "test_stokes1pdarcy2pvertical" because another target with the same name already exists. The existing target is an executable created in source directory "/Volumes/MARY/DuMuX/dumux/dumux/test/multidomain/boundary/stokesdarcy/1p_2p". See documentation for policy CMP0002 for more details. Call Stack (most recent call first): test/multidomain/boundary/stokesdarcy/1p_2p/CMakeLists.txt:5 (dune_add_test) CMake Error at /Volumes/MARY/DuMuX/dumux/dune-common/cmake/modules/DuneTestMacros.cmake:255 (add_executable): add_executable cannot create target "test_stokes1p2cdarcy1p2chorizontal" because another target with the same name already exists. The existing target is an executable created in source directory "/Volumes/MARY/DuMuX/dumux/dumux/test/multidomain/boundary/stokesdarcy/1p2c_1p2c/horizontalflow". See documentation for policy CMP0002 for more details. Call Stack (most recent call first): test/multidomain/boundary/stokesdarcy/1p2c_1p2c/horizontalflow/CMakeLists.txt:5 (dune_add_test) CMake Error at /Volumes/MARY/DuMuX/dumux/dune-common/cmake/modules/DuneTestMacros.cmake:255 (add_executable): add_executable cannot create target "test_stokes1p2cdarcy2p2chorizontal" because another target with the same name already exists. The existing target is an executable created in source directory "/Volumes/MARY/DuMuX/dumux/dumux/test/multidomain/boundary/stokesdarcy/1p2c_2p2c". See documentation for policy CMP0002 for more details. Call Stack (most recent call first): test/multidomain/boundary/stokesdarcy/1p2c_2p2c/CMakeLists.txt:5 (dune_add_test) Regards, María. ________________________________ De: Bernd Flemisch <be...@iws.uni-stuttgart.de> Enviado: lunes, 16 de julio de 2018 11:56:19 Para: Maria Bonto; DuMuX User Forum Asunto: Re: [DuMuX] Error while installing dumux Ok, thank you. Apparently, the constructions that we do in the CMakeLists.txt of test/multidomain/boundary/stokesdarcy/1p_2p and test/multidomain/boundary/stokesdarcy/1p2c_2p2c result in problems on your Mac. As a temporary workaround to get things running, it should be ok to comment/remove the line add_subdirectory(stokesdarcy) from test/multidomain/boundary/CMakeLists.txt, remove the folder build-cmake from your dumux directory and run the script again. Meanwhile, we will try to fix the problem in the offending CMakeLists.txt. Kind regards Bernd On 07/16/2018 11:45 AM, Maria Bonto wrote: Dear Bernd, I started again from the beginning but I still get the same errors. Regards, María. ________________________________ De: Bernd Flemisch <be...@iws.uni-stuttgart.de><mailto:be...@iws.uni-stuttgart.de> Enviado: lunes, 16 de julio de 2018 11:34:33 Para: Maria Bonto; DuMuX User Forum Asunto: Re: [DuMuX] Error while installing dumux Can you maybe try to restart from scratch? Kind regards Bernd On 07/16/2018 11:25 AM, Maria Bonto wrote: I installed gfortran 4.9.2, but I still get errors. I attach the new console output. ________________________________ De: Bernd Flemisch <be...@iws.uni-stuttgart.de><mailto:be...@iws.uni-stuttgart.de> Enviado: lunes, 16 de julio de 2018 10:50:26 Para: Maria Bonto Asunto: Re: [DuMuX] Error while installing dumux Ok, you need a Fortran compiler. On Mac, you might want to want to consider https://scicomp.stackexchange.com/questions/2469/how-should-i-install-a-fortran-compiler-on-a-mac-os-x-10-x-x-4 [https://cdn.sstatic.net/Sites/scicomp/img/apple-touch-i...@2.png?v=935a34102365]<https://scicomp.stackexchange.com/questions/2469/how-should-i-install-a-fortran-compiler-on-a-mac-os-x-10-x-x-4> How should I install a Fortran compiler on a Mac? (OS X 10 ...<https://scicomp.stackexchange.com/questions/2469/how-should-i-install-a-fortran-compiler-on-a-mac-os-x-10-x-x-4> scicomp.stackexchange.com Related question: State of the Mac OS in Scientific Computing and HPC A significant number of software packages in computational science are written in Fortran, and Fortran isn't going away. Kind regards Bernd On 07/16/2018 10:37 AM, Maria Bonto wrote: Dear Bernd, Attached please find a txt. file with the console messages after running the installation script. Regards, María. ________________________________ De: Bernd Flemisch <be...@iws.uni-stuttgart.de><mailto:be...@iws.uni-stuttgart.de> Enviado: lunes, 16 de julio de 2018 10:28:20 Para: DuMuX User Forum; Maria Bonto Asunto: Re: [DuMuX] Error while installing dumux Hi Maria, can you please also post the console output that you get from the install script or from running dunecontrol directly? Kind regards Bernd On 07/16/2018 10:13 AM, Maria Bonto wrote: Dear Sir/Madam, I was trying to install dumux on a Mac OS X 10.10 for the dumux course but I get the following error: failed to build the dune libraries. I am attaching the error log file I get. Thank you in advance. Best regards, María. _______________________________________________ Dumux mailing list Dumux@listserv.uni-stuttgart.de<mailto:Dumux@listserv.uni-stuttgart.de> https://listserv.uni-stuttgart.de/mailman/listinfo/dumux -- _______________________________________________________________ Bernd Flemisch phone: +49 711 685 69162 IWS, Universität Stuttgart fax: +49 711 685 60430 Pfaffenwaldring 61 email: be...@iws.uni-stuttgart.de<mailto:be...@iws.uni-stuttgart.de> D-70569 Stuttgart url: www.hydrosys.uni-stuttgart.de<http://www.hydrosys.uni-stuttgart.de> _______________________________________________________________ -- _______________________________________________________________ Bernd Flemisch phone: +49 711 685 69162 IWS, Universität Stuttgart fax: +49 711 685 60430 Pfaffenwaldring 61 email: be...@iws.uni-stuttgart.de<mailto:be...@iws.uni-stuttgart.de> D-70569 Stuttgart url: www.hydrosys.uni-stuttgart.de<http://www.hydrosys.uni-stuttgart.de> _______________________________________________________________ -- _______________________________________________________________ Bernd Flemisch phone: +49 711 685 69162 IWS, Universität Stuttgart fax: +49 711 685 60430 Pfaffenwaldring 61 email: be...@iws.uni-stuttgart.de<mailto:be...@iws.uni-stuttgart.de> D-70569 Stuttgart url: www.hydrosys.uni-stuttgart.de<http://www.hydrosys.uni-stuttgart.de> _______________________________________________________________ -- _______________________________________________________________ Bernd Flemisch phone: +49 711 685 69162 IWS, Universität Stuttgart fax: +49 711 685 60430 Pfaffenwaldring 61 email: be...@iws.uni-stuttgart.de<mailto:be...@iws.uni-stuttgart.de> D-70569 Stuttgart url: www.hydrosys.uni-stuttgart.de<http://www.hydrosys.uni-stuttgart.de> _______________________________________________________________
_______________________________________________ Dumux mailing list Dumux@listserv.uni-stuttgart.de https://listserv.uni-stuttgart.de/mailman/listinfo/dumux