<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">The issue is that you moved the …/maker/perl directory after initial setup. So when maker runs it can’t find the files, and tries to rebuild the shared objects for C/Perl MPI binding that are missing (compiles on demand).</div><div class=""><br class=""></div><div class="">Solutions (one of the following two options)</div><div class="">1. Install maker as indicated in the INTALL file and then append the path for …/maker/bin/ to the PATH environmental variable in /etc/profile (i.e. export PATH=/usr/local/maker/bin:$PATH).</div><div class="">2. Install maker as indicated in the INTALL file and then soft link the executables in …/maker/bin/ to the location of your choice (i.e. /usr/bin/ or /usr/local/bin/ - this is what homebrew does for example). </div><div class=""><br class=""></div><div class="">Example:</div><div class=""><div class=""><font face="Courier" class="">MacBook-Pro:~ cholt$ ls -al /usr/local/bin/maker</font></div><div class=""><font face="Courier" class="">lrwxr-xr-x 1 cholt admin 32 Oct 25 2015 /usr/local/bin/maker -> ../Cellar/maker/2.31.8/bin/maker</font></div></div><div class=""><br class=""></div><div class="">Notice that the softink in /usr/local/bin/ is pointing to the actual location where homebrew placed the installation. Doing something similar would be better than you trying to break up the installation structure. Basically they move the contents of …/maker/* to /usr/local/Cellar/maker/2.31.8/, then they performed all installation steps there, and then softlinked the executables elsewhere using ‘ln -s'</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">When you install maker, you have to run the setup steps in …/maker/src/. After install, …/maker/bin/ will contain executables and …/maker/perl/ and …/maker/lib/ will contain libraries and shared objects used by those executables. Remember the executables are not binaries, they are scripts, so they need access to the libraries and shared objects used by the scripts. The executables know to look for libraries/files in the installation folder, but if you move them, the @INC search list used by perl will not find them. You can try and manually declare new locations to search in the @INC list using the PERL5LIB environmental variable (but using PERL5LIB is beyond the scope of the maker-devel list and can be investigated using Perl’s own docs).</div><div class=""><br class=""></div><div class="">Also as explained in the homebrew example above, the base directory does not have to be named ‘maker’. You can name it whatever you want. It is just the installation structure within the containing directory that has to be consistent.</div><div class=""><br class=""></div><div class="">Alternatively if you are doing something more complex like a ‘module’ setup using lua based modules just use the prepend_path command to add the .../maker/bin foldert to the environment on demand —></div><div class=""><br class=""></div><div class="">Example:</div><div class=""><br class=""></div><div class=""><font face="Courier" class="">-- -*- lua -*-</font></div><div class=""><div class=""><font face="Courier" class="">help(</font></div><div class=""><font face="Courier" class="">[[</font></div><div class=""><font face="Courier" class="">This module loads the MAKER genome annotation pipeline</font></div><div class=""><font face="Courier" class="">]])</font></div></div><div class=""><font face="Courier" class=""><br class=""></font></div><div class=""><font face="Courier" class="">whatis("Name: MAKER")<br class="">whatis("Version: 2.31.8")<br class="">whatis("Category: Gene Annotation")<br class="">whatis("Keywords: Gene Annotation")<br class="">whatis("URL: <a href="http://www.yandell-lab.org/software/maker.html" class="">http://www.yandell-lab.org/software/maker.html</a>")<br class="">whatis("Description: MAKER is a highly parallelized genome annotation/re-annotation pipeline")<br class=""><br class="">-- Load required modules<br class="">load("openmpi/1.8.4.i", "genemark-ES", "augustus", "snap", "exonerate", "ncbi-blast+", "RepeatMasker")<br class=""><br class="">-- Prepare needed values<br class="">local APPS = "/ucgd/apps/"<br class="">local id = "maker"<br class="">local version = "2.31.8"<br class="">local base = pathJoin(APPS, id, version)<br class="">local bin = pathJoin(base, "bin")<br class=""><br class="">-- Set PATH and other environmental variables<br class="">prepend_path("PATH", bin)<br class="">prepend_path("LD_PRELOAD", "</font><span style="font-family: Courier;" class="">/ucgd/apps/</span><font face="Courier" class="">openmpi/1.8.4i/lib/libmpi.so")<br class="">setenv("OMPI_MCA_mpi_warn_on_fork", 0</font>)</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">—Carson</div><div class=""><br class=""></div><br class=""><div><blockquote type="cite" class=""><div class="">On Aug 3, 2016, at 3:25 AM, <a href="mailto:sebastien.moretti@unil.ch" class="">sebastien.moretti@unil.ch</a> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">OK, I removed execution rights for mpi_evaluator.<br class=""><br class="">I tried mpiexec -n 10 maker<br class="">MPI tries to write in the maker/perl/ directory.<br class="">This is an issue for me because maker is installed in a read-only file<br class="">system.<br class=""><br class="">Is there an option or something to tell MPI to write elsewhere?<br class=""><br class="">Sébastien<br class=""><br class=""><blockquote type="cite" class="">To run MAKER with MPI, you just call maker with mpiexec. Examples can be found on the MAKER wiki, in the devel list archives, and in the README/INSTALL guide.<br class=""><br class="">Basically something like this to run on 10 CPUs —> mpiexec -n 10 maker<br class=""><br class="">Any other MPI options will depend on the flavor of MPI you use, and your cluster settings.<br class=""><br class="">—Carson<br class=""><br class=""><br class=""><br class=""><blockquote type="cite" class="">On Aug 2, 2016, at 6:00 AM, Sebastien Moretti <<a href="mailto:sebastien.moretti@unil.ch" class="">sebastien.moretti@unil.ch</a>> wrote:<br class=""><br class="">Hi<br class=""><br class="">I compiled maker with MPI support and would like to test it.<br class="">So I tried to run mpi_evaluator but it fails because Parallel/MPIcar.pm<br class="">is missing.<br class=""><br class="">What does mpi_evaluator do?<br class="">How to test properly MPI in maker?<br class=""><br class="">maker 2.31.8, Linux x86_64 2.6.32, Perl 5.18.2<br class="">openmpi 1.8.1<br class=""><br class="">Regards<br class=""></blockquote></blockquote><br class="">--<br class="">Sébastien Moretti<br class="">Staff Scientist<br class="">SIB Vital-IT EMBnet, Quartier Sorge - Genopode<br class="">CH-1015 Lausanne, Switzerland<br class="">Tel.: +41 (21) 692 4079/4221<br class=""><a href="http://www.vital-it.ch/" class="">http://www.vital-it.ch/</a> <a href="http://myhits.vital-it.ch/" class="">http://myhits.vital-it.ch/</a> <a href="http://metanetx.org/" class="">http://MetaNetX.org/</a><br class=""></div></div></blockquote></div><br class=""></body></html>