first commit
This commit is contained in:
commit
8f515cb9e6
6 changed files with 54 additions and 0 deletions
38
Makefile
Normal file
38
Makefile
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
################################################################################
|
||||
# This is the unified Makefile for the hybrid code #
|
||||
################################################################################
|
||||
|
||||
RUNDIR ?= phigrape
|
||||
ETICS_LMAX ?= 2
|
||||
ETICS_NMAX ?= 10
|
||||
GPUARCH ?= sm_75
|
||||
CUDAHOME ?= /usr/local/cuda
|
||||
MPIHOME ?= /home/meiron/local
|
||||
OPTIMIZATION ?= 3
|
||||
CFLAGS = -mcmodel=large
|
||||
CXXFLAGS = $(CFLAGS)
|
||||
CUDAFLAGS =
|
||||
|
||||
CXX ?= g++
|
||||
MPICC ?= mpicc
|
||||
NVCC ?= $(CUDAHOME)/bin/nvcc
|
||||
|
||||
export
|
||||
|
||||
all:
|
||||
make -C etics/src library
|
||||
make -C yebisu
|
||||
make -C grapite
|
||||
make -C $(RUNDIR)
|
||||
|
||||
yebisu:
|
||||
make -C yebisu
|
||||
make -C $(RUNDIR) yebisu
|
||||
|
||||
clean:
|
||||
make -C etics/src clean
|
||||
make -C yebisu clean
|
||||
make -C grapite clean
|
||||
make -C $(RUNDIR) clean
|
||||
|
||||
.PHONY: all yebisu clean
|
||||
Loading…
Add table
Add a link
Reference in a new issue