{"id":4444,"date":"2018-02-19T15:52:02","date_gmt":"2018-02-19T15:52:02","guid":{"rendered":"http:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/?page_id=4444"},"modified":"2018-02-19T15:52:23","modified_gmt":"2018-02-19T15:52:23","slug":"pbmpi","status":"publish","type":"page","link":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/software\/applications\/pbmpi\/","title":{"rendered":"Phylobayes MPI (PBMPI)"},"content":{"rendered":"<h2>Overview<\/h2>\n<p><a href=\"https:\/\/github.com\/bayesiancook\/pbmpi\">Phylobayes MPI<\/a> is a Bayesian software for phylogenetic reconstruction using mixture models which can run in parallel using MPI.<\/p>\n<p>Version 1.8 is installed on the CSF. It has been compiled with the Intel 15.0.3 compiler.<\/p>\n<h2>Restrictions on use<\/h2>\n<p>There are no restrictions on accessing this software on the CSF. It is release under the <a href=\"https:\/\/github.com\/bayesiancook\/pbmpi\/blob\/master\/LICENSE\">GNU GPL v2<\/a> license and all use must adhere to that license.<\/p>\n<h2>Set up procedure<\/h2>\n<p>To access the software you must first load the modulefile:<\/p>\n<pre>\r\n# Single node (2-24 cores) parallel jobs\r\nmodule load apps\/intel-15.0\/pbmpi\/1.8\r\n\r\n# Multi node (48 cores or more in multiples of 24) parallel jobs\r\nmodule load apps\/intel-15.0\/pbmpi\/1.8-ib\r\n\r\n<\/pre>\n<h2>Running the application<\/h2>\n<p>Please do not run pbmpi tools on the login node. Jobs should be submitted to the compute nodes via batch. There are a number of command-line tools available:<\/p>\n<pre>\r\nbpcomp    cvrep    pb_mpi    readpb_mpi    tracecomp\r\n<\/pre>\n<p>You <em>may<\/em> run each command without any args \/ parameters on the login node to see the help text. For example:<\/p>\n<pre>\r\npb_mpi\r\n\r\nmpirun -np <np> pb_mpi -d <datafile> [options] <chainname>\r\n\tcreates a new chain, sampling from the posterior distribution, conditional on specified data\r\n\r\nmpirun -np <np> pb_mpi <chainname>\r\n\tstarts an already existing chain\r\n\r\n\tmpirun -np <np>     : number of parallel processes (should be at least 2)\r\n\r\n\t-cat -dp            : infinite mixture (Dirichlet process) of equilibirium frequency profiles\r\n\t-ncat <ncat>        : finite mixture of equilibirium frequency profiles\r\n\r\n...\r\n<\/pre>\n<h3>Single node Parallel batch job submission<\/h3>\n<p>Make sure you have the modulefile loaded then create a batch submission script, for example:<\/p>\n<pre>\r\n#!\/bin\/bash\r\n#$ -S \/bin\/bash\r\n#$ -cwd             # Job will run from the current directory\r\n#$ -V               # Job will inherit current environment settings\r\n#$ -pe smp.pe 8     # Number of cores for single node jobs (2-24)\r\n\r\nmpirun -n $NSLOTS pb_mpi <em>inputfile<\/em>\r\n                            #\r\n                            # Will load <em>inputfile<\/em>.param from the current dir\r\n<\/pre>\n<p>Submit the jobscript using: <\/p>\n<pre>qsub <em>scriptname<\/em><\/pre>\n<p>where <em>scriptname<\/em> is the name of your jobscript.<\/p>\n<h3>Multi-node Parallel batch job submission<\/h3>\n<p>For larger multinode jobs ensure you have the <code>-ib<\/code> modulefile loaded, then submit a jobscript similar to:<\/p>\n<pre>\r\n#!\/bin\/bash\r\n#$ -S \/bin\/bash\r\n#$ -cwd                     # Job will run from the current directory\r\n#$ -V                       # Job will inherit current environment settings\r\n#$ -pe orte-24-ib.pe 48     # Must be 48 or more cores in multiples of 24\r\n\r\nmpirun -n $NSLOTS pb_mpi <em>inputfile<\/em>\r\n                            #\r\n                            # Will load <em>inputfile<\/em>.param from the current dir\r\n<\/pre>\n<p>Submit the jobscript using: <\/p>\n<pre>qsub <em>scriptname<\/em><\/pre>\n<p>where <em>scriptname<\/em> is the name of your jobscript.<\/p>\n<h2>Further info<\/h2>\n<ul>\n<li>The manual is available on the CSF using <code>evince $PBMPIHOME\/pb_mpiManual1.8.pdf<\/code>\n<li><a href=\"https:\/\/github.com\/bayesiancook\/pbmpi\">pbmpi github repo<\/a><\/li>\n<\/ul>\n<h2>Updates<\/h2>\n<p>None.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview Phylobayes MPI is a Bayesian software for phylogenetic reconstruction using mixture models which can run in parallel using MPI. Version 1.8 is installed on the CSF. It has been compiled with the Intel 15.0.3 compiler. Restrictions on use There are no restrictions on accessing this software on the CSF. It is release under the GNU GPL v2 license and all use must adhere to that license. Set up procedure To access the software you.. <a href=\"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/software\/applications\/pbmpi\/\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":15,"featured_media":0,"parent":31,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-4444","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/pages\/4444","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/comments?post=4444"}],"version-history":[{"count":2,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/pages\/4444\/revisions"}],"predecessor-version":[{"id":4446,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/pages\/4444\/revisions\/4446"}],"up":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/pages\/31"}],"wp:attachment":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/media?parent=4444"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}