Hi Maria,
we might have fixed the problem. Can you check if executing the script
works now?
Kind regards
Bernd
On 07/16/2018 01:01 PM, Maria Bonto wrote:
Hi Timo,
The version is: 3.11.4
cmake version 3.11.4
------------------------------------------------------------------------
*De:* Timo Koch <[email protected]>
*Enviado:* lunes, 16 de julio de 2018 12:58:34
*Para:* [email protected]
*Asunto:* Re: [DuMuX] Error while installing dumux
Hi Maria,
I tried to recreate this problem on a Mac but I couldn't. What your
cmake version? Output of cmake --version?
Timo
On 16.07.2018 12:55, Maria Bonto wrote:
I did that. I didn't get any errors in this case.
Configuring done
-- Generating done
-- Build files have been written to:
/Volumes/MARY/DuMuX/dumux/dumux/build-cmake
--- calling make for dumux ---
build directory: build-cmake
cmake --build . --
--- dumux done ---
--- done ---
------------------------------------------------------------------------
*De:* Bernd Flemisch <[email protected]>
<mailto:[email protected]>
*Enviado:* lunes, 16 de julio de 2018 12:49:26
*Para:* Maria Bonto; DuMuX User Forum
*Asunto:* Re: [DuMuX] Error while installing dumux
Can you remove the line, then do a
cd /Volumes/MARY/DuMuX/dumux/
rm -rf dumux/build-cmake
./dune-common/bin/dunecontrol --opts=cmake.opts --only=dumux all
and see if that works?
Bernd
On 07/16/2018 12:33 PM, Maria Bonto wrote:
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 <[email protected]>
<mailto:[email protected]>
*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 <[email protected]>
<mailto:[email protected]>
*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 <[email protected]>
<mailto:[email protected]>
*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://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 <[email protected]>
<mailto:[email protected]>
*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
[email protected]
<mailto:[email protected]>
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:[email protected]
<mailto:[email protected]>
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:[email protected]
<mailto:[email protected]>
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:[email protected]
<mailto:[email protected]>
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:[email protected]
<mailto:[email protected]>
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:[email protected]
<mailto:[email protected]>
D-70569 Stuttgart url:www.hydrosys.uni-stuttgart.de
<http://www.hydrosys.uni-stuttgart.de>
_______________________________________________________________
_______________________________________________
Dumux mailing list
[email protected] <mailto:[email protected]>
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux
_______________________________________________
Dumux mailing list
[email protected]
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: [email protected]
D-70569 Stuttgart url: www.hydrosys.uni-stuttgart.de
_______________________________________________________________
_______________________________________________
Dumux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux