Repository 'maker'
hg clone https://toolshed.g2.bx.psu.edu/repos/iuc/maker

Changeset 6:d46d803ca6cc (2021-01-05)
Previous changeset 5:5201ec38c01f (2020-12-28) Next changeset 7:7bac6f5fcfa2 (2021-06-22)
Commit message:
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/maker commit 6ba137e32243a6de1fb83a7d4b88f9283db5dd01"
modified:
maker.xml
added:
readme.rst
b
diff -r 5201ec38c01f -r d46d803ca6cc maker.xml
--- a/maker.xml Mon Dec 28 23:19:04 2020 +0000
+++ b/maker.xml Tue Jan 05 09:00:59 2021 +0000
[
@@ -39,9 +39,9 @@
             export AUGUSTUS_CONFIG_PATH=`pwd`/augustus_dir/ &&
         #end if
 
-        MPI_CMD="mpiexec -n \${GALAXY_SLOTS:-4}" &&
-        if [ "\$MAKER_NO_MPI" != "1" ]; then
-            MPI_CMD="";
+        MPI_CMD="" &&
+        if [ "\$MAKER_MPI" == "1" ]; then
+            MPI_CMD="mpiexec -n \${GALAXY_SLOTS:-4}";
         fi &&
 
         \${MPI_CMD} maker --ignore_nfs_tmp maker_opts.ctl maker_bopts.ctl maker_exe.ctl < /dev/null
b
diff -r 5201ec38c01f -r d46d803ca6cc readme.rst
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/readme.rst Tue Jan 05 09:00:59 2021 +0000
b
@@ -0,0 +1,7 @@
+Running with MPI
+================
+
+By default, Maker will only run on 1 cpu. If you want to parallelize on any number
+of cpus and nodes, you can enable MPI by setting the ``MAKER_MPI`` variable to 1
+in the job destination, and setting ``GALAXY_SLOTS`` to the desired number of cores
+(see https://galaxyproject.org/admin/config/galaxy_slots/#galaxy_slots-for-server-admins).