Instructions

  • Create Coka cluster account (login from INFN or axpfe)

  • Create Conda environment able to run the script --> attached txt file with packages, to create env type : 'conda create -n myenv --file package-list.txt'

  • Script to run here: '/eos/user/e/efranzos/SWAN_projects/analysis_attempt/yields_fit/fit_templates.py'

  • Copy the script in a folder in coka (also utils.py) and run with the conda env created (before running, create a folder called 'img' in the same path of the 'fit_templates.py' script to save the plots)

  • Check of you can access the path to the trained NN in coka: '/home/efranzos/ML_pytorch/MODELS'

  • The dataset to study needs to be changed in the script and it will be loaded with uproot (hint: can't be too large so create a small root files with only the variables required by the NN as done in '/eos/user/e/efranzos/SWAN_projects/analysis_attempt/save_clean_dataset.ipynb' and then copy it in coka)

  • To submit the job run 'sbatch my_job_file.slurm' (must be located in the same folder of 'fit_templates.py'

-- EdoardoFranzoso - 2022-03-17

Topic attachments
I Attachment History Action Size Date Who Comment
Texttxt package-list.txt r1 manage 6.2 K 2022-03-17 - 11:32 EdoardoFranzoso  
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2022-03-17 - EdoardoFranzoso
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback