Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
etf
cmssam
Commits
d42deba0
Commit
d42deba0
authored
Mar 25, 2010
by
Stefano Belforte
Browse files
use cmsarch in addition to cmsos, put patch for CERN, cleanup log
parent
9bd4f095
Changes
1
Show whitespace changes
Inline
Side-by-side
SiteTests/testjob/tests/CE-cms-analysis
View file @
d42deba0
...
@@ -29,19 +29,27 @@ else
...
@@ -29,19 +29,27 @@ else
echo
"ERROR: Neither VO_CMS_SW_DIR nor OSG_APP defined"
echo
"ERROR: Neither VO_CMS_SW_DIR nor OSG_APP defined"
exit
$SAME_ERROR
exit
$SAME_ERROR
fi
fi
if
[
`
uname
-n
|cut
-d
.
-f2-
`
==
"cern.ch"
]
;
then
echo
"running at CERN, hardset
\$
SW_DIR to /afs/cern.ch/cms/sw"
export
SW_DIR
=
/afs/cern.ch/cms/sw/
fi
echo
"CMS software location SW_DIR="
$SW_DIR
tmpfile
=
`
mktemp
/tmp/tmp.XXXXXXXXXX
`
tmpfile
=
`
mktemp
/tmp/tmp.XXXXXXXXXX
`
echo
"<pre>"
echo
"<pre>"
set
-x
# check for SL5
# check for SL5
libc25
=
1
libc25
=
1
if
!
[
-f
$SW_DIR
/common/cmsos
]
;
then
if
!
[
-f
$SW_DIR
/common/cmsos
]
;
then
echo
"
$SW_DIR
/
bi
n/cmsos not found"
echo
"
$SW_DIR
/
commo
n/cmsos not found
- force to SL5
"
slVersion
=
"slc5"
slVersion
=
"slc5"
else
else
osVersion
=
`
$SW_DIR
/common/cmsos
`
osVersion
=
`
$SW_DIR
/common/cmsos
`
echo
"osVersion="
$osVersion
echo
"osVersion from
\$
SW_DIR/common/cmsos ="
$osVersion
slVersion
=
`
echo
$osVersion
|cut
-d
'_'
-f1
`
cmsarch
=
`
$SW_DIR
/common/cmsarch
`
echo
"scram_arch from
\$
SW_DIR/common/cmsarch="
$cmsarch
slVersion
=
`
echo
$cmsarch
|cut
-d
'_'
-f1
`
fi
fi
echo
"slVersion="
$slVersion
echo
"slVersion="
$slVersion
if
!
[
-f
/lib/libc-2.5.so
]
;
then
if
!
[
-f
/lib/libc-2.5.so
]
;
then
...
@@ -49,7 +57,7 @@ if ! [ -f /lib/libc-2.5.so ] ; then
...
@@ -49,7 +57,7 @@ if ! [ -f /lib/libc-2.5.so ] ; then
libc25
=
0
libc25
=
0
fi
fi
if
!
[
$slVersion
==
"slc5"
]
;
then
if
!
[
$slVersion
==
"slc5"
]
;
then
echo
"<h3>
op.system = "
$osVersion
"
not an SL5 machine </h3>"
echo
"<h3> not an SL5 machine </h3>"
exit
$SAME_NOTICE
exit
$SAME_NOTICE
fi
fi
...
@@ -60,7 +68,7 @@ if [ $libc25 == "0" ] ; then
...
@@ -60,7 +68,7 @@ if [ $libc25 == "0" ] ; then
ls
-l
/lib/libc
*
ls
-l
/lib/libc
*
exit
$SAME_INFO
exit
$SAME_INFO
fi
fi
set
+x
# this test requires SLC5 arch, currently
# this test requires SLC5 arch, currently
export
SCRAM_ARCH
=
slc5_ia32_gcc434
export
SCRAM_ARCH
=
slc5_ia32_gcc434
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment