Skip to content

Commit

Permalink
adds initial OpenMP support for viscoelastic simulations
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpeter committed Apr 27, 2023
1 parent 60641bf commit 9c700a1
Show file tree
Hide file tree
Showing 9 changed files with 466 additions and 171 deletions.
14 changes: 14 additions & 0 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,20 @@ GENCODE_80 = -gencode=arch=compute_80,code=\"sm_80,compute_80\"
@COND_CUDA_FALSE@NVCC_FLAGS = $(MPI_INCLUDES) $(COND_MPI_CPPFLAGS)
@COND_CUDA_FALSE@NVCCLINK = $(NVCC) $(NVCC_FLAGS)

#######################################
####
#### OpenMP
#### with configure: ./configure --enable-openmp OMP_FCFLAGS=".." OMP_LIB=..
####
#######################################

@COND_OMP_TRUE@OPENMP = yes
@COND_OMP_FALSE@OPENMP = no

@COND_OMP_TRUE@FCFLAGS += $(FC_DEFINE)USE_OPENMP @OMP_FCFLAGS@

@COND_OMP_TRUE@OMP_LIBS = $(OMP_LIB)
@COND_OMP_FALSE@OMP_LIBS =

#######################################
####
Expand Down
Loading

0 comments on commit 9c700a1

Please sign in to comment.