lhcopt / lhcmask

Mask modules for LHC and HL-LHC
http://cern.ch/lhcmask
7 stars 16 forks source link

Problem with tracking_tools: auto in config.yaml #78

Open andreafornara opened 2 years ago

andreafornara commented 2 years ago

Now that the tracking tools have no longer to be found in /afs/cern.ch/eng/tracking-tools it would be useful to write in the README that a Pymask installation is required inside the lhcmask directory to find the tracking tools.

sterbini commented 2 years ago

Hi, indeed it is a good idea. It could be something like (I am installing many packages but you can down-select...)

wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh         
bash Miniconda3-latest-Linux-x86_64.sh -b  -p ./miniconda -f                       
source miniconda/bin/activate                                                      
python -m pip install ipython jupyterlab numpy scipy pandas awkward matplotlib               
python -m pip install pyarrow pyyaml  pytest  cpymad   xsuite                                          

git clone git@github.com:lhcopt/lhcerrors.git                                      
git clone git@github.com:lhcopt/lhctoolkit.git                                     
git clone git@github.com:lhcopt/lhcmask.git          

# needed only if you are not using the legacy bb macros
git clone git@github.com:lhcopt/beambeam_macros.git                                                                                               

python -m pip -e install ./lhcmask                                                                   
# depending on the optics you want to use (select the one you need)
git clone git@github.com:lhcopt/hllhc15.git
# used in the HL python example
git clone git@github.com:lhcopt/hllhc14.git
# for the Run 3
git clone $(whoami)@lxplus.cern.ch:/afs/cern.ch/eng/lhc/optics/runIII
# for the ions example
git clone $(whoami)@lxplus.cern.ch:/afs/cern.ch/eng/lhc/optics/runII/2018

# needed only for the ion example
git clone https://github.com/PyCOMPLETE/FillingPatterns.git                        
python -m pip install ./FillingPatterns               

# needed for the tests                                       
python -m pip install sixtracktools                                                
python -m pip install NAFFlib                                                      

I need to modify accordingly the config.yaml not to point to afs.

sterbini commented 2 years ago

@andrew960, do not hesitate to contribute by forking, editing the corresponding branch and make a pull request.

sterbini commented 2 years ago

Be careful that a full installation is ~2.5 GB.

>> du -hs
2.3G  .