瀏覽代碼

Detect smpirun

Samuel Thibault 10 年之前
父節點
當前提交
607046d79b
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      configure.ac

+ 5 - 0
configure.ac

@@ -1775,6 +1775,9 @@ if test ! -x $mpicc_path; then
 	use_mpi=no
 else
 	use_mpi=yes
+	if test x$enable_simgrid = xyes ; then
+		AC_PATH_PROG(smpirun_path, smpirun, [no], [])
+	fi
 fi
 
 AC_MSG_CHECKING(mpicc path)
@@ -2516,6 +2519,7 @@ AC_CONFIG_COMMANDS([executable-scripts], [
   chmod +x tools/starpu_paje_draw_histogram
   chmod +x tools/starpu_paje_state_stats
   chmod +x tools/starpu_paje_summary
+  chmod +x tools/starpu_smpirun
   chmod +x doc/doxygen/doxygen_filter.sh
 ])
 
@@ -2558,6 +2562,7 @@ AC_OUTPUT([
 	tools/starpu_paje_draw_histogram
 	tools/starpu_paje_state_stats
 	tools/starpu_paje_summary
+	tools/starpu_smpirun
 	socl/Makefile
 	socl/src/Makefile
 	socl/examples/Makefile