瀏覽代碼

Allow MPI Fortran for nmad too

Alexandre DENIS 5 年之前
父節點
當前提交
76663c8cbb
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      configure.ac

+ 1 - 1
configure.ac

@@ -2544,7 +2544,7 @@ if test "x$enable_build_fortran_requested" = "xyes" ; then
 	fi
 	if test "x$enable_build_fortran" = "xyes" ; then
 		AC_DEFINE(STARPU_HAVE_FC, [1], [Define this if a Fortran compiler is available])
-		if test x$build_mpi_lib = xyes -o x$build_mpi_master_slave = xyes ; then
+		if test x$build_mpi_lib = xyes -o x$build_nmad_lib = xyes -o x$build_mpi_master_slave = xyes ; then
 			#Check MPIFORT
 			if test x$enable_simgrid = xyes ; then
 				DEFAULT_MPIFORT=smpifort