Lines Matching refs:configure
20 There are many example `configure` scripts at `config/examples/*.py`. These cover a
28 If there is a system for which we do not yet have such a `configure` script and/or
38 $ ./configure --with-cc=gcc --with-cxx=0 --with-fc=0 --download-f2cblaslapack --download-mpich
44 …$ ./configure --prefix=/home/user/soft/petsc-install --with-cc=gcc --with-cxx=0 --with-fc=0 --down…
49 via `$PATH` - configure does not require any additional options.
52 $ ./configure
58 $ ./configure --with-blaslapack-dir=/usr/local/blaslapack --with-mpi-dir=/usr/local/mpich
64 …$ ./configure --with-blaslapack-dir=/usr/local/blaslapack --with-cc=/usr/local/mpich/bin/mpicc --w…
70 The configure options `CFLAGS`, `CXXFLAGS`, and `FFLAGS` overwrite most of the flags that PETSc wou…
71 …OPTFLAGS`, `CXXOPTFLAGS`, and `FOPTFLAGS` (these work for all uses of ./configure). The same holds…
85 …$ ./configure --with-cc=gcc --with-fc=gfortran --with-cxx=g++ --with-clanguage=cxx --download-fbla…
93 …$ ./configure PETSC_ARCH=linux-gnu --with-cc=gcc --with-cxx=g++ --with-fc=gfortran --download-mpich
95 …$ ./configure PETSC_ARCH=linux-gnu-intel --with-cc=icc --with-cxx=icpc --with-fc=ifort --download-…
104 If no compilers are specified - configure will automatically look for available MPI or
116 $ ./configure --with-cc=gcc --with-cxx=g++ --with-fc=gfortran
124 $ ./configure --with-cc=mpicc --with-cxx=mpicxx --with-fc=mpif90
130 $ ./configure --with-mpi-dir=/opt/mpich2-1.1
140 $ ./configure --with-fc=0
146 $ ./configure --with-cxx=0
149 `configure` defaults to building PETSc in debug mode. One can switch to optimized
150 mode with the `configure` option `--with-debugging=0` (we suggest using a different
161 $ ./configure --with-cc=gcc --with-cxx=g++ --with-fc=gfortran --with-debugging=0 COPTFLAGS='-O3 -ma…
165 `configure` cannot detect compiler libraries for certain set of compilers. In this
169 $ ./configure --LIBS='-ldl /usr/lib/libm.a'
202 PETSc `configure` has the ability to download and install these {ref}`external packages
204 `configure` can detect and use them.
208 will trigger `configure` to print the URLs of all the packages you must download. You
210 and then point `configure` to these copies of the packages instead of trying to download
214 <doc_externalsoftware>` with `configure`.
220 $ ./configure --download-fblaslapack --download-mpich
223 - `--download-PACKAGENAME=/path/to/PACKAGENAME.tar.gz`: If `configure` cannot
227 configure with this option. `configure` will proceed to install this package and then
228 configure PETSc with it:
231 $ ./configure --download-mpich=/home/petsc/mpich2-1.0.4p1.tar.gz
235 specify its location to `configure` (it will attempt to detect and include relevant
240 $ ./configure --with-mpi-dir=/home/petsc/software/mpich2-1.0.4p1
246 these two options to specify the package to `configure`. For example:
249 …$ ./configure --with-superlu-include=/home/petsc/software/superlu/include --with-superlu-lib=/home…
255 …$ ./configure --with-parmetis-include=/sandbox/balay/parmetis/include --with-parmetis-lib="-L/sand…
261 …$ ./configure --with-parmetis-include=/sandbox/balay/parmetis/include --with-parmetis-lib=[/sandbo…
265 - Run `./configure --help` to get the list of {ref}`external packages
286 These packages provide some basic numeric kernels used by PETSc. `configure` will
288 should not need to provide any information about [BLAS/LAPACK] in the `configure`
291 One can use the following options to let `configure` download/install [BLAS/LAPACK]
297 $ ./configure --download-fblaslapack
303 $ ./configure --download-f2cblaslapack
309 $ ./configure --with-blaslapack-lib=libsunperf.a
310 $ ./configure --with-blas-lib=libblas.a --with-lapack-lib=liblapack.a
311 $ ./configure --with-blaslapack-dir=/soft/com/packages/intel/13/079/mkl
317 to PETSc `configure` with `--with-blaslapack-dir=$MKLROOT` or
320 [MKL Link Line Advisor] and specify with the `configure` option
338 the following options to let PETSc's `configure` download and install MPI.
343 $ ./configure --download-mpich
351 $ ./configure --download-openmpi
359 $ ./configure --with-mpi=0
365 $ ./configure --with-cc=mpicc --with-cxx=mpicxx --with-fc=mpif90
373 $ ./configure --with-cc=mpigcc --with-cxx=mpigxx --with-fc=mpif90
379 $ ./configure --with-cc=mpiicc --with-cxx=mpiicpc --with-fc=mpiifort
386 $ ./configure --with-cc=mpicc --with-cxx=mpicxx --with-fc=mpif90
392 $ ./configure --with-cc=mpiicx --with-cxx=mpiicpx --with-fc=mpiifx
399 $ ./configure --with-cc=mpicc --with-cxx=mpicxx --with-fc=mpif90
406 $ ./configure --with-cc=cc --with-cxx=CC --with-fc=ftn
413 $ ./configure --with-mpi-dir=/absolute/path/to/mpi/install/directory
428 $ ./configure --with-cc=mpicc --with-fc=mpif90 --with-cxx=mpicxx
449 …, before running PETSc `configure`. If you do not set this environmental variables you will get me…
452 UNABLE to EXECUTE BINARIES for config/configure.py
455 to submit jobs you will need to configure using/configure.py with the additional option --with-batc…
524 $ ./configure --prefix=/home/userid/my-petsc-install --some-other-options
533 One should never run `configure` or make on any package using root access. **Do so at
545 $ ./configure --prefix=/opt/petsc/my-root-petsc-install --some-other-options
553 $ ./configure --prefix=/opt/petsc/my-root-petsc-install
563 Specify a different `--prefix` location for each configure of different options - at
564 configure time. For example:
567 $ ./configure --prefix=/opt/petsc/petsc-3.24.0-mpich --with-mpi-dir=/opt/mpich
570 $ ./configure --prefix=/opt/petsc/petsc-3.24.0-openmpi --with-mpi-dir=/opt/openmpi
582 $ ./configure
585 $ ./configure --some-optimization-options
592 $ ./configure PETSC_ARCH=arch-debug
594 $ ./configure --some-optimization-options PETSC_ARCH=arch-opt
598 If not provided `configure` will generate a unique value automatically (for in-place non
602 $ ./configure
604 $ ./configure --with-debugging=0
614 `configure` option `--with-batch`. **On such systems the make check option will not
626 configure with the package.
635 …ed to be installed separately (perhaps with MPI). Now use tau_cc.sh as compiler to PETSc configure:
639 $ ./configure CC=/home/balay/soft/linux64/tau-2.20.3/x86_64/bin/tau_cc.sh --with-fc=0 PETSC_ARCH=ar…
646 …ge of GPU's and certain accelerator libraries, however some require additional `configure` options.
675 In most cases you need only pass the configure option `--with-cuda`; check
686 In most cases you need only pass the configure option `--download-kokkos` `--download-kokkos-kernel…
709 Run `configure` with `--download-viennacl`; check
722 $ ./configure --with-cc=emcc --with-cxx=0 --with-fc=0 --with-ranlib=emranlib --with-ar=emar --with…