Difference: ShellScripts (1 vs. 23)

Revision 232008-11-25 - MarcoCattaneo

Line: 1 to 1
 
META TOPICPARENT name="LHCbComputing"
-

Overview

Line: 44 to 44
 
    • if CMTPROJECTPATH is not set : it sets it
    • if $User_release_area/<project>_<version> does not exist : it creates it
    • cd $User_release_area/<project>_<version>
Changed:
<
<
  • SetupProject.csh, SetupProject.sh
>
>
 
    • execute python $LHCBPYTHON/SetupProject.py $*
    • SetupProject [options] <project> [<version>|--ask] will make a source setup.(c)sh in the first <project>Sys/<version>/cmt directory found on the CMTPROJECTPATH
  • Lbglimpse

Revision 222007-10-08 - HubertDegaudenzi

Line: 1 to 1
 
META TOPICPARENT name="LHCbComputing"
-

Overview

Line: 41 to 41
 
    • source ProjectEnv.(c)sh <project> <version> to set CMTPATH for projects built without_installarea
  • setenvProject.csh, setenvProject.sh
    • source setenvProject.(c)sh <project> <version> to set CMTPROJECTPATH and user working area for projects built with_installarea
Changed:
<
<
    • if CMTPROJECTPATH is not set : set it
    • if $User_release_area/<project>_<version> does not exist : create it
>
>
    • if CMTPROJECTPATH is not set : it sets it
    • if $User_release_area/<project>_<version> does not exist : it creates it
 
    • cd $User_release_area/<project>_<version>
  • SetupProject.csh, SetupProject.sh
    • execute python $LHCBPYTHON/SetupProject.py $*
Changed:
<
<
    • SetupProject <project> <version> will make a source setup.(c)sh in the first <project>Sys/<version>/cmt directory found on the CMTPROJECTPATH
>
>
    • SetupProject [options] <project> [<version>|--ask] will make a source setup.(c)sh in the first <project>Sys/<version>/cmt directory found on the CMTPROJECTPATH
 
  • Lbglimpse
    • get all occurences of a string in a project and its dependencies
      • Lbglimpse <a_string> <Project> <version>

Revision 212007-05-04 - FlorenceRanjard

Line: 1 to 1
 
META TOPICPARENT name="LHCbComputing"
-

Overview

Line: 12 to 12
  Some of the scripts are saved on CVS in $CVSROOT/scripts.
Changed:
<
<
Some of the scripts are saved in platform-dependent tar files for exportation (mkscriptstar)
>
>
Some of the scripts are saved in platform-dependent tar files for exportation (mkscriptstar).
  • Following a cvs commit
    • tar files should be rebuilt
    • win32 DFS repository should be updated:
      • G:\Experiments\lhcb\scripts
      • cvs update
 

Shell scripts

  • lhcbsetup.csh, lhcbsetup.sh

Revision 202007-05-02 - FlorenceRanjard

Line: 1 to 1
 
META TOPICPARENT name="LHCbComputing"
-

Overview

Line: 78 to 78
 
      • setenv MYSITEROOT `pwd`
      • setenv CMTCONFIG "one of the LHCb binary"
      • python install_project.py -p <project> -v <version> -b
Changed:
<
<
>
>
 
    • is imported by all mkxxxx.py scripts to describe and configure LHCb projects.
    • it contains project names, project volume sizes, application names, etc...
Changed:
<
<
>
>
 

Revision 192007-05-02 - FlorenceRanjard

Line: 1 to 1
 
META TOPICPARENT name="LHCbComputing"
-

Overview

Line: 18 to 18
 
  • lhcbsetup.csh, lhcbsetup.sh
    • lhcbsetup.(c)sh is run at login time to set some CERN LHCb environment variables.
    • all LHCb scripts and applications assume LHCb environment is set
Changed:
<
<
  • CMT.csh, CMT.sh
>
>
 
    • CMT.(c)sh is run at login time: source $LHCBSCRIPTS/CMT.(c)sh
      • set $CMTROOT, $CMTCONFIG, $CMTDEB, $CMTPATH, $LHCBPROJECTPATH
      • set all release_area: LCG_release_area, Gaudi_release_area, LHCb_release_area, etc....
Line: 45 to 45
 
  • Lbglimpse
    • get all occurences of a string in a project and its dependencies
      • Lbglimpse <a_string> <Project> <version>
Added:
>
>
  • mkscriptstar
    • build a tar file, stored on $LHCBTAR/scripts, for Linux or Win32 with a selection of usefull scripts
      • mkscriptstar Win32
      • mkscriptstar Linux
  • mkexternaltar
    • build CMT_<version> and OpenScientist_<version> binary tar file for different platforms.
      • mkexternaltar CMT <version> <linux|win32|mac>
      • mkexternaltar OpenScientist <version> <binary>
 

Win32 scripts

Revision 182007-04-27 - FlorenceRanjard

Line: 1 to 1
 
META TOPICPARENT name="LHCbComputing"
-

Overview

Line: 86 to 86
 
      • check the mkLCGCMTtar.log file and the existence of LCGCMT_<vers>_<binary>.tar.gz
  • mkGENSERtar.py
    • was used to create a GENSER binary tar file for up to Gauss DC06 version.
Changed:
<
<
    • it is now obsolete: for Gauss version > v30 mkMCGentar.py should be used instead.
>
>
    • it is now obsolete: for Gauss version > v30r* mkMCGentar.py should be used instead.
 
  • mkMCGentar.py
    • should be used to create a binary tar file containing all generators used by a given Gauss version
      • cd $LHCBTAR/source

Revision 172007-04-25 - FlorenceRanjard

Line: 1 to 1
 
META TOPICPARENT name="LHCbComputing"
-

Overview

Line: 64 to 64
 
  • mkproject.bat

Python scripts

Changed:
<
<
    • install a project with all its dependencies on $PWD path:
>
>
    • install a project with all its dependencies on `pwd` path:
 
      • cd <somewhere>
Changed:
<
<
      • setenv MYSITEROOT $PWD
>
>
      • setenv MYSITEROOT `pwd`
 
      • setenv CMTCONFIG "one of the LHCb binary"
      • python install_project.py -p <project> -v <version> -b
  • LHCb_config.py

Revision 162007-04-03 - FlorenceRanjard

Line: 1 to 1
 
META TOPICPARENT name="LHCbComputing"
-

Overview

Line: 65 to 65
 

Python scripts

Changed:
<
<
      • cd
>
>
      • cd <somewhere>
 
      • setenv MYSITEROOT $PWD
      • setenv CMTCONFIG "one of the LHCb binary"
      • python install_project.py -p <project> -v <version> -b
  • LHCb_config.py
Changed:
<
<
    • is imported by all mkblabla.py scripts to describe and configure LHCb projects.
>
>
    • is imported by all mkxxxx.py scripts to describe and configure LHCb projects.
 
    • it contains project names, project volume sizes, application names, etc...
  • vol-for-releases.py
    • is called by mkproject to create a volume for a project release
Line: 96 to 96
 
    • should be run on win32 to cmt config and cmt build vsnet a project residing on afs and to copy the InstallArea and package binary directories on afs
      • cd F:\LCG_LHCbSoft\lhcb\&ltPROJECT>\<PROJECT>_<version>
      • copy-Win2afs
Changed:
<
<
  • lcg-mirror-externals.py
>
>
  • lcg-mirror-externals
    • SPI script to copy all external packages referenced by a LCGCMT version from afs to local win32
 
  • usedProjects
    • get all dependencies of all projects available on $CMTPROJECTPATH
      • setenv CMTPROJECTPATH $LHCBPROJECTPATH

Revision 152007-04-02 - FlorenceRanjard

Line: 1 to 1
 
META TOPICPARENT name="LHCbComputing"
-

Overview

Line: 40 to 40
 
    • if $User_release_area/<project>_<version> does not exist : create it
    • cd $User_release_area/<project>_<version>
  • SetupProject.csh, SetupProject.sh
Changed:
<
<
    • execute python $LHCBPYTHON/SetupProject.bat $*
>
>
    • execute python $LHCBPYTHON/SetupProject.py $*
 
    • SetupProject <project> <version> will make a source setup.(c)sh in the first <project>Sys/<version>/cmt directory found on the CMTPROJECTPATH
Added:
>
>
  • Lbglimpse
    • get all occurences of a string in a project and its dependencies
      • Lbglimpse <a_string> <Project> <version>
 

Win32 scripts

  • lhcbsetup.bat
Line: 71 to 75
 
Changed:
<
<
    • is called by [[MkProject][mkproject] to create tar files for various platform.
>
>
    • is called by mkproject to create tar files for various platform.
 
    • must be run to create tar files of just release of DBASE, PARAM packages.
  • mkproject.py
    • used to make a full release of a project.
Line: 93 to 97
 
      • cd F:\LCG_LHCbSoft\lhcb\&ltPROJECT>\<PROJECT>_<version>
      • copy-Win2afs
  • lcg-mirror-externals.py
Changed:
<
<
  • Lbglimpse.py
  • usedProjects.py
  • SetupProject.py
>
>
  • usedProjects
    • get all dependencies of all projects available on $CMTPROJECTPATH
      • setenv CMTPROJECTPATH $LHCBPROJECTPATH
      • usedProjects
  • SetupProject
    • set the project environment
      • SetupProject <Project> <version>
 

Cern scripts

Revision 142007-04-02 - FlorenceRanjard

Line: 1 to 1
 
META TOPICPARENT name="LHCbComputing"
-

Overview

Line: 60 to 60
 
  • mkproject.bat

Python scripts

Changed:
<
<
    • install a project with all its dependencies on on $PWD path:
>
>
    • install a project with all its dependencies on $PWD path:
 
      • cd
      • setenv MYSITEROOT $PWD
Changed:
<
<
      • setenv CMTCONFIG one of the LHCb binary
>
>
      • setenv CMTCONFIG "one of the LHCb binary"
 
      • python install_project.py -p <project> -v <version> -b
Changed:
<
<
>
>
  • LHCb_config.py
    • is imported by all mkblabla.py scripts to describe and configure LHCb projects.
    • it contains project names, project volume sizes, application names, etc...
  • vol-for-releases.py
    • is called by mkproject to create a volume for a project release
 
Added:
>
>
    • is called by [[MkProject][mkproject] to create tar files for various platform.
    • must be run to create tar files of just release of DBASE, PARAM packages.
 
Added:
>
>
    • used to make a full release of a project.
 
Added:
>
>
    • must be run to create a LCGCMT tarfile which contains all external (external and lcg) packages used by a given Gaudi version for a given platform.
      • cd $LHCBTAR/source
      • mkLCGCMTtar -n GAUDI_<version> -b <binary>
      • check the mkLCGCMTtar.log file and the existence of LCGCMT_<vers>_<binary>.tar.gz
 
  • mkGENSERtar.py
Added:
>
>
    • was used to create a GENSER binary tar file for up to Gauss DC06 version.
    • it is now obsolete: for Gauss version > v30 mkMCGentar.py should be used instead.
 
Added:
>
>
    • should be used to create a binary tar file containing all generators used by a given Gauss version
      • cd $LHCBTAR/source
      • mkMCGentar -n GAUSS_<version> -b <binary>
      • check the mkMCGentar.log file and the existence of GENSER_<vers>_<binary>.tar.gz
 
Added:
>
>
    • should be run on win32 to cmt config and cmt build vsnet a project residing on afs and to copy the InstallArea and package binary directories on afs
      • cd F:\LCG_LHCbSoft\lhcb\&ltPROJECT>\<PROJECT>_<version>
      • copy-Win2afs
 
  • lcg-mirror-externals.py
  • Lbglimpse.py
  • usedProjects.py

Revision 132007-04-02 - FlorenceRanjard

Line: 1 to 1
 
META TOPICPARENT name="LHCbComputing"
-

Overview

Line: 65 to 65
 
      • setenv MYSITEROOT $PWD
      • setenv CMTCONFIG one of the LHCb binary
      • python install_project.py -p <project> -v <version> -b
Changed:
<
<
  • LHCb_config.py
  • vol_for_release.py
>
>
 

Revision 122007-03-30 - FlorenceRanjard

Line: 1 to 1
 
META TOPICPARENT name="LHCbComputing"
-

Overview

Line: 59 to 59
 
  • copy-Win2afs.bat
  • mkproject.bat

Python scripts

Changed:
<
<
  • install_project.py
>
>
 
    • install a project with all its dependencies on on $PWD path:
      • cd
      • setenv MYSITEROOT $PWD
      • setenv CMTCONFIG one of the LHCb binary
      • python install_project.py -p <project> -v <version> -b
Deleted:
<
<
 
  • LHCb_config.py
  • vol_for_release.py
Changed:
<
<
  • mkLHCbtar.py
  • mkproject.py
  • mkLCGCMTtar.py
>
>
 
  • mkGENSERtar.py
Changed:
<
<
  • mkMCGentar.py
  • copy-Win2afs.py
>
>
 
  • lcg-mirror-externals.py
Deleted:
<
<
  • lcg-gaudi-externals.py
 
  • Lbglimpse.py
  • usedProjects.py
Changed:
<
<
  • SetupProjects.py
>
>
  • SetupProject.py
 

Cern scripts

Revision 112007-03-27 - FlorenceRanjard

Line: 1 to 1
 
META TOPICPARENT name="LHCbComputing"
-

Overview

Line: 64 to 64
 
      • cd
      • setenv MYSITEROOT $PWD
      • setenv CMTCONFIG one of the LHCb binary
Changed:
<
<
      • python install_project.py -p -v -b
>
>
      • python install_project.py -p <project> -v <version> -b
 
Added:
>
>
 
  • LHCb_config.py
  • vol_for_release.py
  • mkLHCbtar.py

Revision 102007-03-26 - FlorenceRanjard

Line: 1 to 1
 
META TOPICPARENT name="LHCbComputing"
-

Overview

Line: 17 to 17
 

Shell scripts

  • lhcbsetup.csh, lhcbsetup.sh
    • lhcbsetup.(c)sh is run at login time to set some CERN LHCb environment variables.
Added:
>
>
    • all LHCb scripts and applications assume LHCb environment is set
 
  • CMT.csh, CMT.sh
    • CMT.(c)sh is run at login time: source $LHCBSCRIPTS/CMT.(c)sh
      • set $CMTROOT, $CMTCONFIG, $CMTDEB, $CMTPATH, $LHCBPROJECTPATH
Line: 64 to 65
 
      • setenv MYSITEROOT $PWD
      • setenv CMTCONFIG one of the LHCb binary
      • python install_project.py -p -v -b
Changed:
<
<
>
>
 
  • LHCb_config.py
  • vol_for_release.py
  • mkLHCbtar.py

Revision 92007-03-23 - FlorenceRanjard

Line: 1 to 1
 
META TOPICPARENT name="LHCbComputing"
-

Overview

Line: 58 to 58
 
  • copy-Win2afs.bat
  • mkproject.bat

Python scripts

Added:
>
>
  • install_project.py
    • install a project with all its dependencies on on $PWD path:
      • cd
      • setenv MYSITEROOT $PWD
      • setenv CMTCONFIG one of the LHCb binary
      • python install_project.py -p -v -b
    • full description
  • LHCb_config.py
  • vol_for_release.py
  • mkLHCbtar.py
  • mkproject.py
  • mkLCGCMTtar.py
  • mkGENSERtar.py
  • mkMCGentar.py
  • copy-Win2afs.py
  • lcg-mirror-externals.py
  • lcg-gaudi-externals.py
  • Lbglimpse.py
  • usedProjects.py
  • SetupProjects.py
 

Cern scripts

Revision 82007-03-08 - FlorenceRanjard

Line: 1 to 1
 
META TOPICPARENT name="LHCbComputing"
-

Overview

Revision 72007-03-06 - FlorenceRanjard

Line: 1 to 1
 
META TOPICPARENT name="LHCbComputing"
-

Overview

Line: 39 to 39
 
    • if $User_release_area/<project>_<version> does not exist : create it
    • cd $User_release_area/<project>_<version>
  • SetupProject.csh, SetupProject.sh
Added:
>
>
    • execute python $LHCBPYTHON/SetupProject.bat $*
    • SetupProject <project> <version> will make a source setup.(c)sh in the first <project>Sys/<version>/cmt directory found on the CMTPROJECTPATH
 

Win32 scripts

  • lhcbsetup.bat

Revision 62007-03-05 - FlorenceRanjard

Line: 1 to 1
 
META TOPICPARENT name="LHCbComputing"
-

Overview

Line: 15 to 15
 Some of the scripts are saved in platform-dependent tar files for exportation (mkscriptstar)

Shell scripts

Changed:
<
<
  • lhcbsetup.csh, lhcbsetup.sh
  • CMT.csh, CMT.sh
>
>
  • lhcbsetup.csh, lhcbsetup.sh
    • lhcbsetup.(c)sh is run at login time to set some CERN LHCb environment variables.
  • CMT.csh, CMT.sh
 
    • CMT.(c)sh is run at login time: source $LHCBSCRIPTS/CMT.(c)sh
      • set $CMTROOT, $CMTCONFIG, $CMTDEB, $CMTPATH, $LHCBPROJECTPATH
      • set all release_area: LCG_release_area, Gaudi_release_area, LHCb_release_area, etc....
Line: 24 to 25
 
      • set $PATH and $LD_LIBRARY_PATH when necessary for not default compiler
      • set ROOTSYS and $LD_LIBRARY_PATH if not defined to please make
      • to compile and run slc3 on lxplus : lbcmt gcc323
Changed:
<
<
  • ExtCMT.csh, ExtCMT.sh
>
>
  • ExtCMT.csh, ExtCMT.sh
 
    • is equivalent to CMT.(c)sh for LOCAL installation.
    • is distributed with any project tar ball.
    • it requires the setting of $MYSITEROOT and $CMTSITE=LOCAL beforehand
    • $MYSITEROOT is the full path (no symlink) of the LOCAL installation.
    • it is available in $MYSITEROOT/scripts
Changed:
<
<
  • ProjectEnv.csh, ProjectEnv.sh
>
>
  • ProjectEnv.csh, ProjectEnv.sh
 
    • source ProjectEnv.(c)sh <project> <version> to set CMTPATH for projects built without_installarea
Changed:
<
<
  • setenvProject.csh, setenvProject.sh
>
>
  • setenvProject.csh, setenvProject.sh
 
    • source setenvProject.(c)sh <project> <version> to set CMTPROJECTPATH and user working area for projects built with_installarea
Changed:
<
<
  • SetupProject.csh, SetupProject.sh
>
>
    • if CMTPROJECTPATH is not set : set it
    • if $User_release_area/<project>_<version> does not exist : create it
    • cd $User_release_area/<project>_<version>
  • SetupProject.csh, SetupProject.sh
 

Win32 scripts

  • lhcbsetup.bat

Revision 52007-03-05 - FlorenceRanjard

Line: 1 to 1
 
META TOPICPARENT name="LHCbComputing"
-

Overview

Line: 26 to 26
 
      • to compile and run slc3 on lxplus : lbcmt gcc323
  • ExtCMT.csh, ExtCMT.sh
    • is equivalent to CMT.(c)sh for LOCAL installation.
Added:
>
>
    • is distributed with any project tar ball.
 
    • it requires the setting of $MYSITEROOT and $CMTSITE=LOCAL beforehand
    • $MYSITEROOT is the full path (no symlink) of the LOCAL installation.
Added:
>
>
    • it is available in $MYSITEROOT/scripts
 
  • ProjectEnv.csh, ProjectEnv.sh
Added:
>
>
    • source ProjectEnv.(c)sh <project> <version> to set CMTPATH for projects built without_installarea
 
  • setenvProject.csh, setenvProject.sh
Added:
>
>
    • source setenvProject.(c)sh <project> <version> to set CMTPROJECTPATH and user working area for projects built with_installarea
 
  • SetupProject.csh, SetupProject.sh

Win32 scripts

  • lhcbsetup.bat
  • ExtCMT.bat
Changed:
<
<
  • ProjectEnv.bat, Env.bat
>
>
  • ProjectEnv.bat, <project>Env.bat
 
  • setenvProject.bat
  • SetupProject.bat
  • getpack.bat

Revision 42007-03-05 - FlorenceRanjard

Line: 1 to 1
 
META TOPICPARENT name="LHCbComputing"
-

Overview

Line: 16 to 16
 

Shell scripts

  • lhcbsetup.csh, lhcbsetup.sh
Changed:
<
<
  • CMT.csh, CMT.sh
>
>
  • CMT.csh, CMT.sh
    • CMT.(c)sh is run at login time: source $LHCBSCRIPTS/CMT.(c)sh
      • set $CMTROOT, $CMTCONFIG, $CMTDEB, $CMTPATH, $LHCBPROJECTPATH
      • set all release_area: LCG_release_area, Gaudi_release_area, LHCb_release_area, etc....
      • set aliases such as <Project>Env, setenv<Project>, cmt<Project>, run<Project>
      • set $PATH and $LD_LIBRARY_PATH when necessary for not default compiler
      • set ROOTSYS and $LD_LIBRARY_PATH if not defined to please make
      • to compile and run slc3 on lxplus : lbcmt gcc323
 
  • ExtCMT.csh, ExtCMT.sh
Added:
>
>
    • is equivalent to CMT.(c)sh for LOCAL installation.
    • it requires the setting of $MYSITEROOT and $CMTSITE=LOCAL beforehand
    • $MYSITEROOT is the full path (no symlink) of the LOCAL installation.
 
  • ProjectEnv.csh, ProjectEnv.sh
  • setenvProject.csh, setenvProject.sh
  • SetupProject.csh, SetupProject.sh

Revision 32007-02-28 - FlorenceRanjard

Line: 1 to 1
 
META TOPICPARENT name="LHCbComputing"
-

Overview

Line: 15 to 15
 Some of the scripts are saved in platform-dependent tar files for exportation (mkscriptstar)

Shell scripts

Added:
>
>
  • lhcbsetup.csh, lhcbsetup.sh
  • CMT.csh, CMT.sh
  • ExtCMT.csh, ExtCMT.sh
  • ProjectEnv.csh, ProjectEnv.sh
  • setenvProject.csh, setenvProject.sh
  • SetupProject.csh, SetupProject.sh
 

Win32 scripts

Changed:
<
<
>
>
  • lhcbsetup.bat
  • ExtCMT.bat
  • ProjectEnv.bat, Env.bat
  • setenvProject.bat
  • SetupProject.bat
  • getpack.bat
  • usedProjects.bat
  • lcgspi_local.bat
  • localsetup.bat
  • setcmt.bat
  • make.bat
  • which.bat
  • copy-Win2afs.bat
  • mkproject.bat
 

Python scripts

Cern scripts

Revision 22007-02-28 - FlorenceRanjard

Line: 1 to 1
 
META TOPICPARENT name="LHCbComputing"
Added:
>
>
-
 

Overview

LHCb scripts are stored below $LHCBSCRIPTS (/afs/cern.ch/lhcb/scripts) with 4 sub-directories: shell, cern, win32, python.
Line: 11 to 12
  Some of the scripts are saved on CVS in $CVSROOT/scripts.
Changed:
<
<
Some of the scripts are saved in platform-dependent tar files for exportation mkscriptstar
>
>
Some of the scripts are saved in platform-dependent tar files for exportation (mkscriptstar)

Shell scripts

Win32 scripts

Python scripts

Cern scripts

 

-- FlorenceRanjard - 28 Feb 2007

Revision 12007-02-28 - FlorenceRanjard

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="LHCbComputing"

Overview

LHCb scripts are stored below $LHCBSCRIPTS (/afs/cern.ch/lhcb/scripts) with 4 sub-directories: shell, cern, win32, python.

  • $LHCBSCRIPTS/cern - contains cern-centric scripts, cannot be used outside.
  • $LHCBSCRIPTS/shell - contains scripts which could be of general use in LHCb ( may be with some customization)
  • $LHCBSCRIPTS/win32 - contains *.bat scripts to be used on Windows
  • $LHCBSCRIPTS/python - contains python scripts
  • $LHCBSCRIPTS - contains softlinks to some shell/ and cern/ scripts and some wrapper scripts to python scripts.

Some of the scripts are saved on CVS in $CVSROOT/scripts.

Some of the scripts are saved in platform-dependent tar files for exportation mkscriptstar

-- FlorenceRanjard - 28 Feb 2007

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