summaryrefslogtreecommitdiff
blob: 0519b5fdebdba99fd4d2a3ef30bd14a7cd2c7599 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- a/interfaces/fftw2x_cdft/makefile	2008-03-11 23:26:26.287984332 +0000
+++ b/interfaces/fftw2x_cdft/makefile	2008-03-13 10:56:44.755095617 +0000
@@ -172,6 +172,15 @@
 endif
 
 
+ifeq ($(mpi),openmpi)
+CS = mpicc
+ifdef mpidir
+_CS = $(mpidir)/bin/$(CS)
+else
+_CS = $(CS)
+endif
+endif
+
 vpath %.c wrappers
 
 $(WRP): %.o: %.c