check_platform_desy

Go to the documentation of this file.
00001   if [ -x /usr/afsws/bin/fs ];then
00002     SYSNAME=`/usr/afsws/bin/fs sysname | sed -e "s/Current sysname \(list \)\?is //" | sed -e "s/'//" | sed -e "s/'.*//"`
00003   elif [ -x /usr/bin/fs ]; then
00004     SYSNAME=`/usr/bin/fs sysname | sed -e "s/Current sysname \(list \)\?is //" | sed -e "s/'//" | sed -e "s/'.*//"`
00005   fi
00006 
00007   # fix sysnames for NAF
00008   if ( echo $SYSNAME| grep linux26 ) then
00009       SYSNAME=${SYSNAME/linux26/rhel40}
00010       echo Fixing SYSNAME for NAF to $SYSNAME
00011   fi
00012 
00013   # fix for SL5 systems: rhel50 -> rhel40
00014   if ( echo $SYSNAME| grep rhel50 ) then
00015       SYSNAME=${SYSNAME/rhel50/rhel40}
00016       export GFORTRAN=1
00017       echo Fixing SYSNAME for SL5 system to $SYSNAME
00018   fi
00019 
00020   export SYSNAME
00021   echo Current sysname is $SYSNAME
00022 

Generated on Wed Aug 31 09:44:47 2011 for HepMCAnalysis by  doxygen 1.4.7