Skip to content
This repository has been archived by the owner on May 28, 2020. It is now read-only.

Commit

Permalink
Config example added to top level.
Browse files Browse the repository at this point in the history
  • Loading branch information
OSUmageed committed Jan 27, 2019
1 parent 88be0ce commit e04e844
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions config.mk.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Create a config.mk file in src with the necessary information for your machine.
# Use this example as a template.

PREFIX :=$(MSCRATCH)/hSweep
NVCC :=$(CUDAPATH)/bin/nvcc
MPICXX :=$(MPIPATH)/bin/mpicxx
SOURCEPATH :=$(PREFIX)/src
CC_ICUDAPATH :=$(CUDAPATH)/include
CC_IMPIPATH :=$(MPIPATH)/include
GPU_CC :=35 # Compute Capability
CC_LMPIPATH :=
CC_LCUDAPATH :=
CUDAFLAGS :=-gencode arch=compute_$GPU_CC,code=sm_$GPUCC
CUDAFLAGS :=$(CUDAFLAGS) -restrict --ptxas-options=-v -Wno-deprecated-gpu-targets
CFLAGS :=-O3 --std=c++11 -w
LIBMPI :=-lmpich -lopa -lmpl -lrt -lpthread
LIBCUDA :=-lcudart -lcuda

# Additional PATHS
IPATH :=
LPATH :=$(MPIPATH)/lib $(INTELLIB) $(CUDAPATH)/lib64

# Additional Libs
LIBS :=-lm

0 comments on commit e04e844

Please sign in to comment.