... | @@ -13,15 +13,15 @@ git clone http://gitlab.onelab.info/gmsh/gmsh |
... | @@ -13,15 +13,15 @@ git clone http://gitlab.onelab.info/gmsh/gmsh |
|
cd gmsh
|
|
cd gmsh
|
|
mkdir lib
|
|
mkdir lib
|
|
cd lib
|
|
cd lib
|
|
|
|
cmake -DDEFAULT=0 -DENABLE_PARSER=1 -DENABLE_POST=1 -DENABLE_BUILD_LIB=1 ..
|
|
# Notes:
|
|
# Notes:
|
|
# * replace -DENABLE_BUILD_LIB=1 with -DENABLE_BUILD_SHARED=1 to build a shared library
|
|
# * replace -DENABLE_BUILD_LIB=1 with -DENABLE_BUILD_SHARED=1 to build a shared library
|
|
# * if you don't have root access, add -DCMAKE_INSTALL_PREFIX=path-to-install
|
|
# * if you don't have root access, add -DCMAKE_INSTALL_PREFIX=path-to-install
|
|
# * for a list of all available configuration options see http://getdp.info/doc/texinfo/getdp.html#Compiling-the-source-code
|
|
# * for a list of all available configuration options see http://getdp.info/doc/texinfo/getdp.html#Compiling-the-source-code
|
|
cmake -DDEFAULT=0 -DENABLE_PARSER=1 -DENABLE_POST=1 -DENABLE_BUILD_LIB=1 ..
|
|
|
|
make lib
|
|
make lib
|
|
|
|
sudo make install/fast
|
|
# Notes:
|
|
# Notes:
|
|
# * remove "sudo" if you don't have root access
|
|
# * remove "sudo" if you don't have root access
|
|
sudo make install/fast
|
|
|
|
cd ../..
|
|
cd ../..
|
|
```
|
|
```
|
|
|
|
|
... | @@ -37,11 +37,11 @@ tar zxvf petsc-3.7.4.tar.gz |
... | @@ -37,11 +37,11 @@ tar zxvf petsc-3.7.4.tar.gz |
|
cd petsc-3.7.4
|
|
cd petsc-3.7.4
|
|
export PETSC_DIR=$PWD
|
|
export PETSC_DIR=$PWD
|
|
export PETSC_ARCH=real_mumps_seq
|
|
export PETSC_ARCH=real_mumps_seq
|
|
|
|
./configure --with-clanguage=cxx --with-debugging=0 --with-mpi=0 --with-mpiuni-fortran-binding=0 --download-mumps=yes --with-mumps-serial --with-shared-libraries=0 --with-x=0 --with-ssl=0 --with-scalar-type=real
|
|
# Notes:
|
|
# Notes:
|
|
# * if your compilers are not found, specify them explicitly: e.g. --FC=/path/to/f90 for the fortran compiler
|
|
# * if your compilers are not found, specify them explicitly: e.g. --FC=/path/to/f90 for the fortran compiler
|
|
# * if the BLAS/LAPACK libraries are not installed in standard locations, you will have to specify their location by hand with options --with-blas-lib=/path/to/libblas and --with-lapack-lib=/path/to/liblapack
|
|
# * if the BLAS/LAPACK libraries are not installed in standard locations, you will have to specify their location by hand with options --with-blas-lib=/path/to/libblas and --with-lapack-lib=/path/to/liblapack
|
|
# * as a last recourse (but this will severely degrade performance), you can use generic non-optimized BLAS/LAPACK libraries by using the option --download-fblaslapack=1
|
|
# * as a last recourse (but this will severely degrade performance), you can use generic non-optimized BLAS/LAPACK libraries by using the option --download-fblaslapack=1
|
|
./configure --with-clanguage=cxx --with-debugging=0 --with-mpi=0 --with-mpiuni-fortran-binding=0 --download-mumps=yes --with-mumps-serial --with-shared-libraries=0 --with-x=0 --with-ssl=0 --with-scalar-type=real
|
|
|
|
make
|
|
make
|
|
cd ..
|
|
cd ..
|
|
```
|
|
```
|
... | @@ -86,9 +86,9 @@ For MPI (distributed memory capable) GetDP versions you need to compile the MPI |
... | @@ -86,9 +86,9 @@ For MPI (distributed memory capable) GetDP versions you need to compile the MPI |
|
cd petsc-3.7.4
|
|
cd petsc-3.7.4
|
|
export PETSC_DIR=$PWD
|
|
export PETSC_DIR=$PWD
|
|
export PETSC_ARCH=mpi_mumps_complex
|
|
export PETSC_ARCH=mpi_mumps_complex
|
|
|
|
./configure --with-debugging=0 --with-clanguage=cxx --with-shared-libraries=0 --with-x=0 --download-mumps=1 --download-metis=1 --download-parmetis=1 --download-scalapack=1 --download-blacs=1 --with-scalar-type=complex
|
|
# Notes:
|
|
# Notes:
|
|
# * remove option --with-scalar-type=complex to build in real arithmetic
|
|
# * remove option --with-scalar-type=complex to build in real arithmetic
|
|
./configure --with-debugging=0 --with-clanguage=cxx --with-shared-libraries=0 --with-x=0 --download-mumps=1 --download-metis=1 --download-parmetis=1 --download-scalapack=1 --download-blacs=1 --with-scalar-type=complex
|
|
|
|
make
|
|
make
|
|
cd ..
|
|
cd ..
|
|
```
|
|
```
|
... | | ... | |