AstroAccelerateOrg / astro-accelerate

AstroAccelerate is a many-core accelerated software package for processing time-domain radio-astronomy data.
https://www.oerc.ox.ac.uk/research-groups/astroaccelerate/
GNU General Public License v3.0
43 stars 16 forks source link

master does not build using supplied Makefile #249

Closed wesarmour closed 3 years ago

wesarmour commented 3 years ago

Issue Summary A omp flag is missing in the Makefile

Steps to Reproduce

  1. git clone
  2. make

Expected Outcome

Change the following in the Makefile:

ifeq ($(cache),off) NVCCFLAGS := $(INC) ${INCLUDE} -g -lineinfo -Xcompiler -O3 -lm --use_fast_math\ --ptxas-options=-v -Xptxas -dlcm=cg $(GENCODE_FLAGS) else NVCCFLAGS := $(INC) ${INCLUDE} -g -lineinfo -Xcompiler -O3 -lm --use_fast_math\ --ptxas-options=-v -lcuda -lcudart -lcurand -lcufft -lcudadevrt -Xptxas -dlcm=cg $(GENCODE_FLAGS) endif

to

ifeq ($(cache),off) NVCCFLAGS := $(INC) ${INCLUDE} -g -lineinfo -Xcompiler -O3 -lm --use_fast_math\ --ptxas-options=-v -Xptxas -dlcm=cg $(GENCODE_FLAGS) -Xcompiler -fopenmp else NVCCFLAGS := $(INC) ${INCLUDE} -g -lineinfo -Xcompiler -O3 -lm --use_fast_math\ --ptxas-options=-v -lcuda -lcudart -lcurand -lcufft -lcudadevrt -Xptxas -dlcm=cg $(GENCODE_FLAGS) -Xcompiler -fopenmp endif

Actual Outcome

Code that will compile

Configuration

base configuration

Notes

None