Project

General

Profile

Wiki » History » Revision 2

Revision 1 (Alexandre Camsonne, 04/05/2023 04:38 PM) → Revision 2/9 (Juan Alvarado, 04/06/2023 12:09 PM)

h1. Wiki 

 To run PARTONS on the farm we need to do is to create a singularity container, follow these steps 
 * Set the environment and load the appropriate modules 
 source /site/env/syscshrc 
 module load singularity/3.9.5 Partons website 

 * Build the container: 
 singularity build --sandbox partons_singularity docker://partons/partons 

 * The previous command with create a new folder called "partons_singularity". To run the container do:  
 singularity shell --writable partons_singularity 

 * Now your terminal has changed. You can find PARTONS' folders in /root/workspace/ 
 
 * For instance, https://partons.cea.fr 


 Conversion Docker to run an example you can do: 
 cd /root/workspace/partons-example/ 
 ./bin/PARTONS_example data/examples/gpd/computeSingleKinematicsForGPD.xml 


 *Some important links* 
 https://partons.cea.fr 
 https://docs.sylabs.io/guides/3.0/user-guide/build_a_container.html 
 https://docs.sylabs.io/guides/2.6/user-guide/singularity_and_docker.html 
 https://singularity-tutorial.github.io/02-basic-usage/ Singularity 

 https://ricardodeazambuja.com/docker/2019/11/13/singularity-from-docker/ 



 Location on farm