Sherman-Morrison/independent_test_harness/Makefile.icc_mkl_threaded.cpu
Francois Coppens f7dbe3ddd8 - Sync and Async version
- OpenMP version
- PP defines cleanup
2022-11-08 15:35:25 +01:00

19 lines
484 B
Makefile

CC=icc
CFLAGS=-std=c99 -O3 -Wall -g -xCORE-AVX2 -DUSE_OMP -qopenmp
INCLUDE=-I$(MKLROOT)/include
LDFLAGS=-L/usr/lib/x86_64-linux-gnu/hdf5/serial -lhdf5 -lhdf5_hl
LDFLAGS+=-L$(MKLROOT)/lib/intel64 -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -liomp5 -lpthread -lm -ldl
all: clean test_icc_mkl_threaded
test_icc_mkl_threaded: kernels.o test.o helper.o
$(CC) -o $@ $^ $(LDFLAGS)
%.o : %.c
$(CC) $(CFLAGS) $(INCLUDE) -c -o $@ $<
clean:
rm -rf *.o *genmod* test_icc_mkl_threaded