-
Notifications
You must be signed in to change notification settings - Fork 97
Compilation tips
Norihiro Watanabe edited this page Aug 25, 2015
·
2 revisions
-1. create a symlink on the same directory level where your OGS5-source directory is located to let them automatically be found by CMake:
ln -s /opt/ogs/ogs5-libs Libs
-2. configure MKL run this:
cmake ../sources/ -DOGS_FEM_MKL=ON -DPARALLEL_USE_OPENMP=ON -DMKL_DIR=/opt/intel/mkl -DOGS_DONT_USE_VTK=ON
export MODULEPATH=/global/apps/modulefiles:$MODULEPATH;
#module load openmpi/gcc/1.8.2-1_gcc_4.8.1_CentOS6
#module load petsc/3.5_maint_gcc_4.8.1-3_openmpi_gcc_1.8.2-1_gcc_4.8.1_CentOS6_envinf
module unload openmpi/gcc/1.8.2-1_gcc_4.8.1_CentOS6
module load petsc/3.4.4-1_gcc_4.8.1_openmpi_1.7.3
module load lapack/3.5.0-1_gcc_4.8.1
mkdir build_petsc; cd build_petsc
cmake -DOGS_FEM_PETSC=ON -DCMAKE_BUILD_TYPE=Release -DOGS_DONT_USE_QT=ON ../../sources; cmake ../../sources
We provide detailed changes for each OpenGeoSys release.
Be sure to read the CONTRIBUTING guidelines before reporting a new issue or open a pull request.
For general information about OpenGeoSys visit the following places: