OtherSoftware: Difference between revisions
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
== Software available from the T2 UI machines == | == Software available from the T2 UI machines == | ||
The T2 has many more software than what is available directly from the M machines. All are provided by cern's centrally managed files system called cvmfs. | The T2 has many more software than what is available directly from the M machines. All are provided by cern's centrally managed files system called cvmfs. | ||
They are divided in a CMS specific area and a more general area aimed at high energy in general. | They are divided in a CMS specific area and a more general area aimed at high energy in general. <br> | ||
The CMS specific area comes with a home brew script that makes it easy for searching specific versions of the software you need. However, the set-up is a lot more complicated than the general purpose area. Therefore we recommend the general purpose area unless you do not find the specific version you need in it. | The CMS specific area comes with a home brew script that makes it easy for searching specific versions of the software you need. However, the set-up is a lot more complicated than the general purpose area. Therefore we recommend the general purpose area unless you do not find the specific version you need in it. | ||
Line 10: | Line 8: | ||
Instead of trying to explain in details how the /cvmfs sub-directories are organized, we will limit ourselves in this wiki to give some relevant links about the general purpose area: | Instead of trying to explain in details how the /cvmfs sub-directories are organized, we will limit ourselves in this wiki to give some relevant links about the general purpose area: | ||
[ | |||
[http://lcginfo.cern.ch/ High-level description of the software packages and how they are grouped in LCG Configurations] <br> | |||
[http://ep-dep-sft.web.cern.ch/ Website of the SFT group managing what's in /cvmfs/sft.cern.ch] | [http://ep-dep-sft.web.cern.ch/ Website of the SFT group managing what's in /cvmfs/sft.cern.ch] | ||
==== Load a specific software repository ==== | |||
The software packages are grouped in LCG Configurations. In each of these configurations, you will normally find set of software versions that are compatible with each others. To get the list of LCG Configurations : | |||
The software packages are grouped in LCG Configurations. In each of these configurations, you will normally find set of software that are compatible with each others. To get the list of LCG Configurations : | <pre>/cvmfs/sft.cern.ch/lcg/views/checkSetupViews.sh</pre> | ||
Now, let's say you want to know more about the "LCG_93c" configuration : | Now, let's say you want to know more about the "LCG_93c" configuration : | ||
<pre>/cvmfs/sft.cern.ch/lcg/views/checkSetupViews.sh LCG_93c | |||
Available <arch-os-compiler> for LCG_93c : | |||
Available <arch-os- | |||
x86_64-centos7-gcc62-opt | x86_64-centos7-gcc62-opt | ||
x86_64-centos7-gcc7-dbg | x86_64-centos7-gcc7-dbg | ||
Line 28: | Line 25: | ||
x86_64-slc6-gcc62-opt | x86_64-slc6-gcc62-opt | ||
x86_64-slc6-gcc7-dbg | x86_64-slc6-gcc7-dbg | ||
</pre> | |||
If you are on an SL6 UI and we want gcc62, we have to issue the following command : | If you are on an SL6 UI and we want gcc62, we have to issue the following command : | ||
<pre>source /cvmfs/sft.cern.ch/lcg/views/setupViews.sh LCG_93c x86_64-slc6-gcc62-opt</pre> | |||
Check the version of gcc : | Check the version of gcc : | ||
<pre>$ gcc -v | |||
$ gcc -v | |||
Using built-in specs. | Using built-in specs. | ||
COLLECT_GCC=gcc | COLLECT_GCC=gcc | ||
Line 41: | Line 39: | ||
Thread model: posix | Thread model: posix | ||
gcc version 6.2.0 (GCC) | gcc version 6.2.0 (GCC) | ||
</pre> | |||
Line 48: | Line 47: | ||
To list all the available software: | To list all the available software: | ||
<pre> | <pre> | ||
/swmgrs/cmss/soft.pl --list | /swmgrs/cmss/soft.pl --list | ||
</pre> | </pre> | ||
Most used software are specific version of gcc that are needed, or a root or geant4 version. To find all the available gcc versions: | |||
<pre> | <pre> | ||
/swmgrs/cmss/soft.pl --versions gcc | /swmgrs/cmss/soft.pl --versions gcc | ||
Line 61: | Line 59: | ||
Now, to get a given version of gcc (4.6.2 in this example) : | Now, to get a given version of gcc (4.6.2 in this example) : | ||
<pre> | <pre> | ||
/swmgrs/cmss/soft.pl --load gcc/4.6.2 | /swmgrs/cmss/soft.pl --load gcc/4.6.2 | ||
</pre> | </pre> | ||
This prints the full path of the init.sh that you have to source to get the desired version of gcc : | This prints the full path of the init.sh that you have to source to get the desired version of gcc : | ||
<pre> | <pre> | ||
source /cvmfs/cms.cern.ch/slc6_amd64_gcc462/external/gcc/4.6.2/etc/profile.d/init.sh | source /cvmfs/cms.cern.ch/slc6_amd64_gcc462/external/gcc/4.6.2/etc/profile.d/init.sh | ||
Line 76: | Line 71: | ||
Let's now check the version of gfortran : | Let's now check the version of gfortran : | ||
<pre> | <pre> | ||
gfortran --version | gfortran --version |
Revision as of 09:33, 17 August 2018
Software available from the T2 UI machines
The T2 has many more software than what is available directly from the M machines. All are provided by cern's centrally managed files system called cvmfs.
They are divided in a CMS specific area and a more general area aimed at high energy in general.
The CMS specific area comes with a home brew script that makes it easy for searching specific versions of the software you need. However, the set-up is a lot more complicated than the general purpose area. Therefore we recommend the general purpose area unless you do not find the specific version you need in it.
General purpose area
Instead of trying to explain in details how the /cvmfs sub-directories are organized, we will limit ourselves in this wiki to give some relevant links about the general purpose area:
[http://lcginfo.cern.ch/ High-level description of the software packages and how they are grouped in LCG Configurations]
Website of the SFT group managing what's in /cvmfs/sft.cern.ch
Load a specific software repository
The software packages are grouped in LCG Configurations. In each of these configurations, you will normally find set of software versions that are compatible with each others. To get the list of LCG Configurations :
/cvmfs/sft.cern.ch/lcg/views/checkSetupViews.sh
Now, let's say you want to know more about the "LCG_93c" configuration :
/cvmfs/sft.cern.ch/lcg/views/checkSetupViews.sh LCG_93c Available <arch-os-compiler> for LCG_93c : x86_64-centos7-gcc62-opt x86_64-centos7-gcc7-dbg x86_64-slc6-gcc62-dbg x86_64-slc6-gcc62-opt x86_64-slc6-gcc7-dbg
If you are on an SL6 UI and we want gcc62, we have to issue the following command :
source /cvmfs/sft.cern.ch/lcg/views/setupViews.sh LCG_93c x86_64-slc6-gcc62-opt
Check the version of gcc :
$ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/cvmfs/sft.cern.ch/lcg/contrib/gcc/6.2.0native/x86_64-slc6/bin/../libexec/gcc/x86_64-pc-linux-gnu/6.2.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc-6.2.0/configure --prefix=/build/pmendez-sftnight/install-620local -with-system-zlib --disable-multilib --enable-languages=all Thread model: posix gcc version 6.2.0 (GCC)
CMS specific area
The T2 hosts many software that are packaged with specific versions of CMSSW but that can be used in a stand alone mode. A tool was designed to easily find what is available and which versions can be used.
To list all the available software:
/swmgrs/cmss/soft.pl --list
Most used software are specific version of gcc that are needed, or a root or geant4 version. To find all the available gcc versions:
/swmgrs/cmss/soft.pl --versions gcc
Now, to get a given version of gcc (4.6.2 in this example) :
/swmgrs/cmss/soft.pl --load gcc/4.6.2
This prints the full path of the init.sh that you have to source to get the desired version of gcc :
source /cvmfs/cms.cern.ch/slc6_amd64_gcc462/external/gcc/4.6.2/etc/profile.d/init.sh
Let's now check the version of gfortran :
gfortran --version GNU Fortran (GCC) 4.6.2