problems with trilinos/petsc when using dorsal on OS X 10.6.8
Dear,
I am trying to install FEniCS using dorsal on a Mac with OS X 10.6.8. Unfortunately we are having trouble with either the Trilinos or the PETSc phase of the installation. Some of the errors I get are below. Does someone know what to do?
thanks,
Sander
Setting up testing support ...
-- CTEST_DROP_
-- CTEST_DROP_
-- CTEST_PROJECT_
-- CTEST_DROP_
-- CTEST_TRIGGER_
-- CTEST_DROP_
Configuring individual enabled Trilinos packages ...
***
*** WARNING: There were no packages configured so no libraries or tests/examples will be built!
***
Exporting library dependencies ...
Finished configuring Trilinos!
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/
Install the project...
-- Install configuration: "RELEASE"
-- Installing: /usr/local/
-- Installing: /usr/local/
-- Installing: /usr/local/
-- Installing: /usr/local/
-- Up-to-date: /usr/local/
-- Installing: /usr/local/
[1;32mFetching petsc-3.2-p6[0m
[1;32mUnpacking petsc-3.2-p6[0m
[1;32mBuilding petsc-3.2-p6[0m
patching file src/mat/
Reversed (or previously applied) patch detected! Skipping patch.
3 out of 3 hunks ignored -- saving rejects to file src/mat/
patching file src/mat/
Reversed (or previously applied) patch detected! Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file src/mat/
File "./config/
framework = config.
File "/Users/
self.
File "/Users/
self.
File "/Users/
config.
File "/Users/
utilityObj = self.framework.
File "/Users/
config = self.getChild(
File "/Users/
config.setup()
File "/Users/
logger.
File "/Users/
args.
File "/Users/
self.
File "/Users/
self.
File "/Users/
help.
File "/Users/
self.
File "/Users/
value.
File "/Users/
raise ValueError('Invalid directory: '+str(dir)+' for key '+str(self.key))
=======
=======
*******
-------
Invalid directory: /Users/
*******
makefile:14: darwin10.
/Users/
/Users/
make: *** No rule to make target `/Users/
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Dorsal Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Try to remove the dorsal_build_dir folder in the Trilinos source directory (usually in ~/Work/
Revision history for this message
|
#2 |
I gave that a try, but now I get the following error with Trilinos:
[ 53%] Building CXX object packages/
Linking CXX shared library libamesos.dylib
[ 53%] Building CXX object packages/
Undefined symbols for architecture x86_64:
"_cholmod_start", referenced from:
_
(maybe you meant: _amesos_
"_cholmod_
_
(maybe you meant: _amesos_
"_cholmod_
_
"_cholmod_
_
(maybe you meant: _amesos_
"_cholmod_
_
"_cholmod_
_
"_cholmod_
_
(maybe you meant: _amesos_
"_SuiteSparse
_umfpack_tic in libumfpack.
_umfpack_toc in libumfpack.
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[2]: *** [packages/
make[1]: *** [packages/
make[1]: *** Waiting for unfinished jobs....
[ 53%] Building CXX object packages/
[ 53%] Building CXX object packages/
[ 53%] Building CXX object packages/
[ 53%] Building CXX object packages/
[ 53%] Building CXX object packages/
[ 53%] Building CXX object packages/
[ 54%] Building CXX object packages/
[ 54%] Building CXX object packages/
[ 54%] Building CXX object packages/
[ 54%] Building CXX object packages/
[ 54%] Building CXX object packages/
[ 54%] Building CXX object packages/
[ 54%] Building CXX object packages/
[ 54%] Building CXX object packages/
[ 54%] Building CXX object packages/
[ 54%] Building CXX object packages/
[ 54%] Building CXX object packages/
[ 54%] Building CXX object packages/
[ 55%] Building CXX object packages/
Linking CXX shared library libthyracore.dylib
[ 55%] Built target thyracore
make: *** [all] Error 2
Failure with exit status: 2
Exit message: There was a problem building trilinos-
Revision history for this message
|
#3 |
This looks like a bug in Trilinos. I have made a patch and added it in the development version of Dorsal. Make sure you remove the complete Trilinos source folder before you try it out.
Revision history for this message
|
#4 |
Unfortunately I am getting the same error messages as before stopping at
[ 55%] Built target thyracore
make: *** [all] Error 2
Failure with exit status: 2
Exit message: There was a problem building trilinos-
Revision history for this message
|
#5 |
Did you pull the latest development version of Dorsal? If you did, then please make sure that the patch was applied successfully by looking at the output from Dorsal. It should be near the top, looking something like this:
...
Fetching trilinos-
Unpacking trilinos-
Building trilinos-
patching file cmake/TPLs/
patching file packages/
Also look at the dorsal_
Revision history for this message
|
#6 |
I pulled the latest development version of Dorsal. This is the output:
make: `../libmetis.a' is up to date.
make: `../libparmetis.a' is up to date.
Fetching trilinos-
Unpacking trilinos-
Building trilinos-
patching file cmake/TPLs/
patching file packages/
When looking at the dorsal_
TPL_UMFPACK_
Revision history for this message
|
#7 |
Looks good except for the TPL_UMFPACK_
TPL_UMFPACK_
The last part, containing libSuiteSparse.
Revision history for this message
|
#8 |
I changed the line manually to:
TPL_UMFPACK_
and I now obtain the following errors:
-- Up-to-date: /Users/
-- Up-to-date: /Users/
-- Up-to-date: /Users/
-- Up-to-date: /Users/
-- Installing: /Users/
-- Up-to-date: /Users/
-- Up-to-date: /Users/
Fetching ParMetis-3.2.0
Unpacking ParMetis-3.2.0
Building ParMetis-3.2.0
Substitution loop at -e line 1, <> line 4.
Failure with exit status: 12
Exit message: There was a problem in build setup for ParMetis-3.2.0.
This is what cmake/TPLs/
if (APPLE)
TRIBITS_
REQUIRED_
REQUIRED_
)
else()
TRIBITS_
REQUIRED_
REQUIRED_
)
endif()
Revision history for this message
|
#9 |
This is strange. Now it suddenly fails to build ParMETIS, which built fine earlier according to post #6. The error message is not much to work with either. Maybe you should just start over by removing everything in ~/Work/FEniCS.
The FindTPLUMFPACK.
Revision history for this message
|
#10 |
I removed everything in ~/Work/FEniCS and ran ./dorsal again. I got some error messages so I manually changed
TPL_UMFPACK_
as you mentioned before. I now end up with the following error messages like I started out with in the beginning (see below). I don't think it would make much sense for me to delete the dorsal_build_dir folder in the Trilinos source directory because then I'd be deleting again the dorsal_
Probing the environment ...
-- Setting CMAKE_BUILD_
-- CMAKE_BUILD_
-- The C compiler identification is GNU 4.6.3
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /Users/
-- Check for working C compiler: /Users/
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- CMAKE_C_
-- The CXX compiler identification is GNU 4.6.3
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Check for working CXX compiler: /Users/
-- Check for working CXX compiler: /Users/
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- CMAKE_CXX_
-- The Fortran compiler identification is GNU
-- Check for working Fortran compiler: /opt/local/
-- Check for working Fortran compiler: /opt/local/
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Checking whether /opt/local/
-- Checking whether /opt/local/
-- Trilinos_
-- CMAKE_HOST_
-- Looking for C++ include sys/time.h
-- Looking for C++ include sys/time.h - found
-- Looking for C++ include time.h
-- Looking for C++ include time.h - found
-- Looking for C++ include stdint.h
-- Looking for C++ include stdint.h - found
-- Looking for C++ include inttypes.h
-- Looking for C++ include inttypes.h - found
-- Found Perl: /opt/local/bin/perl (found version "5.12.4")
-- Fortran name mangling: LOWER UNDER
-- Detecting Fortran/C Interface
-- Detecting Fortran/C Interface - Found GLOBAL and MODULE mangling
-- Verifying Fortran/CXX Compiler Compatibility
-- Verifying Fortran/CXX Compiler Compatibility - Success
-- Performing Test MATH_LIBRARY_
-- Performing Test MATH_LIBRARY_
-- Performing Test FINITE_
-- Performing Test FINITE_
-- Performing Test FINITE_
-- Performing Test FINITE_
-- Performing Test FINITE_
-- Performing Test FINITE_
-- Performing Test FINITE_
-- Performing Test FINITE_
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
Getting information for all enabled TPLs ...
-- Processing enabled TPL: Pthread
-- Attempting to enable tentatively enabled TPL 'Pthread' ...
-- Searching for library 'pthread' ...
-- Found Pthread TPL library: /usr/lib/
-- TPL_Pthread_
-- Found Pthread TPL header: /usr/include/
-- Found Pthread TPL header path: /usr/include
-- TPL_Pthread_
-- Attempt to enable tentatively enabled TPL 'Pthread' passed!
Setting up testing support ...
-- CTEST_DROP_
-- CTEST_DROP_
-- CTEST_PROJECT_
-- CTEST_DROP_
-- CTEST_TRIGGER_
-- CTEST_DROP_
Configuring individual enabled Trilinos packages ...
***
*** WARNING: There were no packages configured so no libraries or tests/examples will be built!
***
Exporting library dependencies ...
Finished configuring Trilinos!
-- Configuring done
-- Generating done
CMake Warning:
Manually-
UMFPACK_
-- Build files have been written to: /Users/
Install the project...
-- Install configuration: "RELEASE"
-- Installing: /usr/local/
-- Installing: /usr/local/
-- Installing: /usr/local/
-- Installing: /usr/local/
-- Installing: /usr/local/
-- Installing: /usr/local/
Fetching petsc-3.2-p6
--2012-08-20 15:16:21-- http://
Resolving ftp.mcs.anl.gov (ftp.mcs.
Connecting to ftp.mcs.anl.gov (ftp.mcs.
HTTP request sent, awaiting response... 200 OK
Length: 19641667 (19M) [application/
Saving to: ‘petsc-
100%[==
2012-08-20 15:17:34 (263 KB/s) - ‘petsc-
Unpacking petsc-3.2-p6
Building petsc-3.2-p6
patching file src/mat/
patching file src/mat/
File "./config/
framework = config.
File "/Users/
self.
File "/Users/
self.
File "/Users/
config.
File "/Users/
utilityObj = self.framework.
File "/Users/
config = self.getChild(
File "/Users/
config.setup()
File "/Users/
logger.
File "/Users/
args.
File "/Users/
self.
File "/Users/
self.
File "/Users/
help.
File "/Users/
self.
File "/Users/
value.
File "/Users/
raise ValueError('Invalid directory: '+str(dir)+' for key '+str(self.key))
=======
=======
*******
-------
Invalid directory: /Users/
*******
makefile:14: darwin10.
/Users/
/Users/
make: *** No rule to make target `/Users/
Failure with exit status: 2
Exit message: There was a problem building petsc-3.2-p6.
Revision history for this message
|
#11 |
You can try to add
-D TPL_UMFPACK_
or maybe
-D UMFPACK_
to CONFOPTS in dorsal/
Revision history for this message
|
#12 |
I'd suggest that Dorsal be updated to Trilinos 10.12.2. Better debugging current releases than old releases.
Revision history for this message
|
#13 |
I tried 10.12.2 yesterday and it had the same problem with UMFPACK so I didn't update. Anyway, I agree and I have updated dorsal-dev to 10.12.2 now.
Revision history for this message
|
#14 |
Sander, you will probably need some quotes around the libraries, like this:
CONFOPTS=
Revision history for this message
|
#15 |
I now have the new version of Dorsal and Trilinos 10.12.2 is now trying to be installed. I added
CONFOPTS=
and when that did not work
CONFOPTS=
to CONFOPTS in dorsal/
Using the first option ....TPL_UMFPACK.... I end with:
[ 48%] Building CXX object packages/
[ 48%] Building CXX object packages/
[ 48%] Building CXX object packages/
[ 48%] Building CXX object packages/
[ 48%] Building CXX object packages/
[ 48%] Building CXX object packages/
[ 49%] Building CXX object packages/
[ 49%] Building CXX object packages/
[ 49%] Building CXX object packages/
Linking CXX shared library libthyracore.dylib
[ 49%] Built target thyracore
make: *** [all] Error 2
Failure with exit status: 2
Exit message: There was a problem building trilinos-
Using the second option ....UMFPACK.... I end with:
[ 56%] Building CXX object packages/
[ 56%] Building CXX object packages/
[ 56%] Building CXX object packages/
Linking CXX shared library libamesos.dylib
Undefined symbols for architecture x86_64:
"_cholmod_start", referenced from:
_
(maybe you meant: _amesos_
"_cholmod_
_
(maybe you meant: _amesos_
"_cholmod_
_
"_cholmod_
_
(maybe you meant: _amesos_
"_cholmod_
_
"_cholmod_
_
"_cholmod_
_
(maybe you meant: _amesos_
"_SuiteSparse
_umfpack_tic in libumfpack.
_umfpack_toc in libumfpack.
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[2]: *** [packages/
make[1]: *** [packages/
make[1]: *** Waiting for unfinished jobs....
[ 56%] Building CXX object packages/
[ 56%] Building CXX object packages/
[ 57%] Building CXX object packages/
[ 57%] Building CXX object packages/
[ 57%] Building CXX object packages/
Linking CXX shared library libthyracore.dylib
[ 57%] Built target thyracore
make: *** [all] Error 2
Failure with exit status: 2
Exit message: There was a problem building trilinos-
Revision history for this message
|
#16 |
It looks like TPL_UMFPACK_
Note that Trilinos is optional and you can comment it out in your platform file if you don't need it. If your are unsure, then you probably won't need it.
Revision history for this message
|
#17 |
What I did now is basically start from new. I initially tried to install FEniCS using the developer dorsal giving all the problems above. Now I downloaded dorsal-
TPL_UMFPACK_
Now when I run the installation I run into the errors below. Any idea?
Installing ccache-swig
Installing /Users/
Installing /Users/
Installation complete
Fetching ParMetis-3.2.0
Unpacking ParMetis-3.2.0
Building ParMetis-3.2.0
make: `../libmetis.a' is up to date.
make: `../libparmetis.a' is up to date.
Fetching trilinos-
Unpacking trilinos-
Building trilinos-
Configuring Trilinos build directory
-- TRILINOS_HOME_DIR = /Users/
-- TRILINOS_BUILD_DIR = /Users/
-- CMAKE_VERSION = 2.8.8
-- Found PythonInterp: /opt/local/
PYTHON_EXECUTABLE = /opt/local/
Setting up major user options ...
Reading the list of extra repositories from /Users/
Reading the list of packages from /Users/
-- Trilinos_
Reading the list of TPLs from /Users/
-- Trilinos_
Processing Dependencies.cmake files and buliding internal dependencies graph
-- Trilinos_
-- Tentatively enabling TPL 'Pthread'
-- Tentatively enabling TPL 'BinUtils'
Dumping the XML dependencies file /Users/
Dumping the HTML dependencies webpage file /Users/
Dumping the CDash XML dependencies file /Users/
***
*** Warning: Setting Trilinos_
***
Explicitly enabled packages on input (by user): PyTrilinos 1
Explicitly enabled SE packages on input (by user): PyTrilinos 1
Explicitly disabled packages on input (by user or by default): Amesos2 ForTrilinos 2
Explicitly disabled SE packages on input (by user or by default): Amesos2 ForTrilinos 2
Explicitly enabled TPLs on input (by user): Pthread MPI UMFPACK 3
Explicitly disabled TPLs on input (by user or by default): BinUtils 1
Disabling all packages that have a required dependency on disabled TPLs and optional package TPL support based on TPL_ENABLE_
Disabling forward required packages and optional intra-package support that have a dependancy on disabled packages Trilinos_
Enabling all optional packages for current set of enabled packages because Trilinos_
-- Setting Trilinos_
-- Setting Trilinos_
-- Setting Trilinos_
-- Setting Trilinos_
-- Setting Trilinos_
-- Setting Trilinos_
-- Setting Trilinos_
-- Setting Trilinos_
-- Setting Trilinos_
-- Setting Trilinos_
-- Setting Trilinos_
-- Setting Trilinos_
-- Setting Trilinos_
-- Setting Trilinos_
-- Setting Trilinos_
-- Setting Trilinos_
-- Setting Trilinos_
-- Setting Trilinos_
-- Setting Trilinos_
-- Setting Trilinos_
-- Setting Trilinos_
-- Setting Trilinos_
-- Setting Trilinos_
-- Setting Trilinos_
Enabling all remaining required packages for the current set of enabled packages ...
Enabling all optional intra-package enables <PACKAGE>
-- Setting Kokkos_
-- Setting Tpetra_
-- Setting EpetraExt_
-- Setting EpetraExt_
-- Setting Isorropia_
-- Setting Isorropia_
-- Setting Isorropia_
-- Setting AztecOO_
-- Setting Galeri_
-- Setting Amesos_
-- Setting Amesos_
-- Setting Amesos_
-- Setting Ifpack_
-- Setting Ifpack_
-- Setting Ifpack_
-- Setting Ifpack_
-- Setting ML_ENABLE_
-- Setting ML_ENABLE_Epetra=ON since Trilinos_
-- Setting ML_ENABLE_Zoltan=ON since Trilinos_
-- Setting ML_ENABLE_Galeri=ON since Trilinos_
-- Setting ML_ENABLE_Amesos=ON since Trilinos_
-- Setting ML_ENABLE_Ifpack=ON since Trilinos_
-- Setting ML_ENABLE_
-- Setting ML_ENABLE_
-- Setting ML_ENABLE_
-- Setting Belos_ENABLE_
-- Setting Belos_ENABLE_
-- Setting Belos_ENABLE_
-- Setting Belos_ENABLE_
-- Setting Belos_ENABLE_
-- Setting Belos_ENABLE_ML=ON since Trilinos_
-- Setting Stratimikos_
-- Setting Stratimikos_
-- Setting Stratimikos_
-- Setting Stratimikos_
-- Setting Stratimikos_
-- Setting Stratimikos_
-- Setting Stratimikos_
-- Setting Anasazi_
-- Setting Anasazi_
-- Setting Anasazi_
-- Setting Anasazi_
-- Setting Anasazi_
-- Setting Anasazi_
-- Setting Anasazi_
-- Setting Anasazi_
-- Setting Anasazi_
-- Setting Anasazi_
-- Setting NOX_ENABLE_
-- Setting NOX_ENABLE_
-- Setting NOX_ENABLE_
-- Setting NOX_ENABLE_
-- Setting NOX_ENABLE_
-- Setting NOX_ENABLE_
-- Setting NOX_ENABLE_
-- Setting NOX_ENABLE_
-- Setting NOX_ENABLE_ML=ON since Trilinos_
-- Setting NOX_ENABLE_Belos=ON since Trilinos_
-- Setting NOX_ENABLE_
-- Setting NOX_ENABLE_
-- Setting NOX_ENABLE_
-- Setting PyTrilinos_
-- Setting PyTrilinos_
-- Setting PyTrilinos_
-- Setting PyTrilinos_
-- Setting PyTrilinos_
-- Setting PyTrilinos_
-- Setting PyTrilinos_
-- Setting PyTrilinos_
-- Setting PyTrilinos_
-- Setting PyTrilinos_
-- Setting PyTrilinos_
-- Setting PyTrilinos_
-- Setting PyTrilinos_
-- Setting PyTrilinos_
Enabling all remaining required TPLs for current set of enabled packages ...
-- Setting TPL_ENABLE_BLAS=ON because it is required by the enabled package Teuchos
-- Setting TPL_ENABLE_
Enabling all optional package TPL support for currently enabled TPLs ...
-- Setting Teuchos_
-- Setting ThreadPool_
-- Setting ThreadPool_
-- Setting Epetra_
-- Setting Zoltan_
-- Setting Tpetra_
-- Setting EpetraExt_
-- Setting Amesos_
-- Setting ML_ENABLE_MPI=ON since TPL_ENABLE_MPI=ON
-- Setting NOX_ENABLE_
-- Setting NOX_ENABLE_BLAS=ON since TPL_ENABLE_BLAS=ON
Enabling TPLs based on <PACKAGE>
Set cache entries for optional packages/TPLs and tests/examples for packages actually enabled ...
Final set of enabled packages: Teuchos ThreadPool RTOp Kokkos Epetra Zoltan Triutils Tpetra EpetraExt Isorropia Pliris AztecOO Galeri Amesos Ifpack Komplex ML Belos Stratimikos Anasazi NOX PyTrilinos 22
Final set of enabled SE packages: Teuchos ThreadPool RTOp Kokkos Epetra Zoltan Triutils Tpetra EpetraExt ThyraCore ThyraEpetraAdapters ThyraEpetraExtA
Final set of non-enabled packages: TrilinosFramework Sacado Shards GlobiPack Thyra OptiPack Amesos2 Pamgen SEACAS Ifpack2 FEI Teko TriKota Intrepid STK Phalanx Moertel TrilinosCouplings Rythmos MOOCHO Stokhos Piro Sundance CTrilinos ForTrilinos Didasko Optika Mesquite 28
Final set of non-enabled SE packages: TrilinosFramework Sacado Shards GlobiPack ThyraTpetraAdapters Thyra OptiPack Amesos2 Pamgen SEACASExodus SEACASExodus_for SEACASNemesis SEACASIoss SEACASChaco SEACASAprepro_lib SEACASSupes SEACASSuplib SEACASAlgebra SEACASAprepro SEACASConjoin SEACASEjoin SEACASEpu SEACASExo2mat SEACASExodiff SEACASExomatlab SEACASExotxt SEACASGjoin SEACASGrope SEACASMapvar SEACASMapvar-kd SEACASMat2exo SEACASNemslice SEACASNemspread SEACASTxtexo SEACAS Ifpack2 FEI Teko TriKota Intrepid STK Phalanx Moertel TrilinosCouplings Rythmos MOOCHO Stokhos Piro Sundance CTrilinos ForTrilinos Didasko Optika Mesquite 54
Final set of enabled TPLs: Pthread MPI BLAS LAPACK UMFPACK 5
Final set of non-enabled TPLs: Peano CUDA Thrust Cusp TBB BinUtils ARPREC QD Boost Scotch METIS ParMETIS PaToH CppUnit ADOLC ADIC TVMET MF ExodusII Nemesis XDMF Netcdf y12m SuperLUDist SuperLUMT SuperLU Zlib MA28 AMD PETSC HYPRE BLACS SCALAPACK MUMPS PARDISO_MKL Oski TAUCS ForUQTK Dakota HIPS HDF5 MATLAB CASK SPARSKIT QT gtest BoostLib OpenNURBS 48
Probing the environment ...
-- CMAKE_BUILD_
-- MPI_USE_
-- Leaving current CMAKE_C_
-- Leaving current CMAKE_CXX_
-- MPI_EXEC=
-- MPI_EXEC=
-- CMAKE_C_
-- CMAKE_CXX_
-- Trilinos_
-- CMAKE_HOST_
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
Getting information for all enabled TPLs ...
-- Processing enabled TPL: Pthread
-- Attempting to enable tentatively enabled TPL 'Pthread' ...
-- TPL_Pthread_
-- TPL_Pthread_
-- Attempt to enable tentatively enabled TPL 'Pthread' passed!
-- Processing enabled TPL: MPI
-- Processing enabled TPL: BLAS
-- TPL_BLAS_
-- TPL_BLAS_
-- Processing enabled TPL: LAPACK
-- TPL_LAPACK_
-- TPL_LAPACK_
-- Processing enabled TPL: UMFPACK
-- TPL_UMFPACK_
-- TPL_UMFPACK_
Setting up testing support ...
-- CTEST_DROP_
-- CTEST_DROP_
-- CTEST_PROJECT_
-- CTEST_DROP_
-- CTEST_TRIGGER_
-- CTEST_DROP_
Configuring individual enabled Trilinos packages ...
Processing enabled package: Teuchos (Libs, )
Processing enabled package: ThreadPool (Libs, )
Processing enabled package: RTOp (Libs, )
Processing enabled package: Kokkos (Libs, )
Processing enabled package: Epetra (Libs, )
Processing enabled package: Zoltan (Libs, )
Processing enabled package: Triutils (Libs, )
Processing enabled package: Tpetra (Libs, )
Processing enabled package: EpetraExt (Libs, )
Processing enabled package: Thyra (Core, EpetraAdapters, EpetraExtAdapters, )
Processing enabled package: Isorropia (Libs, )
Processing enabled package: Pliris (Libs, )
Building the double precision(default) library
Processing enabled package: AztecOO (Libs, )
Processing enabled package: Galeri (Libs, )
Processing enabled package: Amesos (Libs, )
Processing enabled package: Ifpack (Libs, )
Processing enabled package: Komplex (Libs, )
Processing enabled package: ML (Libs, )
Processing enabled package: Belos (Libs, )
Processing enabled package: Stratimikos (Libs, )
Processing enabled package: Anasazi (Libs, )
Processing enabled package: NOX (Libs, )
Processing enabled package: PyTrilinos (Libs, )
-- Found PythonInterp: /opt/local/
-- Enabled PyTrilinos modules:
-- Teuchos;
-- PyTrilinos installation path: /Users/
Exporting library dependencies ...
-- Configuring done
You have changed variables that require your cache to be deleted.
Configure will be re-run and you may have to reset some variables.
The following variables have changed:
CMAKE_C_COMPILER= mpicc
CMAKE_CXX_COMPILER= mpicxx
Configuring Trilinos build directory
-- TRILINOS_HOME_DIR = /Users/
-- TRILINOS_BUILD_DIR = /Users/
-- CMAKE_VERSION = 2.8.8
-- Found PythonInterp: /opt/local/
PYTHON_EXECUTABLE = /opt/local/
Setting up major user options ...
Reading the list of extra repositories from /Users/
Reading the list of packages from /Users/
-- Trilinos_
Reading the list of TPLs from /Users/
-- Trilinos_
Processing Dependencies.cmake files and buliding internal dependencies graph
-- Trilinos_
-- Tentatively enabling TPL 'Pthread'
-- Tentatively enabling TPL 'BinUtils'
Dumping the XML dependencies file /Users/
Dumping the HTML dependencies webpage file /Users/
Dumping the CDash XML dependencies file /Users/
Explicitly enabled packages on input (by user): 0
Explicitly enabled SE packages on input (by user): 0
Explicitly disabled packages on input (by user or by default): Amesos2 ForTrilinos 2
Explicitly disabled SE packages on input (by user or by default): Amesos2 ForTrilinos 2
Explicitly enabled TPLs on input (by user): Pthread BinUtils 2
Explicitly disabled TPLs on input (by user or by default): 0
Disabling all packages that have a required dependency on disabled TPLs and optional package TPL support based on TPL_ENABLE_
Disabling forward required packages and optional intra-package support that have a dependancy on disabled packages Trilinos_
Enabling all optional packages for current set of enabled packages because Trilinos_
Enabling all remaining required packages for the current set of enabled packages ...
Enabling all optional intra-package enables <PACKAGE>
Enabling all remaining required TPLs for current set of enabled packages ...
Enabling all optional package TPL support for currently enabled TPLs ...
Enabling TPLs based on <PACKAGE>
Set cache entries for optional packages/TPLs and tests/examples for packages actually enabled ...
Final set of enabled packages: 0
Final set of enabled SE packages: 0
Final set of non-enabled packages: TrilinosFramework Teuchos ThreadPool Sacado RTOp Kokkos Epetra Zoltan Shards GlobiPack Triutils Tpetra EpetraExt Thyra OptiPack Isorropia Pliris AztecOO Galeri Amesos2 Amesos Pamgen SEACAS Ifpack Komplex ML Belos Ifpack2 Stratimikos FEI Anasazi Teko TriKota Intrepid STK Phalanx NOX Moertel TrilinosCouplings Rythmos MOOCHO Stokhos Piro Sundance CTrilinos ForTrilinos PyTrilinos Didasko Optika Mesquite 50
Final set of non-enabled SE packages: TrilinosFramework Teuchos ThreadPool Sacado RTOp Kokkos Epetra Zoltan Shards GlobiPack Triutils Tpetra EpetraExt ThyraCore ThyraEpetraAdapters ThyraEpetraExtA
Final set of enabled TPLs: Pthread BinUtils 2
Final set of non-enabled TPLs: Peano CUDA Thrust Cusp TBB ARPREC QD MPI BLAS LAPACK Boost Scotch METIS ParMETIS PaToH CppUnit ADOLC ADIC TVMET MF ExodusII Nemesis XDMF Netcdf y12m SuperLUDist SuperLUMT SuperLU Zlib UMFPACK MA28 AMD PETSC HYPRE BLACS SCALAPACK MUMPS PARDISO_MKL Oski TAUCS ForUQTK Dakota HIPS HDF5 MATLAB CASK SPARSKIT QT gtest BoostLib OpenNURBS 51
Probing the environment ...
-- Setting CMAKE_BUILD_
-- CMAKE_BUILD_
-- The C compiler identification is GNU 4.2.1
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/bin/mpicc
-- Check for working C compiler: /usr/bin/mpicc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- CMAKE_C_
-- The CXX compiler identification is GNU 4.2.1
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Check for working CXX compiler: /usr/bin/mpicxx
-- Check for working CXX compiler: /usr/bin/mpicxx -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- CMAKE_CXX_
-- The Fortran compiler identification is GNU
-- Check for working Fortran compiler: /usr/local/
-- Check for working Fortran compiler: /usr/local/
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Checking whether /usr/local/
-- Checking whether /usr/local/
-- Trilinos_
-- CMAKE_HOST_
-- Looking for C++ include sys/time.h
-- Looking for C++ include sys/time.h - found
-- Looking for C++ include time.h
-- Looking for C++ include time.h - found
-- Looking for C++ include stdint.h
-- Looking for C++ include stdint.h - found
-- Looking for C++ include inttypes.h
-- Looking for C++ include inttypes.h - found
-- Found Perl: /opt/local/bin/perl (found version "5.12.4")
-- Warning, cannot automatically determine Fortran mangling.
-- Detecting Fortran/C Interface
-- Detecting Fortran/C Interface - Failed to recognize symbols
-- Verifying Fortran/CXX Compiler Compatibility
CMake Warning (dev) at /opt/local/
No FortranCInterface mangling known for VerifyFortran
Call Stack (most recent call first):
CMakeLists.txt:24 (FortranCInterf
This warning is for project developers. Use -Wno-dev to suppress it.
-- Verifying Fortran/CXX Compiler Compatibility - Failed
CMake Error at /opt/local/
The Fortran compiler:
/usr/
and the CXX compiler:
/usr/bin/mpicxx
failed to compile a simple test project using both languages. The output
was:
Change Dir: /Users/
Run Build Command:
/opt/
/opt/
/usr/bin/make -f CMakeFiles/
/usr/bin/make -f CMakeFiles/
cd /Users/
Scanning dependencies of target VerifyFortran
/usr/bin/make -f CMakeFiles/
make[2]: Nothing to be done for `CMakeFiles/
/usr/bin/make -f CMakeFiles/
/opt/
[ 25%] Building Fortran object CMakeFiles/
/usr/
Linking Fortran static library libVerifyFortran.a
/opt/
/opt/
/usr/bin/ar cr libVerifyFortran.a CMakeFiles/
/usr/bin/ranlib libVerifyFortran.a
/opt/
[ 25%] Built target VerifyFortran
/usr/bin/make -f CMakeFiles/
cd /Users/
Scanning dependencies of target VerifyFortranC
/usr/bin/make -f CMakeFiles/
/opt/
[ 50%] Building C object CMakeFiles/
/usr/bin/mpicc -DVERIFY_CXX -I/Users/
/opt/
[ 75%] Building C object CMakeFiles/
/usr/bin/mpicc -DVERIFY_CXX -I/Users/
/opt/
[100%] Building CXX object CMakeFiles/
/usr/bin/mpicxx -DVERIFY_CXX -I/Users/
Linking CXX executable VerifyFortranC
/opt/
/usr/bin/mpicxx -Wl,-search_
ld: warning: in libVerifyFortran.a, file was built for unsupported file format which is not the architecture being linked (x86_64)
ld: warning: in /usr/local/
ld: warning: in /usr/local/
ld: warning: in /usr/local/
Undefined symbols:
"
_main in main.c.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [VerifyFortranC] Error 1
make[1]: *** [CMakeFiles/
make: *** [all] Error 2
Call Stack (most recent call first):
cmake/
cmake/
CMakeLists.
-- Configuring incomplete, errors occurred!
Failure with exit status: 1
Exit message: There was a problem configuring trilinos-
Revision history for this message
|
#18 |
It looks like you have some problems with the compiler you have installed in /usr/local. It seems to be built for a different architecture than what you are running on.
Besides that, I would recommend to use the development version of Dorsal.
Can you help with this problem?
Provide an answer of your own, or ask Sander Rhebergen for more information if necessary.