MrBayes: Difference between revisions

Jump to navigation Jump to search
84 bytes added ,  4 months ago
Marked this version for translation
No edit summary
(Marked this version for translation)
Line 8: Line 8:
{{Command|module spider mrbayes}}
{{Command|module spider mrbayes}}


<!--T:34-->
For more on finding and selecting a version of MrBayes using <code>module</code> commands see [[Utiliser_des_modules/en|Using modules]]
For more on finding and selecting a version of MrBayes using <code>module</code> commands see [[Utiliser_des_modules/en|Using modules]]


Line 16: Line 17:
The example uses an input file (<code>primates.nex</code>) distributed with MrBayes.  
The example uses an input file (<code>primates.nex</code>) distributed with MrBayes.  


<!--T:35-->
{{File
{{File
   |name=submit-mrbayes-seq.sh
   |name=submit-mrbayes-seq.sh
Line 46: Line 48:
Like the previous example it uses an input file (<code>primates.nex</code>) distributed with MrBayes.
Like the previous example it uses an input file (<code>primates.nex</code>) distributed with MrBayes.


<!--T:36-->
{{File
{{File
   |name=submit-mrbayes-parallel.sh
   |name=submit-mrbayes-parallel.sh
Line 73: Line 76:
Like the previous examples it uses an input file (<code>primates.nex</code>) distributed with MrBayes.
Like the previous examples it uses an input file (<code>primates.nex</code>) distributed with MrBayes.


<!--T:37-->
{{File
{{File
   |name=submit-mrbayes-gpu.sh
   |name=submit-mrbayes-gpu.sh
Line 100: Line 104:
If you need very long runs of MrBayes, we suggest you break up the work into several small jobs rather than one very long job. Long jobs have are more likely to be interrupted a hardware failure or a maintenance outage. Fortunately, MrBayes has a mechanism for creating checkpoints, in which progress can be saved from one job and continued in a subsequent job.
If you need very long runs of MrBayes, we suggest you break up the work into several small jobs rather than one very long job. Long jobs have are more likely to be interrupted a hardware failure or a maintenance outage. Fortunately, MrBayes has a mechanism for creating checkpoints, in which progress can be saved from one job and continued in a subsequent job.


<!--T:38-->
Here is an example of how to split a calculation into two Slurm jobs which will run one after the other.  Create two files, <code>job1.nex</code> and <code>job2.nex</code>, as shown below.  Notice that the key difference between them is the presence of the <code>append</code> keyword in the second.
Here is an example of how to split a calculation into two Slurm jobs which will run one after the other.  Create two files, <code>job1.nex</code> and <code>job2.nex</code>, as shown below.  Notice that the key difference between them is the presence of the <code>append</code> keyword in the second.


Line 134: Line 139:
directive and the <code>$SLURM_ARRAY_TASK_ID</code> variable used here.
directive and the <code>$SLURM_ARRAY_TASK_ID</code> variable used here.


<!--T:39-->
{{File
{{File
   |name=submit-mrbayes-cp.sh
   |name=submit-mrbayes-cp.sh
Line 150: Line 156:
cp -v $EBROOTMRBAYES/share/examples/mrbayes/primates.nex .
cp -v $EBROOTMRBAYES/share/examples/mrbayes/primates.nex .


<!--T:40-->
srun mb job${SLURM_ARRAY_TASK_ID}.nex
srun mb job${SLURM_ARRAY_TASK_ID}.nex
}}
}}
Bureaucrats, cc_docs_admin, cc_staff
2,879

edits

Navigation menu