initial translation is done for spectral solver
This commit is contained in:
parent
b5c630141d
commit
a8f0624849
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
cat README
|
cat README
|
||||||
echo "Building spectral solver with ${FC}"
|
echo "Building spectral solver with ${FC}"
|
||||||
DAMASKVERSION :=$(shell cat ../VERSION)
|
DAMASKVERSION :=$(sh cat ../VERSION)
|
||||||
|
|
||||||
# prepare building directory
|
# prepare building directory
|
||||||
if [ -d build_spectral ] ; then
|
if [ -d build_spectral ] ; then
|
||||||
|
@ -15,14 +15,12 @@ cd build_spectral
|
||||||
# CMake call
|
# CMake call
|
||||||
# PETSC_DIR | PETSC directory
|
# PETSC_DIR | PETSC directory
|
||||||
# HDF5_DIR | HDF5 library (same compiler for DAMASK)
|
# HDF5_DIR | HDF5 library (same compiler for DAMASK)
|
||||||
# DAMASK_ROOT | DAMASK source location
|
|
||||||
# DAMASK_V | DAMASK current revision
|
# DAMASK_V | DAMASK current revision
|
||||||
# CMAKE_BUILD_TYPE | Default set to release (no debugging output)
|
# CMAKE_BUILD_TYPE | Default set to release (no debugging output)
|
||||||
# OPENMP | "ON" will turn on OPENMP support
|
# OPENMP | "ON" will turn on OPENMP support
|
||||||
# OPTIMIZATION | [OFF,DEFENSIVE,AGGRESSIVE,ULTRA]
|
# OPTIMIZATION | [OFF,DEFENSIVE,AGGRESSIVE,ULTRA]
|
||||||
cmake -D PETSC_DIR=${PETSC_DIR} \
|
cmake -D PETSC_DIR=${PETSC_DIR} \
|
||||||
-D HDF5_DIR=${HDF5_DIR} \
|
-D HDF5_DIR=${HDF5_DIR} \
|
||||||
-D DAMASK_ROOT=.. \
|
|
||||||
-D DAMASK_V=${DAMASKVERSION} \
|
-D DAMASK_V=${DAMASKVERSION} \
|
||||||
-D CMAKE_BUILD_TYPE=RELEASE \
|
-D CMAKE_BUILD_TYPE=RELEASE \
|
||||||
-D OPENMP=ON \
|
-D OPENMP=ON \
|
||||||
|
|
Loading…
Reference in New Issue