User Tools

Site Tools


marlintpc_local_installation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
marlintpc_local_installation [2015/06/25 18:01]
rashid
marlintpc_local_installation [2015/06/25 18:33] (current)
rashid
Line 3: Line 3:
  
  Copy the snapshot of the latest MarlinTPC repository from DESY server:  Copy the snapshot of the latest MarlinTPC repository from DESY server:
- Note that ILC collaboration uses Subversion (snv) code code management/​maintenance. Run below command + Note that ILC collaboration uses Subversion (snv) code management/​maintenance. Run below command 
- from the directory you want to create your "MarlinTPC" ​repository. ​+ from the directory you want to check out the MarlinTPC repository. ​
  
-    > <nowiki> svn co https://​svnsrv.desy.de/​public/​marlintpc/​trunk MarlinTPC ​</​nowiki>​+   > svn co https://​svnsrv.desy.de/​public/​marlintpc/​trunk MarlinTPC ​  ​
  
-Replace /trunk with /​tags/​vXX-YY-ZZ to access a particular release. For example, ​v01-17-05that is currently +Replace /trunk with /​tags/​vXX-YY ​in the above command IF you need access a particular release. For example, ​v00-06what is currently installed at Carleton.
-installed at Carleton.+
  
  Now you have to copy a couple of files to link your MarlinTPC directory to the local ILC software repository.  Now you have to copy a couple of files to link your MarlinTPC directory to the local ILC software repository.
  
-cd MarlinTPC  +   > ​cd MarlinTPC  
-cp /​data/​data021/​mbatygov/​Install/​v01-17-05/​ILCSoft.cmake . +   > cp /​data/​data021/​mbatygov/​Install/​v01-17-05/​ILCSoft.cmake . 
-cp /​data/​data021/​mbatygov/​Install/​v01-17-05/​init_ilcsoft.sh .+   > cp /​data/​data021/​mbatygov/​Install/​v01-17-05/​init_ilcsoft.sh .
  
  You have to edit both files to replace _all_ paths to MarlinTPC inside those files to point the path to your _local_  You have to edit both files to replace _all_ paths to MarlinTPC inside those files to point the path to your _local_
Line 26: Line 25:
 In your MarlinTPC drectory do: In your MarlinTPC drectory do:
  
-source init_ilcsoft.sh +   > ​source init_ilcsoft.sh 
-mkdir build  +   > mkdir build  
-cd build +   > cd build 
-cmake -C ../​ILCSoft.cmake ..+   > cmake -C ../​ILCSoft.cmake ..
  
 Now you have to compile, build and install your libraries. Now you have to compile, build and install your libraries.
  
-make install+   > ​make install
  
-(Note, it would take a while, so, you can grab a cup of coffee while the process is running).+(Note, it would take a while, so, you can grab a cup of coffee while the process is running ​to completion).
  
 All right, if you do not see anything suspicious on your screen - lines showing some errors, problems, etc. - All right, if you do not see anything suspicious on your screen - lines showing some errors, problems, etc. -
 that means your MarlinTPC code is ready do be used. that means your MarlinTPC code is ready do be used.
  
marlintpc_local_installation.1435255263.txt.gz · Last modified: 2015/06/25 18:01 by rashid