{"id":1118,"date":"2011-05-06T10:56:48","date_gmt":"2011-05-06T08:56:48","guid":{"rendered":"http:\/\/oldblogs.uct.ac.za\/blog\/big-bytes\/2011\/05\/06\/6-million-monkeys"},"modified":"2022-09-26T20:04:13","modified_gmt":"2022-09-26T18:04:13","slug":"6-million-monkeys","status":"publish","type":"post","link":"https:\/\/ucthpc.uct.ac.za\/index.php\/2011\/05\/06\/6-million-monkeys\/","title":{"rendered":"6 million monkeys"},"content":{"rendered":"In order to test the parallel version of MrBayes we ran several\r\nsimulations of the primates.nex tutorial provided with the\r\ninstallation.\u00a0 This compares the evolutionary species change and\r\ndivergence between various primates.\r\n\r\n<img src=\"https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2015\/07\/primates.png\" alt=\"Primates\" border=\"0\" \/>\r\n\r\nRunning the parallel version produced predictable results.\u00a0 \"Distributing\" the problem over only 1 core slowed down the computation time slightly due to the MPI overhead compared with the serial computation on only one processor.\u00a0 However once more cores were brought in the computation time decreased markedly until the amount of work that could be distributed was reached.\u00a0 This occurred at 5 cores and was in line with the documented observation that the number of chains should not exceed the number of cores.\u00a0 Providing more cores did not assist in computation and merely lead to more overhead in setting up MPI.\r\n\r\n<img src=\"https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2015\/07\/MrBayesMPI.png\" alt=\"MrBayes MPI\" border=\"0\" \/>\r\n\r\nThe efficiency of the cluster is related to the problem being analysed as can be seen from the documentation:\u00a0 \"<span style=\"font-family: times new roman,times;\">In our experience, heating is essential for problems with more than about 50 taxa, whereas smaller problems often can be analysed successfully without heating.\u00a0 The time complexity of the analysis is directly proportional to the number of chains used (unless MrBayes runs out of physical RAM memory, in which case the analysis will suddenly become much slower), but the cold and heated chains can be distributed among\r\nprocessors in a cluster of computers using the MPI version of the\r\nprogram greatly speeding up the calculations.<\/span>\"\r\n\r\n<a href=\"http:\/\/en.wikipedia.org\/wiki\/Infinite_monkey_theorem\">Hence the more data (groups of organisms) one analyses the more cores one can use in order to speed up the computation.<\/a>","protected":false},"excerpt":{"rendered":"<p>In order to test the parallel version of MrBayes we ran several<br \/>\nsimulations of the primates.nex tutorial provided with the<br \/>\ninstallation.&nbsp; This compares the evolutionary species change and<br \/>\ndivergence between various primates.<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/blogs.uct.ac.za\/gallery\/1253\/primates.png\" border=\"0\" alt=\"Primates\"><\/p>\n<p>Running the parallel version produced predictable results.&nbsp; &#8220;Distributing&#8221; the problem over only 1 core slowed down the computation time slightly due to the MPI overhead compared with the serial computation on only one processor.&nbsp; However once more cores were brought in the computation time decreased markedly until the amount of work that could be distributed was reached.&nbsp; This occurred at 5 cores and was in line with the documented observation that the number of chains should not exceed the number of cores.&nbsp; Providing more cores did not assist in computation and merely lead to more overhead in setting up MPI.<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/blogs.uct.ac.za\/gallery\/1253\/MrBayesMPI.png\" border=\"0\" alt=\"MrBayes MPI\"><\/p>\n<p>The efficiency of the cluster is related to the problem being analysed as can be seen from the documentation:&nbsp; &#8220;<span>In our experience, heating is essential for problems with more than about 50 taxa, whereas smaller problems often can be analysed successfully without heating.&nbsp; The time complexity of the analysis is directly proportional to the number of chains used (unless MrBayes runs out of physical RAM memory, in which case the analysis will suddenly become much slower), but the cold and heated chains can be distributed among<br \/>\nprocessors in a cluster of computers using the MPI version of the<br \/>\nprogram greatly speeding up the calculations.<\/span>&#8220;<\/p>\n<p><a href=\"http:\/\/en.wikipedia.org\/wiki\/Infinite_monkey_theorem\">Hence the more data (groups of organisms) one analyses the more cores one can use in order to speed up the computation.<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[9,10],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>6 million monkeys - UCT HPC<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/ucthpc.uct.ac.za\/index.php\/2011\/05\/06\/6-million-monkeys\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"6 million monkeys - UCT HPC\" \/>\n<meta property=\"og:description\" content=\"In order to test the parallel version of MrBayes we ran several  simulations of the primates.nex tutorial provided with the  installation.&nbsp; This compares the evolutionary species change and  divergence between various primates.  Running the parallel version produced predictable results.&nbsp; &quot;Distributing&quot; the problem over only 1 core slowed down the computation time slightly due to the MPI overhead compared with the serial computation on only one processor.&nbsp; However once more cores were brought in the computation time decreased markedly until the amount of work that could be distributed was reached.&nbsp; This occurred at 5 cores and was in line with the documented observation that the number of chains should not exceed the number of cores.&nbsp; Providing more cores did not assist in computation and merely lead to more overhead in setting up MPI.  The efficiency of the cluster is related to the problem being analysed as can be seen from the documentation:&nbsp; &quot;In our experience, heating is essential for problems with more than about 50 taxa, whereas smaller problems often can be analysed successfully without heating.&nbsp; The time complexity of the analysis is directly proportional to the number of chains used (unless MrBayes runs out of physical RAM memory, in which case the analysis will suddenly become much slower), but the cold and heated chains can be distributed among  processors in a cluster of computers using the MPI version of the  program greatly speeding up the calculations.&quot;Hence the more data (groups of organisms) one analyses the more cores one can use in order to speed up the computation.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ucthpc.uct.ac.za\/index.php\/2011\/05\/06\/6-million-monkeys\/\" \/>\n<meta property=\"og:site_name\" content=\"UCT HPC\" \/>\n<meta property=\"article:published_time\" content=\"2011-05-06T08:56:48+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-09-26T18:04:13+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2015\/07\/primates.png\" \/>\n<meta name=\"author\" content=\"Andrew Lewis\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Andrew Lewis\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/ucthpc.uct.ac.za\/index.php\/2011\/05\/06\/6-million-monkeys\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/ucthpc.uct.ac.za\/index.php\/2011\/05\/06\/6-million-monkeys\/\"},\"author\":{\"name\":\"Andrew Lewis\",\"@id\":\"https:\/\/ucthpc.uct.ac.za\/#\/schema\/person\/c183ad1c0a1063124a72d63963ae9c7e\"},\"headline\":\"6 million monkeys\",\"datePublished\":\"2011-05-06T08:56:48+00:00\",\"dateModified\":\"2022-09-26T18:04:13+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/ucthpc.uct.ac.za\/index.php\/2011\/05\/06\/6-million-monkeys\/\"},\"wordCount\":258,\"publisher\":{\"@id\":\"https:\/\/ucthpc.uct.ac.za\/#organization\"},\"articleSection\":[\"application\",\"MPI\"],\"inLanguage\":\"en-ZA\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ucthpc.uct.ac.za\/index.php\/2011\/05\/06\/6-million-monkeys\/\",\"url\":\"https:\/\/ucthpc.uct.ac.za\/index.php\/2011\/05\/06\/6-million-monkeys\/\",\"name\":\"6 million monkeys - UCT HPC\",\"isPartOf\":{\"@id\":\"https:\/\/ucthpc.uct.ac.za\/#website\"},\"datePublished\":\"2011-05-06T08:56:48+00:00\",\"dateModified\":\"2022-09-26T18:04:13+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/ucthpc.uct.ac.za\/index.php\/2011\/05\/06\/6-million-monkeys\/#breadcrumb\"},\"inLanguage\":\"en-ZA\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ucthpc.uct.ac.za\/index.php\/2011\/05\/06\/6-million-monkeys\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ucthpc.uct.ac.za\/index.php\/2011\/05\/06\/6-million-monkeys\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/ucthpc.uct.ac.za\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"6 million monkeys\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/ucthpc.uct.ac.za\/#website\",\"url\":\"https:\/\/ucthpc.uct.ac.za\/\",\"name\":\"UCT HPC\",\"description\":\"University of Cape Town High Performance Computing\",\"publisher\":{\"@id\":\"https:\/\/ucthpc.uct.ac.za\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/ucthpc.uct.ac.za\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-ZA\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/ucthpc.uct.ac.za\/#organization\",\"name\":\"University of Cape Town High Performance Computing\",\"url\":\"https:\/\/ucthpc.uct.ac.za\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-ZA\",\"@id\":\"https:\/\/ucthpc.uct.ac.za\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2015\/09\/logocircless.png\",\"contentUrl\":\"https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2015\/09\/logocircless.png\",\"width\":450,\"height\":423,\"caption\":\"University of Cape Town High Performance Computing\"},\"image\":{\"@id\":\"https:\/\/ucthpc.uct.ac.za\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/ucthpc.uct.ac.za\/#\/schema\/person\/c183ad1c0a1063124a72d63963ae9c7e\",\"name\":\"Andrew Lewis\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-ZA\",\"@id\":\"https:\/\/ucthpc.uct.ac.za\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/9652c9c73beeab594b8dc2383a880048?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/9652c9c73beeab594b8dc2383a880048?s=96&d=mm&r=g\",\"caption\":\"Andrew Lewis\"},\"sameAs\":[\"http:\/\/blogs.uct.ac.za\/blog\/big-bytes\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"6 million monkeys - UCT HPC","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/ucthpc.uct.ac.za\/index.php\/2011\/05\/06\/6-million-monkeys\/","og_locale":"en_US","og_type":"article","og_title":"6 million monkeys - UCT HPC","og_description":"In order to test the parallel version of MrBayes we ran several  simulations of the primates.nex tutorial provided with the  installation.&nbsp; This compares the evolutionary species change and  divergence between various primates.  Running the parallel version produced predictable results.&nbsp; \"Distributing\" the problem over only 1 core slowed down the computation time slightly due to the MPI overhead compared with the serial computation on only one processor.&nbsp; However once more cores were brought in the computation time decreased markedly until the amount of work that could be distributed was reached.&nbsp; This occurred at 5 cores and was in line with the documented observation that the number of chains should not exceed the number of cores.&nbsp; Providing more cores did not assist in computation and merely lead to more overhead in setting up MPI.  The efficiency of the cluster is related to the problem being analysed as can be seen from the documentation:&nbsp; \"In our experience, heating is essential for problems with more than about 50 taxa, whereas smaller problems often can be analysed successfully without heating.&nbsp; The time complexity of the analysis is directly proportional to the number of chains used (unless MrBayes runs out of physical RAM memory, in which case the analysis will suddenly become much slower), but the cold and heated chains can be distributed among  processors in a cluster of computers using the MPI version of the  program greatly speeding up the calculations.\"Hence the more data (groups of organisms) one analyses the more cores one can use in order to speed up the computation.","og_url":"https:\/\/ucthpc.uct.ac.za\/index.php\/2011\/05\/06\/6-million-monkeys\/","og_site_name":"UCT HPC","article_published_time":"2011-05-06T08:56:48+00:00","article_modified_time":"2022-09-26T18:04:13+00:00","og_image":[{"url":"https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2015\/07\/primates.png"}],"author":"Andrew Lewis","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Andrew Lewis","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/ucthpc.uct.ac.za\/index.php\/2011\/05\/06\/6-million-monkeys\/#article","isPartOf":{"@id":"https:\/\/ucthpc.uct.ac.za\/index.php\/2011\/05\/06\/6-million-monkeys\/"},"author":{"name":"Andrew Lewis","@id":"https:\/\/ucthpc.uct.ac.za\/#\/schema\/person\/c183ad1c0a1063124a72d63963ae9c7e"},"headline":"6 million monkeys","datePublished":"2011-05-06T08:56:48+00:00","dateModified":"2022-09-26T18:04:13+00:00","mainEntityOfPage":{"@id":"https:\/\/ucthpc.uct.ac.za\/index.php\/2011\/05\/06\/6-million-monkeys\/"},"wordCount":258,"publisher":{"@id":"https:\/\/ucthpc.uct.ac.za\/#organization"},"articleSection":["application","MPI"],"inLanguage":"en-ZA"},{"@type":"WebPage","@id":"https:\/\/ucthpc.uct.ac.za\/index.php\/2011\/05\/06\/6-million-monkeys\/","url":"https:\/\/ucthpc.uct.ac.za\/index.php\/2011\/05\/06\/6-million-monkeys\/","name":"6 million monkeys - UCT HPC","isPartOf":{"@id":"https:\/\/ucthpc.uct.ac.za\/#website"},"datePublished":"2011-05-06T08:56:48+00:00","dateModified":"2022-09-26T18:04:13+00:00","breadcrumb":{"@id":"https:\/\/ucthpc.uct.ac.za\/index.php\/2011\/05\/06\/6-million-monkeys\/#breadcrumb"},"inLanguage":"en-ZA","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ucthpc.uct.ac.za\/index.php\/2011\/05\/06\/6-million-monkeys\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/ucthpc.uct.ac.za\/index.php\/2011\/05\/06\/6-million-monkeys\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ucthpc.uct.ac.za\/"},{"@type":"ListItem","position":2,"name":"6 million monkeys"}]},{"@type":"WebSite","@id":"https:\/\/ucthpc.uct.ac.za\/#website","url":"https:\/\/ucthpc.uct.ac.za\/","name":"UCT HPC","description":"University of Cape Town High Performance Computing","publisher":{"@id":"https:\/\/ucthpc.uct.ac.za\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ucthpc.uct.ac.za\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-ZA"},{"@type":"Organization","@id":"https:\/\/ucthpc.uct.ac.za\/#organization","name":"University of Cape Town High Performance Computing","url":"https:\/\/ucthpc.uct.ac.za\/","logo":{"@type":"ImageObject","inLanguage":"en-ZA","@id":"https:\/\/ucthpc.uct.ac.za\/#\/schema\/logo\/image\/","url":"https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2015\/09\/logocircless.png","contentUrl":"https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2015\/09\/logocircless.png","width":450,"height":423,"caption":"University of Cape Town High Performance Computing"},"image":{"@id":"https:\/\/ucthpc.uct.ac.za\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/ucthpc.uct.ac.za\/#\/schema\/person\/c183ad1c0a1063124a72d63963ae9c7e","name":"Andrew Lewis","image":{"@type":"ImageObject","inLanguage":"en-ZA","@id":"https:\/\/ucthpc.uct.ac.za\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/9652c9c73beeab594b8dc2383a880048?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/9652c9c73beeab594b8dc2383a880048?s=96&d=mm&r=g","caption":"Andrew Lewis"},"sameAs":["http:\/\/blogs.uct.ac.za\/blog\/big-bytes"]}]}},"_links":{"self":[{"href":"https:\/\/ucthpc.uct.ac.za\/index.php\/wp-json\/wp\/v2\/posts\/1118"}],"collection":[{"href":"https:\/\/ucthpc.uct.ac.za\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ucthpc.uct.ac.za\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ucthpc.uct.ac.za\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ucthpc.uct.ac.za\/index.php\/wp-json\/wp\/v2\/comments?post=1118"}],"version-history":[{"count":4,"href":"https:\/\/ucthpc.uct.ac.za\/index.php\/wp-json\/wp\/v2\/posts\/1118\/revisions"}],"predecessor-version":[{"id":4288,"href":"https:\/\/ucthpc.uct.ac.za\/index.php\/wp-json\/wp\/v2\/posts\/1118\/revisions\/4288"}],"wp:attachment":[{"href":"https:\/\/ucthpc.uct.ac.za\/index.php\/wp-json\/wp\/v2\/media?parent=1118"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ucthpc.uct.ac.za\/index.php\/wp-json\/wp\/v2\/categories?post=1118"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ucthpc.uct.ac.za\/index.php\/wp-json\/wp\/v2\/tags?post=1118"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}