Wiki » History » Version 2
Juan Alvarado, 04/06/2023 12:09 PM
| 1 | 1 | Alexandre Camsonne | h1. Wiki |
|---|---|---|---|
| 2 | |||
| 3 | 2 | Juan Alvarado | To run PARTONS on the farm we need to do is to create a singularity container, follow these steps |
| 4 | * Set the environment and load the appropriate modules |
||
| 5 | source /site/env/syscshrc |
||
| 6 | module load singularity/3.9.5 |
||
| 7 | 1 | Alexandre Camsonne | |
| 8 | 2 | Juan Alvarado | * Build the container: |
| 9 | singularity build --sandbox partons_singularity docker://partons/partons |
||
| 10 | 1 | Alexandre Camsonne | |
| 11 | 2 | Juan Alvarado | * The previous command with create a new folder called "partons_singularity". To run the container do: |
| 12 | singularity shell --writable partons_singularity |
||
| 13 | 1 | Alexandre Camsonne | |
| 14 | 2 | Juan Alvarado | * Now your terminal has changed. You can find PARTONS' folders in /root/workspace/ |
| 15 | |||
| 16 | * For instance, to run an example you can do: |
||
| 17 | cd /root/workspace/partons-example/ |
||
| 18 | ./bin/PARTONS_example data/examples/gpd/computeSingleKinematicsForGPD.xml |
||
| 19 | 1 | Alexandre Camsonne | |
| 20 | |||
| 21 | 2 | Juan Alvarado | *Some important links* |
| 22 | https://partons.cea.fr |
||
| 23 | https://docs.sylabs.io/guides/3.0/user-guide/build_a_container.html |
||
| 24 | https://docs.sylabs.io/guides/2.6/user-guide/singularity_and_docker.html |
||
| 25 | https://singularity-tutorial.github.io/02-basic-usage/ |