From hrmatsui at ucdavis.edu Fri Nov 3 16:43:58 2017 From: hrmatsui at ucdavis.edu (Hiroaki Matsui) Date: Fri, 3 Nov 2017 16:43:58 -0700 Subject: [CIG-MC] Aspect installation error In-Reply-To: References: Message-ID: <0A1D5D5E-93D8-4EB4-AED0-80EA2A222865@ucdavis.edu> Dear Hammond, Thank you for asking the installation problem. I made the instruction with Deal II v8.2.1 and I also meet the same problem by using deal II v8.5. Then, this document becomes outdated instruction. I am solving this problem, and I also ask if anyone have already install the latest ASPECT with the latest deal ii. on the mailing list. Have a good weekend, Hiro. > 2017/11/03 12:53、Hammond, Noah のメール: > > Hello, I have been following your document on how to install ASPECT on Mac OS X. I ran into an error with compiling Aspect and I was wondering if you could help. > > I am using Mac OS X El Capitan, 10.11.6. > > After installing Cmake and Deal.II I ran into an error Configuring aspect. It looks like there is a problem with the C compiler but I will include the error message below. I am not very experienced with Cmake so any help would be appreciated. Thanks in advance. Below is the error message: > > bash-3.2$ /Applications/CMake.app/Contents/bin/cmake \ > > -D DEAL_II_DIR=/Applications/deal.II.app/Contents/Resources \ > > -D CMAKE_C_COMPILER="mpicc" \ > > -D CMAKE_CXX_COMPILER="mpicxx" \ > > -D CMAKE_CXX_FLAGS="-g -O3 -std=c++11" \ > > -D CMAKE_C_FLAGS="-g -O3" \ > > ../ > -- ==================================================== > -- ============ Configuring ASPECT ==================== > -- ==================================================== > -- Found deal.II version 8.5.0 at '/Applications/deal.II-8.5-brew.app/Contents/Resources/lib/cmake/deal.II' > -- Using ASPECT_USE_PETSC = 'OFF' > -- The C compiler identification is AppleClang 7.3.0.7030031 > -- The CXX compiler identification is AppleClang 7.3.0.7030031 > -- Check for working C compiler: /Applications/deal.II.app/Contents/Resources/opt/openmpi-1.6.5/bin/mpicc > -- Check for working C compiler: /Applications/deal.II.app/Contents/Resources/opt/openmpi-1.6.5/bin/mpicc -- works > -- Detecting C compiler ABI info > -- Detecting C compiler ABI info - done > -- Detecting C compile features > -- Detecting C compile features - done > -- Check for working CXX compiler: /Applications/deal.II.app/Contents/Resources/opt/openmpi-1.6.5/bin/mpicxx > -- Check for working CXX compiler: /Applications/deal.II.app/Contents/Resources/opt/openmpi-1.6.5/bin/mpicxx -- works > -- Detecting CXX compiler ABI info > -- Detecting CXX compiler ABI info - done > -- Detecting CXX compile features > -- Detecting CXX compile features - done > -- Setting up test project, see tests/setup_tests.log for details. > CMake Error at /Applications/CMake.app/Contents/share/cmake-3.10/Modules/CMakeTestCXXCompiler.cmake:45 (message): > The C++ compiler > > "/Applications/deal.II-8.5-brew.app/Contents/Resources/brew/bin/mpicxx" > > is not able to compile a simple test program. > > It fails with the following output: > > Change Dir: /Users/noahhammond/src/aspect/build_deal.ii.app/tests/CMakeFiles/CMakeTmp > > Run Build Command:"/usr/bin/make" "cmTC_65999/fast" > /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_65999.dir/build.make CMakeFiles/cmTC_65999.dir/build > Building CXX object CMakeFiles/cmTC_65999.dir/testCXXCompiler.cxx.o > /Applications/deal.II-8.5-brew.app/Contents/Resources/brew/bin/mpicxx -o CMakeFiles/cmTC_65999.dir/testCXXCompiler.cxx.o -c /Users/noahhammond/src/aspect/build_deal.ii.app/tests/CMakeFiles/CMakeTmp/testCXXCompiler.cxx > make[1]: *** [CMakeFiles/cmTC_65999.dir/testCXXCompiler.cxx.o] Illegal instruction: 4 > make: *** [cmTC_65999/fast] Error 2 > > > > > CMake will not be able to correctly generate this project. > Call Stack (most recent call first): > CMakeLists.txt:19 (PROJECT) > > > CMake Error at CMakeLists.txt:178 (MESSAGE): > ERROR: Test project could not be configured. > > > -- Configuring incomplete, errors occurred! > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From maxrudolph at ucdavis.edu Fri Nov 3 20:06:05 2017 From: maxrudolph at ucdavis.edu (Maxwell Rudolph) Date: Fri, 3 Nov 2017 20:06:05 -0700 Subject: [CIG-MC] Aspect installation error In-Reply-To: <0A1D5D5E-93D8-4EB4-AED0-80EA2A222865@ucdavis.edu> References: <0A1D5D5E-93D8-4EB4-AED0-80EA2A222865@ucdavis.edu> Message-ID: Noah, I have not tried to install aspect and deal.ii using the method in that document but it is now more than two years out of date. A lot has happened in deal.ii and aspect development in this time. In particular, there is now candi. I was able to install trilinos, p4est, deal.ii and aspect very easily on my mac. Hope this helps. Max On Fri, Nov 3, 2017 at 4:43 PM, Hiroaki Matsui wrote: > Dear Hammond, > > Thank you for asking the installation problem. > > I made the instruction with Deal II v8.2.1 and I also meet the same > problem by using deal II v8.5. > Then, this document becomes outdated instruction. > > I am solving this problem, and I also ask if anyone have already install > the latest ASPECT with the latest deal ii. on the mailing list. > > Have a good weekend, > Hiro. > > 2017/11/03 12:53、Hammond, Noah のメール: > > Hello, I have been following your document > > on how to install ASPECT on Mac OS X. I ran into an error with compiling > Aspect and I was wondering if you could help. > > I am using Mac OS X El Capitan, 10.11.6. > > After installing Cmake and Deal.II I ran into an error Configuring aspect. > It looks like there is a problem with the C compiler but I will include the > error message below. I am not very experienced with Cmake so any help would > be appreciated. Thanks in advance. Below is the error message: > > bash-3.2$ /Applications/CMake.app/Contents/bin/cmake \ > > -D DEAL_II_DIR=/Applications/deal.II.app/Contents/Resources \ > > -D CMAKE_C_COMPILER="mpicc" \ > > -D CMAKE_CXX_COMPILER="mpicxx" \ > > -D CMAKE_CXX_FLAGS="-g -O3 -std=c++11" \ > > -D CMAKE_C_FLAGS="-g -O3" \ > > ../ > -- ==================================================== > -- ============ Configuring ASPECT ==================== > -- ==================================================== > -- Found deal.II version 8.5.0 at '/Applications/deal.II-8.5- > brew.app/Contents/Resources/lib/cmake/deal.II' > -- Using ASPECT_USE_PETSC = 'OFF' > -- The C compiler identification is AppleClang 7.3.0.7030031 > -- The CXX compiler identification is AppleClang 7.3.0.7030031 > -- Check for working C compiler: /Applications/deal.II.app/ > Contents/Resources/opt/openmpi-1.6.5/bin/mpicc > -- Check for working C compiler: /Applications/deal.II.app/ > Contents/Resources/opt/openmpi-1.6.5/bin/mpicc -- works > -- Detecting C compiler ABI info > -- Detecting C compiler ABI info - done > -- Detecting C compile features > -- Detecting C compile features - done > -- Check for working CXX compiler: /Applications/deal.II.app/ > Contents/Resources/opt/openmpi-1.6.5/bin/mpicxx > -- Check for working CXX compiler: /Applications/deal.II.app/ > Contents/Resources/opt/openmpi-1.6.5/bin/mpicxx -- works > -- Detecting CXX compiler ABI info > -- Detecting CXX compiler ABI info - done > -- Detecting CXX compile features > -- Detecting CXX compile features - done > -- Setting up test project, see tests/setup_tests.log for details. > CMake Error at /Applications/CMake.app/Contents/share/cmake-3.10/ > Modules/CMakeTestCXXCompiler.cmake:45 (message): > The C++ compiler > > "/Applications/deal.II-8.5-brew.app/Contents/Resources/ > brew/bin/mpicxx" > > is not able to compile a simple test program. > > It fails with the following output: > > Change Dir: /Users/noahhammond/src/aspect/build_deal.ii.app/tests/ > CMakeFiles/CMakeTmp > > Run Build Command:"/usr/bin/make" "cmTC_65999/fast" > /Applications/Xcode.app/Contents/Developer/usr/bin/make -f > CMakeFiles/cmTC_65999.dir/build.make CMakeFiles/cmTC_65999.dir/build > Building CXX object CMakeFiles/cmTC_65999.dir/testCXXCompiler.cxx.o > /Applications/deal.II-8.5-brew.app/Contents/Resources/brew/bin/mpicxx > -o CMakeFiles/cmTC_65999.dir/testCXXCompiler.cxx.o -c > /Users/noahhammond/src/aspect/build_deal.ii.app/tests/CMakeFiles/CMakeTmp/ > testCXXCompiler.cxx > make[1]: *** [CMakeFiles/cmTC_65999.dir/testCXXCompiler.cxx.o] > Illegal instruction: 4 > make: *** [cmTC_65999/fast] Error 2 > > > > > CMake will not be able to correctly generate this project. > Call Stack (most recent call first): > CMakeLists.txt:19 (PROJECT) > > > CMake Error at CMakeLists.txt:178 (MESSAGE): > ERROR: Test project could not be configured. > > > -- Configuring incomplete, errors occurred! > > > > > > _______________________________________________ > CIG-MC mailing list > CIG-MC at geodynamics.org > http://lists.geodynamics.org/cgi-bin/mailman/listinfo/cig-mc > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jbnaliboff at ucdavis.edu Sat Nov 4 08:28:27 2017 From: jbnaliboff at ucdavis.edu (John Naliboff) Date: Sat, 4 Nov 2017 08:28:27 -0700 Subject: [CIG-MC] Aspect installation error In-Reply-To: References: <0A1D5D5E-93D8-4EB4-AED0-80EA2A222865@ucdavis.edu> Message-ID: Hi all, Max - did you get all of the packages to install successfully with Candi on your mac? I tried to install everything from scratch a ways back (> 1 year?) on my mac with no success. Fantastic if candi is working well on the more recent Mac OS. Noah - the quickest way to install ASPECT on your mac is via the deal.II mac “app” package that comes with all of ASPECT’s dependencies pre-built. For detailed instructions, see: https://github.com/dealii/dealii/wiki/MacOSX If you run into additional installation trouble, I recommend emailing the ASPECT developer email list: aspect-devel at geodynamics.org Hope this helps. Cheers, John ************************************************* John Naliboff Assistant Project Scientist, CIG Earth & Planetary Sciences Dept., UC Davis > On Nov 3, 2017, at 8:06 PM, Maxwell Rudolph wrote: > > Noah, > I have not tried to install aspect and deal.ii using the method in that document but it is now more than two years out of date. A lot has happened in deal.ii and aspect development in this time. In particular, there is now candi. I was able to install trilinos, p4est, deal.ii and aspect very easily on my mac. Hope this helps. > > Max > > On Fri, Nov 3, 2017 at 4:43 PM, Hiroaki Matsui > wrote: > Dear Hammond, > > Thank you for asking the installation problem. > > I made the instruction with Deal II v8.2.1 and I also meet the same problem by using deal II v8.5. > Then, this document becomes outdated instruction. > > I am solving this problem, and I also ask if anyone have already install the latest ASPECT with the latest deal ii. on the mailing list. > > Have a good weekend, > Hiro. > >> 2017/11/03 12:53、Hammond, Noah > のメール: >> >> Hello, I have been following your document on how to install ASPECT on Mac OS X. I ran into an error with compiling Aspect and I was wondering if you could help. >> >> I am using Mac OS X El Capitan, 10.11.6. >> >> After installing Cmake and Deal.II I ran into an error Configuring aspect. It looks like there is a problem with the C compiler but I will include the error message below. I am not very experienced with Cmake so any help would be appreciated. Thanks in advance. Below is the error message: >> >> bash-3.2$ /Applications/CMake.app/Contents/bin/cmake \ >> > -D DEAL_II_DIR=/Applications/deal.II.app/Contents/Resources \ >> > -D CMAKE_C_COMPILER="mpicc" \ >> > -D CMAKE_CXX_COMPILER="mpicxx" \ >> > -D CMAKE_CXX_FLAGS="-g -O3 -std=c++11" \ >> > -D CMAKE_C_FLAGS="-g -O3" \ >> > ../ >> -- ==================================================== >> -- ============ Configuring ASPECT ==================== >> -- ==================================================== >> -- Found deal.II version 8.5.0 at '/Applications/deal.II-8.5-brew.app/Contents/Resources/lib/cmake/deal.II' >> -- Using ASPECT_USE_PETSC = 'OFF' >> -- The C compiler identification is AppleClang 7.3.0.7030031 >> -- The CXX compiler identification is AppleClang 7.3.0.7030031 >> -- Check for working C compiler: /Applications/deal.II.app/Contents/Resources/opt/openmpi-1.6.5/bin/mpicc >> -- Check for working C compiler: /Applications/deal.II.app/Contents/Resources/opt/openmpi-1.6.5/bin/mpicc -- works >> -- Detecting C compiler ABI info >> -- Detecting C compiler ABI info - done >> -- Detecting C compile features >> -- Detecting C compile features - done >> -- Check for working CXX compiler: /Applications/deal.II.app/Contents/Resources/opt/openmpi-1.6.5/bin/mpicxx >> -- Check for working CXX compiler: /Applications/deal.II.app/Contents/Resources/opt/openmpi-1.6.5/bin/mpicxx -- works >> -- Detecting CXX compiler ABI info >> -- Detecting CXX compiler ABI info - done >> -- Detecting CXX compile features >> -- Detecting CXX compile features - done >> -- Setting up test project, see tests/setup_tests.log for details. >> CMake Error at /Applications/CMake.app/Contents/share/cmake-3.10/Modules/CMakeTestCXXCompiler.cmake:45 (message): >> The C++ compiler >> >> "/Applications/deal.II-8.5-brew.app/Contents/Resources/brew/bin/mpicxx" >> >> is not able to compile a simple test program. >> >> It fails with the following output: >> >> Change Dir: /Users/noahhammond/src/aspect/build_deal.ii.app/tests/CMakeFiles/CMakeTmp >> >> Run Build Command:"/usr/bin/make" "cmTC_65999/fast" >> /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_65999.dir/build.make CMakeFiles/cmTC_65999.dir/build >> Building CXX object CMakeFiles/cmTC_65999.dir/testCXXCompiler.cxx.o >> /Applications/deal.II-8.5-brew.app/Contents/Resources/brew/bin/mpicxx -o CMakeFiles/cmTC_65999.dir/testCXXCompiler.cxx.o -c /Users/noahhammond/src/aspect/build_deal.ii.app/tests/CMakeFiles/CMakeTmp/testCXXCompiler.cxx >> make[1]: *** [CMakeFiles/cmTC_65999.dir/testCXXCompiler.cxx.o] Illegal instruction: 4 >> make: *** [cmTC_65999/fast] Error 2 >> >> >> >> >> CMake will not be able to correctly generate this project. >> Call Stack (most recent call first): >> CMakeLists.txt:19 (PROJECT) >> >> >> CMake Error at CMakeLists.txt:178 (MESSAGE): >> ERROR: Test project could not be configured. >> >> >> -- Configuring incomplete, errors occurred! >> >> > > > _______________________________________________ > CIG-MC mailing list > CIG-MC at geodynamics.org > http://lists.geodynamics.org/cgi-bin/mailman/listinfo/cig-mc > > _______________________________________________ > CIG-MC mailing list > CIG-MC at geodynamics.org > http://lists.geodynamics.org/cgi-bin/mailman/listinfo/cig-mc -------------- next part -------------- An HTML attachment was scrubbed... URL: From jbnaliboff at ucdavis.edu Sat Nov 4 11:01:20 2017 From: jbnaliboff at ucdavis.edu (John Naliboff) Date: Sat, 4 Nov 2017 11:01:20 -0700 Subject: [CIG-MC] Aspect installation error In-Reply-To: References: <0A1D5D5E-93D8-4EB4-AED0-80EA2A222865@ucdavis.edu> Message-ID: <33DE1E6B-5B3A-44FB-BEC0-44B97EFD13F0@ucdavis.edu> Hi again, Noah, apologies - I got installation question emails mixed up and didn’t realize you are in fact using the mac deal.II app. A couple of thought on the compiler issues: >>> bash-3.2$ /Applications/CMake.app/Contents/bin/cmake \ >>> > -D DEAL_II_DIR=/Applications/deal.II.app/Contents/Resources \ >>> > -D CMAKE_C_COMPILER="mpicc" \ >>> > -D CMAKE_CXX_COMPILER="mpicxx" \ >>> > -D CMAKE_CXX_FLAGS="-g -O3 -std=c++11" \ >>> > -D CMAKE_C_FLAGS="-g -O3" \ >>> > ../ There should be no need to specify all of these flags when using the deal.II app. My procedure for compiling ASPECT on my mac is as follows: 1. Open a terminal and cd to the aspect directory 2. Initiate the deal.II app via the command: /Applications/deal.II-8.5-brew.app/Contents/Resources/bin/./dealii-terminal 3. Compile with “cmake .” (Debug) or “cmake -DCMAKE_BUILD_TYPE=Release .” (optimized). The key part is initiating the dealii-terminal, which loads all the required flags you specified above. For example, here are the defaults for mpicc, cmake and $DEAL_II_DIR initiated through the deal.II app: bash-3.2$ echo $DEAL_II_DIR /Applications/deal.II-8.5-brew.app/Contents/Resources bash-3.2$ which mpicc /Applications/deal.II-8.5-brew.app/Contents/Resources/brew/bin/mpicc bash-3.2$ which cmake /Applications/deal.II-8.5-brew.app/Contents/Resources/brew/bin/cmake bash-3.2$ I suspect the compiler flags you specified are not pointing to the correct compilers. Cheers, John ************************************************* John Naliboff Assistant Project Scientist, CIG Earth & Planetary Sciences Dept., UC Davis > On Nov 4, 2017, at 8:28 AM, John Naliboff wrote: > > Hi all, > > Max - did you get all of the packages to install successfully with Candi on your mac? I tried to install everything from scratch a ways back (> 1 year?) on my mac with no success. Fantastic if candi is working well on the more recent Mac OS. > > Noah - the quickest way to install ASPECT on your mac is via the deal.II mac “app” package that comes with all of ASPECT’s dependencies pre-built. For detailed instructions, see: https://github.com/dealii/dealii/wiki/MacOSX > > If you run into additional installation trouble, I recommend emailing the ASPECT developer email list: aspect-devel at geodynamics.org > > Hope this helps. > > Cheers, > John > > ************************************************* > John Naliboff > Assistant Project Scientist, CIG > Earth & Planetary Sciences Dept., UC Davis > > > >> On Nov 3, 2017, at 8:06 PM, Maxwell Rudolph > wrote: >> >> Noah, >> I have not tried to install aspect and deal.ii using the method in that document but it is now more than two years out of date. A lot has happened in deal.ii and aspect development in this time. In particular, there is now candi. I was able to install trilinos, p4est, deal.ii and aspect very easily on my mac. Hope this helps. >> >> Max >> >> On Fri, Nov 3, 2017 at 4:43 PM, Hiroaki Matsui > wrote: >> Dear Hammond, >> >> Thank you for asking the installation problem. >> >> I made the instruction with Deal II v8.2.1 and I also meet the same problem by using deal II v8.5. >> Then, this document becomes outdated instruction. >> >> I am solving this problem, and I also ask if anyone have already install the latest ASPECT with the latest deal ii. on the mailing list. >> >> Have a good weekend, >> Hiro. >> >>> 2017/11/03 12:53、Hammond, Noah > のメール: >>> >>> Hello, I have been following your document on how to install ASPECT on Mac OS X. I ran into an error with compiling Aspect and I was wondering if you could help. >>> >>> I am using Mac OS X El Capitan, 10.11.6. >>> >>> After installing Cmake and Deal.II I ran into an error Configuring aspect. It looks like there is a problem with the C compiler but I will include the error message below. I am not very experienced with Cmake so any help would be appreciated. Thanks in advance. Below is the error message: >>> >>> bash-3.2$ /Applications/CMake.app/Contents/bin/cmake \ >>> > -D DEAL_II_DIR=/Applications/deal.II.app/Contents/Resources \ >>> > -D CMAKE_C_COMPILER="mpicc" \ >>> > -D CMAKE_CXX_COMPILER="mpicxx" \ >>> > -D CMAKE_CXX_FLAGS="-g -O3 -std=c++11" \ >>> > -D CMAKE_C_FLAGS="-g -O3" \ >>> > ../ >>> -- ==================================================== >>> -- ============ Configuring ASPECT ==================== >>> -- ==================================================== >>> -- Found deal.II version 8.5.0 at '/Applications/deal.II-8.5-brew.app/Contents/Resources/lib/cmake/deal.II' >>> -- Using ASPECT_USE_PETSC = 'OFF' >>> -- The C compiler identification is AppleClang 7.3.0.7030031 >>> -- The CXX compiler identification is AppleClang 7.3.0.7030031 >>> -- Check for working C compiler: /Applications/deal.II.app/Contents/Resources/opt/openmpi-1.6.5/bin/mpicc >>> -- Check for working C compiler: /Applications/deal.II.app/Contents/Resources/opt/openmpi-1.6.5/bin/mpicc -- works >>> -- Detecting C compiler ABI info >>> -- Detecting C compiler ABI info - done >>> -- Detecting C compile features >>> -- Detecting C compile features - done >>> -- Check for working CXX compiler: /Applications/deal.II.app/Contents/Resources/opt/openmpi-1.6.5/bin/mpicxx >>> -- Check for working CXX compiler: /Applications/deal.II.app/Contents/Resources/opt/openmpi-1.6.5/bin/mpicxx -- works >>> -- Detecting CXX compiler ABI info >>> -- Detecting CXX compiler ABI info - done >>> -- Detecting CXX compile features >>> -- Detecting CXX compile features - done >>> -- Setting up test project, see tests/setup_tests.log for details. >>> CMake Error at /Applications/CMake.app/Contents/share/cmake-3.10/Modules/CMakeTestCXXCompiler.cmake:45 (message): >>> The C++ compiler >>> >>> "/Applications/deal.II-8.5-brew.app/Contents/Resources/brew/bin/mpicxx" >>> >>> is not able to compile a simple test program. >>> >>> It fails with the following output: >>> >>> Change Dir: /Users/noahhammond/src/aspect/build_deal.ii.app/tests/CMakeFiles/CMakeTmp >>> >>> Run Build Command:"/usr/bin/make" "cmTC_65999/fast" >>> /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_65999.dir/build.make CMakeFiles/cmTC_65999.dir/build >>> Building CXX object CMakeFiles/cmTC_65999.dir/testCXXCompiler.cxx.o >>> /Applications/deal.II-8.5-brew.app/Contents/Resources/brew/bin/mpicxx -o CMakeFiles/cmTC_65999.dir/testCXXCompiler.cxx.o -c /Users/noahhammond/src/aspect/build_deal.ii.app/tests/CMakeFiles/CMakeTmp/testCXXCompiler.cxx >>> make[1]: *** [CMakeFiles/cmTC_65999.dir/testCXXCompiler.cxx.o] Illegal instruction: 4 >>> make: *** [cmTC_65999/fast] Error 2 >>> >>> >>> >>> >>> CMake will not be able to correctly generate this project. >>> Call Stack (most recent call first): >>> CMakeLists.txt:19 (PROJECT) >>> >>> >>> CMake Error at CMakeLists.txt:178 (MESSAGE): >>> ERROR: Test project could not be configured. >>> >>> >>> -- Configuring incomplete, errors occurred! >>> >>> >> >> >> _______________________________________________ >> CIG-MC mailing list >> CIG-MC at geodynamics.org >> http://lists.geodynamics.org/cgi-bin/mailman/listinfo/cig-mc >> >> _______________________________________________ >> CIG-MC mailing list >> CIG-MC at geodynamics.org >> http://lists.geodynamics.org/cgi-bin/mailman/listinfo/cig-mc > -------------- next part -------------- An HTML attachment was scrubbed... URL: From maxrudolph at ucdavis.edu Sat Nov 4 11:12:43 2017 From: maxrudolph at ucdavis.edu (Maxwell Rudolph) Date: Sat, 4 Nov 2017 11:12:43 -0700 Subject: [CIG-MC] Aspect installation error In-Reply-To: References: <0A1D5D5E-93D8-4EB4-AED0-80EA2A222865@ucdavis.edu> Message-ID: Yes, I did use candi successfully. Due to the lack of standardized package management on os x, there is no guarantee that it would work for someone else. I use fink which probably puts me in the minority of mac users. I used openmpi and fink-installed gcc-7. On Sat, Nov 4, 2017 at 8:28 AM, John Naliboff wrote: > Hi all, > > Max - did you get all of the packages to install successfully with Candi > on your mac? I tried to install everything from scratch a ways back (> 1 > year?) on my mac with no success. Fantastic if candi is working well on the > more recent Mac OS. > > Noah - the quickest way to install ASPECT on your mac is via the deal.II > mac “app” package that comes with all of ASPECT’s dependencies pre-built. > For detailed instructions, see: https://github.com/dealii/ > dealii/wiki/MacOSX > > If you run into additional installation trouble, I recommend emailing the > ASPECT developer email list: aspect-devel at geodynamics.org > > Hope this helps. > > Cheers, > John > > ************************************************* > John Naliboff > Assistant Project Scientist, CIG > Earth & Planetary Sciences Dept., UC Davis > > > > On Nov 3, 2017, at 8:06 PM, Maxwell Rudolph > wrote: > > Noah, > I have not tried to install aspect and deal.ii using the method in that > document but it is now more than two years out of date. A lot has happened > in deal.ii and aspect development in this time. In particular, there is now > candi. I was able to install trilinos, p4est, deal.ii and aspect very > easily on my mac. Hope this helps. > > Max > > On Fri, Nov 3, 2017 at 4:43 PM, Hiroaki Matsui > wrote: > >> Dear Hammond, >> >> Thank you for asking the installation problem. >> >> I made the instruction with Deal II v8.2.1 and I also meet the same >> problem by using deal II v8.5. >> Then, this document becomes outdated instruction. >> >> I am solving this problem, and I also ask if anyone have already install >> the latest ASPECT with the latest deal ii. on the mailing list. >> >> Have a good weekend, >> Hiro. >> >> 2017/11/03 12:53、Hammond, Noah のメール: >> >> Hello, I have been following your document >> >> on how to install ASPECT on Mac OS X. I ran into an error with compiling >> Aspect and I was wondering if you could help. >> >> I am using Mac OS X El Capitan, 10.11.6. >> >> After installing Cmake and Deal.II I ran into an error Configuring >> aspect. It looks like there is a problem with the C compiler but I will >> include the error message below. I am not very experienced with Cmake so >> any help would be appreciated. Thanks in advance. Below is the error >> message: >> >> bash-3.2$ /Applications/CMake.app/Contents/bin/cmake \ >> > -D DEAL_II_DIR=/Applications/deal.II.app/Contents/Resources \ >> > -D CMAKE_C_COMPILER="mpicc" \ >> > -D CMAKE_CXX_COMPILER="mpicxx" \ >> > -D CMAKE_CXX_FLAGS="-g -O3 -std=c++11" \ >> > -D CMAKE_C_FLAGS="-g -O3" \ >> > ../ >> -- ==================================================== >> -- ============ Configuring ASPECT ==================== >> -- ==================================================== >> -- Found deal.II version 8.5.0 at '/Applications/deal.II-8.5-bre >> w.app/Contents/Resources/lib/cmake/deal.II' >> -- Using ASPECT_USE_PETSC = 'OFF' >> -- The C compiler identification is AppleClang 7.3.0.7030031 >> -- The CXX compiler identification is AppleClang 7.3.0.7030031 >> -- Check for working C compiler: /Applications/deal.II.app/Cont >> ents/Resources/opt/openmpi-1.6.5/bin/mpicc >> -- Check for working C compiler: /Applications/deal.II.app/Cont >> ents/Resources/opt/openmpi-1.6.5/bin/mpicc -- works >> -- Detecting C compiler ABI info >> -- Detecting C compiler ABI info - done >> -- Detecting C compile features >> -- Detecting C compile features - done >> -- Check for working CXX compiler: /Applications/deal.II.app/Cont >> ents/Resources/opt/openmpi-1.6.5/bin/mpicxx >> -- Check for working CXX compiler: /Applications/deal.II.app/Cont >> ents/Resources/opt/openmpi-1.6.5/bin/mpicxx -- works >> -- Detecting CXX compiler ABI info >> -- Detecting CXX compiler ABI info - done >> -- Detecting CXX compile features >> -- Detecting CXX compile features - done >> -- Setting up test project, see tests/setup_tests.log for details. >> CMake Error at /Applications/CMake.app/Contents/share/cmake-3.10/Modules/CMakeTestCXXCompiler.cmake:45 >> (message): >> The C++ compiler >> >> "/Applications/deal.II-8.5-brew.app/Contents/Resources/brew/ >> bin/mpicxx" >> >> is not able to compile a simple test program. >> >> It fails with the following output: >> >> Change Dir: /Users/noahhammond/src/aspect/ >> build_deal.ii.app/tests/CMakeFiles/CMakeTmp >> >> Run Build Command:"/usr/bin/make" "cmTC_65999/fast" >> /Applications/Xcode.app/Contents/Developer/usr/bin/make -f >> CMakeFiles/cmTC_65999.dir/build.make CMakeFiles/cmTC_65999.dir/build >> Building CXX object CMakeFiles/cmTC_65999.dir/testCXXCompiler.cxx.o >> /Applications/deal.II-8.5-brew.app/Contents/Resources/brew/bin/mpicxx >> -o CMakeFiles/cmTC_65999.dir/testCXXCompiler.cxx.o -c >> /Users/noahhammond/src/aspect/build_deal.ii.app/tests/CMakeF >> iles/CMakeTmp/testCXXCompiler.cxx >> make[1]: *** [CMakeFiles/cmTC_65999.dir/testCXXCompiler.cxx.o] >> Illegal instruction: 4 >> make: *** [cmTC_65999/fast] Error 2 >> >> >> >> >> CMake will not be able to correctly generate this project. >> Call Stack (most recent call first): >> CMakeLists.txt:19 (PROJECT) >> >> >> CMake Error at CMakeLists.txt:178 (MESSAGE): >> ERROR: Test project could not be configured. >> >> >> -- Configuring incomplete, errors occurred! >> >> >> >> >> >> _______________________________________________ >> CIG-MC mailing list >> CIG-MC at geodynamics.org >> http://lists.geodynamics.org/cgi-bin/mailman/listinfo/cig-mc >> > > _______________________________________________ > CIG-MC mailing list > CIG-MC at geodynamics.org > http://lists.geodynamics.org/cgi-bin/mailman/listinfo/cig-mc > > > > _______________________________________________ > CIG-MC mailing list > CIG-MC at geodynamics.org > http://lists.geodynamics.org/cgi-bin/mailman/listinfo/cig-mc > -------------- next part -------------- An HTML attachment was scrubbed... URL: From hrmatsui at ucdavis.edu Mon Nov 6 14:14:15 2017 From: hrmatsui at ucdavis.edu (Hiroaki Matsui) Date: Mon, 6 Nov 2017 14:14:15 -0800 Subject: [CIG-MC] Aspect installation error In-Reply-To: <0A1D5D5E-93D8-4EB4-AED0-80EA2A222865@ucdavis.edu> References: <0A1D5D5E-93D8-4EB4-AED0-80EA2A222865@ucdavis.edu> Message-ID: <9D880A69-8E96-4D1D-A467-AFCC24A8E027@ucdavis.edu> Hi, John and Max, I just found that I did not get your replies because I did not subscribed the CIG-MC mailing list. John suggested to ask it on the ASPECT-development ML, so I will send the question to the ASPECT mailing list. Hiro. > 2017/11/03 16:43、Hiroaki Matsui のメール: > > Dear Hammond, > > Thank you for asking the installation problem. > > I made the instruction with Deal II v8.2.1 and I also meet the same problem by using deal II v8.5. > Then, this document becomes outdated instruction. > > I am solving this problem, and I also ask if anyone have already install the latest ASPECT with the latest deal ii. on the mailing list. > > Have a good weekend, > Hiro. > >> 2017/11/03 12:53、Hammond, Noah > のメール: >> >> Hello, I have been following your document on how to install ASPECT on Mac OS X. I ran into an error with compiling Aspect and I was wondering if you could help. >> >> I am using Mac OS X El Capitan, 10.11.6. >> >> After installing Cmake and Deal.II I ran into an error Configuring aspect. It looks like there is a problem with the C compiler but I will include the error message below. I am not very experienced with Cmake so any help would be appreciated. Thanks in advance. Below is the error message: >> >> bash-3.2$ /Applications/CMake.app/Contents/bin/cmake \ >> > -D DEAL_II_DIR=/Applications/deal.II.app/Contents/Resources \ >> > -D CMAKE_C_COMPILER="mpicc" \ >> > -D CMAKE_CXX_COMPILER="mpicxx" \ >> > -D CMAKE_CXX_FLAGS="-g -O3 -std=c++11" \ >> > -D CMAKE_C_FLAGS="-g -O3" \ >> > ../ >> -- ==================================================== >> -- ============ Configuring ASPECT ==================== >> -- ==================================================== >> -- Found deal.II version 8.5.0 at '/Applications/deal.II-8.5-brew.app/Contents/Resources/lib/cmake/deal.II' >> -- Using ASPECT_USE_PETSC = 'OFF' >> -- The C compiler identification is AppleClang 7.3.0.7030031 >> -- The CXX compiler identification is AppleClang 7.3.0.7030031 >> -- Check for working C compiler: /Applications/deal.II.app/Contents/Resources/opt/openmpi-1.6.5/bin/mpicc >> -- Check for working C compiler: /Applications/deal.II.app/Contents/Resources/opt/openmpi-1.6.5/bin/mpicc -- works >> -- Detecting C compiler ABI info >> -- Detecting C compiler ABI info - done >> -- Detecting C compile features >> -- Detecting C compile features - done >> -- Check for working CXX compiler: /Applications/deal.II.app/Contents/Resources/opt/openmpi-1.6.5/bin/mpicxx >> -- Check for working CXX compiler: /Applications/deal.II.app/Contents/Resources/opt/openmpi-1.6.5/bin/mpicxx -- works >> -- Detecting CXX compiler ABI info >> -- Detecting CXX compiler ABI info - done >> -- Detecting CXX compile features >> -- Detecting CXX compile features - done >> -- Setting up test project, see tests/setup_tests.log for details. >> CMake Error at /Applications/CMake.app/Contents/share/cmake-3.10/Modules/CMakeTestCXXCompiler.cmake:45 (message): >> The C++ compiler >> >> "/Applications/deal.II-8.5-brew.app/Contents/Resources/brew/bin/mpicxx" >> >> is not able to compile a simple test program. >> >> It fails with the following output: >> >> Change Dir: /Users/noahhammond/src/aspect/build_deal.ii.app/tests/CMakeFiles/CMakeTmp >> >> Run Build Command:"/usr/bin/make" "cmTC_65999/fast" >> /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_65999.dir/build.make CMakeFiles/cmTC_65999.dir/build >> Building CXX object CMakeFiles/cmTC_65999.dir/testCXXCompiler.cxx.o >> /Applications/deal.II-8.5-brew.app/Contents/Resources/brew/bin/mpicxx -o CMakeFiles/cmTC_65999.dir/testCXXCompiler.cxx.o -c /Users/noahhammond/src/aspect/build_deal.ii.app/tests/CMakeFiles/CMakeTmp/testCXXCompiler.cxx >> make[1]: *** [CMakeFiles/cmTC_65999.dir/testCXXCompiler.cxx.o] Illegal instruction: 4 >> make: *** [cmTC_65999/fast] Error 2 >> >> >> >> >> CMake will not be able to correctly generate this project. >> Call Stack (most recent call first): >> CMakeLists.txt:19 (PROJECT) >> >> >> CMake Error at CMakeLists.txt:178 (MESSAGE): >> ERROR: Test project could not be configured. >> >> >> -- Configuring incomplete, errors occurred! >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: