This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
unicycler-software [2019/02/15 18:07] aorth created |
unicycler-software [2020/01/21 09:38] (current) jean-baka [Installation] |
||
|---|---|---|---|
| Line 19: | Line 19: | ||
| === Example Batch Job === | === Example Batch Job === | ||
| - | < | + | < |
| + | #SBATCH -p batch | ||
| + | #SBATCH -n 4 | ||
| + | #SBATCH -J unicycler | ||
| + | |||
| + | module load unicycler/ | ||
| + | |||
| + | readonly DATADIR=~/ | ||
| + | readonly OUTDIR=/ | ||
| + | |||
| + | # create output directory on compute node | ||
| + | mkdir -p ${OUTDIR} | ||
| + | |||
| + | # run unicycler with the number of threads allocated by SLURM | ||
| + | unicycler -t ${SLURM_NTASKS} -1 ${DATADIR}/ | ||
| + | |||
| + | echo | ||
| + | echo " | ||
| + | echo | ||
| + | echo " | ||
| + | |||
| + | By default Unicycler will use four CPU threads. Please make sure to set this parameter properly according to the SLURM job request. | ||
| ===== Installation ====== | ===== Installation ====== | ||
| Line 37: | Line 58: | ||
| The devtoolset is used because Unicycler requires a GCC compiler newer than 4.9.1. | The devtoolset is used because Unicycler requires a GCC compiler newer than 4.9.1. | ||
| + | |||
| + | Note by JB: way after this install, on 21 Jan 2020, I had to change the header in / | ||