diff macros.xml @ 7:7c2d82d61e9e draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'6da8a2296bb256e47852690cf2221a7c943d8adc\n'-dirty
author rdvelazquez
date Tue, 04 Dec 2018 10:37:46 -0500
parents cbbfae2e2a6b
children bb26edad3102
line wrap: on
line diff
--- a/macros.xml	Mon Dec 03 14:59:41 2018 -0500
+++ b/macros.xml	Tue Dec 04 10:37:46 2018 -0500
@@ -18,4 +18,8 @@
 export HYPHY_PATH=`dirname \$HYPHY` &&
 export HYPHY_LIB=`readlink -f \$HYPHY_PATH/../lib/hyphy` &&
 cat tool_params | HYPHYMP LIBPATH=\$HYPHY_LIB ]]></token>
+  <token name="@HYPHYMPI_INVOCATION@"><![CDATA[export HYPHYMPI=`which HYPHYMPI` &&
+export HYPHYMPI_PATH=`dirname \$HYPHYMPI` &&
+export HYPHYMPI_LIB=`readlink -f \$HYPHYMPI_PATH/../lib/hyphy` &&
+cat tool_params | mpirun -np \${GALAXY_SLOTS:-1} HYPHYMPI LIBPATH=\$HYPHYMPI_LIB ]]></token>
 </macros>