[aspect-devel] ASPECT on Mac (Sylvia Rockel)
Sylvia Rockel
sylvia.rockel at fu-berlin.de
Thu Sep 25 00:21:20 PDT 2014
Dear Juliane, Max and John,
thanks a lot for your reply. Actually, I broke my system yesterday and had
to re-install everything, so I'm starting from zero right now. I'll give
it one last try again, and if it won't work, I think I'll just use the VM,
as you all recommended. Thanks again for your help.
Best,
Sylvia
> My take on this is that there is no compelling reason to install
> aspect on OS X. It was non-trivial for me and I did it with the help
> of Timo Heister, Juliane Danneberg, and Rene Gassmoller at CIDER. I
> ended up installing it within a virtualbox image running xubuntu. For
> any large-scale calculation you will be using a cluster or server that
> will almost certainly be running linux anyways. That said, it is
> certainly possible to install ASPECT on a mac.
>
> I installed ASPECT (latest version on my macbook pro running OS X
> 10.9.4(?) in July. I have not tried re-installing since the latest
> xcode update, which includes clang 6.0 and has the potential to break
> everything. Your mileage may vary depending on whether you are
> installing third-party packages manually or using fink, macports, or
> homebrew. This is really the problem right now - because mac users
> have so many choices to install dependencies, everyone's system is a
> bit different in terms of dependency locations and versions. I also
> had a really hard time with shared libraries. If you have multiple
> copies of certain shared libraries (like blas) installed (for instance
> provided by the system and also installed through fink), deal.ii and
> ASPECT may compile successfully but fail at runtime due to incorrect
> shared library versions. I installed everything in /usr/local. I
> installed the latest openmpi manually and used clang 5.1 for the
> compiler for MPI as well as Trilinos, deal.ii, and aspect. I tried
> previously using gcc 4.8 or 4.9 (installed using fink) and it did not
> work.
>
> The cmake command for trilinos 11.4.2 was:
>
> The cmake command for Trilinos was:
> cmake \
> -D TrilinosFramework_ENABLE_MPI:BOOL=ON \
> -D CMAKE_INSTALL_PREFIX:PATH=/usr/local/trilinos-11.4.2 \
> -D CMAKE_CXX_COMPILER=”mpicxx” \
> -D CMAKE_C_COMPILER=”mpicc” \
> -D TPL_ENABLE_MPI:BOOL=ON \
> -D BUILD_SHARED_LIBS:BOOL=ON \
> -D CMAKE_BUILD_TYPE:STRING=RELEASE \
> -D Trilinos_ENABLE_Fortran:BOOL=ON \
> -D Trilinos_WARNINGS_AS_ERRORS_FLAGS:STRING="" \
> -D CMAKE_VERBOSE_MAKEFILE:BOOL=OFF \
> -D Trilinos_ENABLE_TESTS:BOOL=OFF \
> -D Trilinos_ENABLE_EXAMPLES:BOOL=OFF \
> -D Trilinos_ENABLE_ALL_PACKAGES:BOOL=OFF \
> -D Trilinos_ENABLE_ALL_OPTIONAL_PACKAGES:BOOL=ON \
> -D Trilinos_ENABLE_Epetra:BOOL=ON \
> -D Trilinos_ENABLE_Mesquite:BOOL=ON \
> -D Trilinos_ENABLE_EpetraExt:BOOL=ON \
> -D Trilinos_ENABLE_Tpetra:BOOL=ON \
> -D Trilinos_ENABLE_Jpetra:BOOL=ON \
> -D Trilinos_ENABLE_Kokkos:BOOL=ON \
> -D Trilinos_ENABLE_Sacado:BOOL=ON \
> -D Trilinos_ENABLE_Amesos:BOOL=ON \
> -D Trilinos_ENABLE_AztecOO:BOOL=ON \
> -D Trilinos_ENABLE_Ifpack:BOOL=ON \
> -D Trilinos_ENABLE_Teuchos:BOOL=ON \
> -D Trilinos_ENABLE_Rythmos:BOOL=ON \
> -D Trilinos_ENABLE_Piro:BOOL=ON \
> -D Trilinos_ENABLE_MOOCHO:BOOL=ON \
> -D Trilinos_ENABLE_ML:BOOL=ON \
> -D Trilinos_ENABLE_Thyra:BOOL=ON \
> -D Trilinos_ENABLE_Komplex:BOOL=ON \
> -D Trilinos_ENABLE_Didasko:BOOL=ON \
> -D Trilinos_ENABLE_TrilinosCouplings:BOOL=ON \
> ..
>
> The cmake command for HDF5 was:
>
> cmake \
> -D CMAKE_INSTALL_PREFIX:PATH=/usr/local/hdf5 \
> -D CMAKE_CXX_COMPILER=mpicxx \
> -D CMAKE_C_COMPILER=mpicc \
> -D CMAKE_BUILD_TYPE=Release \
> -D BUILD_SHARED_LIBS=ON \
> -D HDF5_BUILD_HL_LIB=ON \
> -D HDF5_ENABLE_PARALLEL=ON \
>
> ..
>
>
> The cmake command for deal.II was:
>
> cmake \
> -DCMAKE_C_COMPILER="mpicc" \
> -DCMAKE_Fortran_COMPILER="mpif90" \
> -DCMAKE_CXX_COMPILER="mpicxx" \
> -DCMAKE_CXX_FLAGS="-g -O3" \
> -DCMAKE_INSTALL_PREFIX=/usr/local/deal.II \
> -DCMAKE_VERBOSE_MAKEFILE=FALSE \
> -DTRILINOS_DIR=/usr/local/trilinos-11.4.2 \
> -DP4EST_DIR=/usr/local/p4est-0.3.4.2 \
> -DDEAL_II_CONSTEXPR_BUG=TRUE \
> -DDEAL_II_WITH_64BIT_INDICES=OFF \
> -DHDF5_DIR=/usr/local/hdf5 \
> -DDEAL_II_WITH_THREADS=OFF \
> -DBUILD_SHARED_LIBS=ON \
> ..
>
>
>
>
>
>
> On Wed, Sep 24, 2014 at 12:00 PM, <aspect-devel-request at geodynamics.org>
> wrote:
>> Send Aspect-devel mailing list submissions to
>> aspect-devel at geodynamics.org
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>> http://lists.geodynamics.org/cgi-bin/mailman/listinfo/aspect-devel
>> or, via email, send a message with subject or body 'help' to
>> aspect-devel-request at geodynamics.org
>>
>> You can reach the person managing the list at
>> aspect-devel-owner at geodynamics.org
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of Aspect-devel digest..."
>>
>>
>> Today's Topics:
>>
>> 1. ASPECT on Mac (Sylvia Rockel)
>> 2. Re: ASPECT on Mac (Juliane Dannberg)
>> 3. Re: ASPECT on Mac (John Naliboff)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Wed, 24 Sep 2014 12:22:44 +0200
>> From: "Sylvia Rockel" <sylvia.rockel at fu-berlin.de>
>> To: aspect-devel at geodynamics.org
>> Subject: [aspect-devel] ASPECT on Mac
>> Message-ID:
>> <49196.93.214.251.93.1411554164.webmail at webmail.zedat.fu-berlin.de>
>> Content-Type: text/plain;charset=utf-8
>>
>> Dear all,
>>
>> I'm just wondering, if anybody is working with
>> ASPECT on a MacBook Pro running Mavericks (10.9.5).
>>
>> If yes, could you be so kind to provide me with
>> some installation advice. I'm trying to get it
>> run for five days now and just can't get it installed.
>>
>> Thanks in advance.
>>
>> Best,
>> Sylvia
>>
>>
>>
>> ------------------------------
>>
>> Message: 2
>> Date: Wed, 24 Sep 2014 15:29:05 +0200
>> From: Juliane Dannberg <dannberg at gfz-potsdam.de>
>> To: aspect-devel at geodynamics.org, "sylvia.rockel at fu-berlin.de >>
>> Sylvia Rockel" <sylvia.rockel at fu-berlin.de>
>> Subject: Re: [aspect-devel] ASPECT on Mac
>> Message-ID: <5422C721.4010300 at gfz-potsdam.de>
>> Content-Type: text/plain; charset=windows-1252; format=flowed
>>
>> Hi Sylvia,
>>
>> as far as I know, the only one who could manage to install Aspect under
>> Mac is Maxwell Rudolph, so you might want to ask him for some tips.
>> Otherwise, you could also use the virtual machine, which is much easier
>> to install (you can find instructions as well as the image here:
>> http://aspect.dealii.org/download.html). However, in this case it will
>> take a bit longer to run your models.
>>
>> Best,
>> Juliane
>>
>>
>> On 09/24/2014 12:22 PM, Sylvia Rockel wrote:
>>> Dear all,
>>>
>>> I'm just wondering, if anybody is working with
>>> ASPECT on a MacBook Pro running Mavericks (10.9.5).
>>>
>>> If yes, could you be so kind to provide me with
>>> some installation advice. I'm trying to get it
>>> run for five days now and just can't get it installed.
>>>
>>> Thanks in advance.
>>>
>>> Best,
>>> Sylvia
>>>
>>> _______________________________________________
>>> Aspect-devel mailing list
>>> Aspect-devel at geodynamics.org
>>> http://lists.geodynamics.org/cgi-bin/mailman/listinfo/aspect-devel
>>
>>
>>
>> ------------------------------
>>
>> Message: 3
>> Date: Wed, 24 Sep 2014 12:31:09 +0200
>> From: John Naliboff <john.naliboff at gmail.com>
>> To: aspect-devel at geodynamics.org
>> Subject: Re: [aspect-devel] ASPECT on Mac
>> Message-ID: <04AE358D-0B8B-4933-821C-60F6EC6A47D4 at gmail.com>
>> Content-Type: text/plain; charset=windows-1252
>>
>> Dear Sylvia,
>>
>> What parts of the installation are you getting hung up on?
>>
>> A few years ago I installed an early version of ASPECT on OSX 10.7
>> (Mountain Lion). I don?t have the notes from that installation but I
>> remember it was a mess. I think the whole process took almost 2 days
>> and at that point deal.ii still wasn?t passing all of the benchmarks. I
>> was able to run convection benchmarks successfully, but it was still far
>> from ideal.
>>
>> I?m not sure if folks are currently running ASPECT on OSX, but a linux
>> installation is certainly much easier. One option is to run an linux
>> virtual machine on your mac and install/run ASPECT through the VM. This
>> probably limits you to smaller tests models, though.
>>
>> Good luck.
>>
>> Cheers,
>> John
>>
>> On Sep 24, 2014, at 12:22 PM, Sylvia Rockel <sylvia.rockel at fu-berlin.de>
>> wrote:
>>
>>> Dear all,
>>>
>>> I'm just wondering, if anybody is working with
>>> ASPECT on a MacBook Pro running Mavericks (10.9.5).
>>>
>>> If yes, could you be so kind to provide me with
>>> some installation advice. I'm trying to get it
>>> run for five days now and just can't get it installed.
>>>
>>> Thanks in advance.
>>>
>>> Best,
>>> Sylvia
>>>
>>> _______________________________________________
>>> Aspect-devel mailing list
>>> Aspect-devel at geodynamics.org
>>> http://lists.geodynamics.org/cgi-bin/mailman/listinfo/aspect-devel
>>
>>
>>
>> ------------------------------
>>
>> _______________________________________________
>> Aspect-devel mailing list
>> Aspect-devel at geodynamics.org
>> http://lists.geodynamics.org/cgi-bin/mailman/listinfo/aspect-devel
>>
>> End of Aspect-devel Digest, Vol 34, Issue 11
>> ********************************************
> _______________________________________________
> Aspect-devel mailing list
> Aspect-devel at geodynamics.org
> http://lists.geodynamics.org/cgi-bin/mailman/listinfo/aspect-devel
More information about the Aspect-devel
mailing list