Skip to content

Instantly share code, notes, and snippets.

@dpo
Created November 20, 2013 14:54
Show Gist options
  • Save dpo/7564488 to your computer and use it in GitHub Desktop.
Save dpo/7564488 to your computer and use it in GitHub Desktop.
$ ./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