rsnt_translations
56,430
edits
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
<!--T:2--> | <!--T:2--> | ||
{{Note | {{Note | ||
|From StdEnv/2023 onwards, the parasail-python extension is bundled in the parasail module. | |From StdEnv/2023 onwards, the parasail-python extension is bundled in the parasail module. However, with StdEnv/2020, the parasail module needs to be loaded for the Python extension to be installed in a virtual environment. | ||
}} | }} | ||
Line 46: | Line 46: | ||
<!--T:12--> | <!--T:12--> | ||
1. Write the | 1. Write the Python script: | ||
{{File | {{File | ||
|name=parasail-sw.py | |name=parasail-sw.py | ||
Line 72: | Line 72: | ||
<!--T:17--> | <!--T:17--> | ||
2. | 2. Write the job submission script: | ||
<tabs> | <tabs> | ||
<tab name="Default StdEnv"> | <tab name="Default StdEnv"> | ||
Line 110: | Line 110: | ||
<!--T:21--> | <!--T:21--> | ||
Install the desired version in your virtual environment: | |||
{{File | {{File | ||
|name=submit-parasail.sh | |name=submit-parasail.sh | ||
Line 125: | Line 125: | ||
<!--T:23--> | <!--T:23--> | ||
# Install any other requirements, such as Biopython | # Install any other requirements, such as Biopython: | ||
virtualenv --no-download $SLURM_TMPDIR/env | virtualenv --no-download $SLURM_TMPDIR/env | ||
source $SLURM_TMPDIR/env/bin/activate | source $SLURM_TMPDIR/env/bin/activate | ||
Line 138: | Line 138: | ||
<!--T:25--> | <!--T:25--> | ||
3. | 3. Submit the job with | ||
{{Command | {{Command | ||
|sbatch submit-parasail.sh | |sbatch submit-parasail.sh | ||
Line 144: | Line 144: | ||
<!--T:26--> | <!--T:26--> | ||
4. | 4. When the job has run, the output will be in the Slurm output file: | ||
{{Command | {{Command | ||
|less slurm-*.out | |less slurm-*.out | ||
Line 153: | Line 153: | ||
==== Available Python packages ==== <!--T:27--> | ==== Available Python packages ==== <!--T:27--> | ||
Other Python packages that depend on parasail will have their requirement satisfied | Other Python packages that depend on parasail will have their requirement satisfied by loading the parasail module: | ||
{{Command | {{Command | ||
|pip list {{!}} grep parasail | |pip list {{!}} grep parasail |