Parasail: Difference between revisions

Jump to navigation Jump to search
No change in size ,  4 months ago
no edit summary
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. Howevwer, with StdEnv/2020, the parasail module needs to be loaded for the Python extension to be installed in a virtual environment.
|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 python script:
1. Write the Python script:
{{File
{{File
   |name=parasail-sw.py
   |name=parasail-sw.py
Line 72: Line 72:


<!--T:17-->
<!--T:17-->
2. And the job submission script:
2. Write the job submission script:
<tabs>
<tabs>
<tab name="Default StdEnv">
<tab name="Default StdEnv">
Line 110: Line 110:


<!--T:21-->
<!--T:21-->
Then install the desired version in your virtual environment:
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. Then submit the job with
3. Submit the job with
{{Command
{{Command
|sbatch submit-parasail.sh
|sbatch submit-parasail.sh
Line 144: Line 144:


<!--T:26-->
<!--T:26-->
4. The output will be in the slurm output file, once the job has run:
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 with the module loaded:
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
rsnt_translations
56,420

edits

Navigation menu