-
-
Save dpo/7564488 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ./configure --with-debugging=0 --with-shared-libraries=1 --prefix=/usr/local/Cellar/petsc/3.4.3/arch-darwin-c-opt | |
=============================================================================== | |
Configuring PETSc to compile on your system | |
=============================================================================== | |
=============================================================================== WARNING! Compiling PETSc with no debugging, this should only be done for timing and production runs. All development should be done when configured using --with-debugging=1 =============================================================================== TESTING: alternateConfigureLibrary from PETSc.packages.mpi4py(config/PETSc/packages/mpi4py.py:49) Compilers: | |
C Compiler: mpicc -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O | |
C++ Compiler: mpicxx -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O -fPIC | |
Fortran Compiler: mpif90 -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -O | |
Linkers: | |
Shared linker: mpicc -dynamiclib -single_module -undefined dynamic_lookup -multiply_defined suppress -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O | |
Dynamic linker: mpicc -dynamiclib -single_module -undefined dynamic_lookup -multiply_defined suppress -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O | |
BLAS/LAPACK: -llapack -lblas | |
MPI: | |
Includes: -I/usr/local/Cellar/open-mpi/1.7.3/include | |
X: | |
Includes: -I/opt/X11/include | |
Library: -L/opt/X11/lib -lX11 | |
cmake: | |
Arch: | |
pthread: | |
Library: -lpthread | |
valgrind: | |
PETSc: | |
PETSC_ARCH: arch-darwin-c-opt | |
PETSC_DIR: /private/tmp/petsc-3.4.3 | |
Clanguage: C | |
Scalar type: real | |
Precision: double | |
Memory alignment: 16 | |
shared libraries: enabled | |
dynamic loading: disabled | |
xxx=========================================================================xxx | |
Configure stage complete. Now build PETSc libraries with (cmake build): | |
make PETSC_DIR=/private/tmp/petsc-3.4.3 PETSC_ARCH=arch-darwin-c-opt all | |
or (experimental with python): | |
PETSC_DIR=/private/tmp/petsc-3.4.3 PETSC_ARCH=arch-darwin-c-opt ./config/builder.py | |
xxx=========================================================================xxx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment