Closed gvallee closed 6 years ago
For now, I am using a handwritten Makefile to compile mpi_omp_hello.c
CC=clang CFLAGS=-fopenmp MPI_COMPILE_FLAGS=$(shell mpicc --showme:compile) MPI_LINK_FLAGS=$(shell mpicc --showme:link) all: mpi_omp_hello mpi_omp_hello: mpi_omp_hello.c $(CC) -I/home/gvh/projects/OMPIX/codes/install/llvm/include \ -I/home/gvh/projects/OMPIX/install/pmix/include \ -I/home/gvh/projects/OMPIX/install/moc/include \ -L/home/gvh/projects/OMPIX/install/pmix/lib \ -L/home/gvh/projects/OMPIX/install/moc/lib \ $(MPI_COMPILE_FLAGS) $(CFLAGS) $(MPI_LINK_FLAGS) \ -o mpi_omp_hello mpi_omp_hello.c -lpmix -lmoc clean: rm -f mpi_omp_hello
For now, I am using a handwritten Makefile to compile mpi_omp_hello.c