Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
etf
cmssam
Commits
aee26552
Commit
aee26552
authored
Jun 16, 2021
by
Edita Kizinevic
Browse files
Select automatically CMSSW version for the default scram architecture
parent
3137a27a
Changes
2
Hide whitespace changes
Inline
Side-by-side
SiteTests/FroNtier/tests/CE-cms-frontier
View file @
aee26552
...
...
@@ -22,21 +22,6 @@ fi
tmpfile
=
`
mktemp
/tmp/tmp.XXXXXXXXXX
`
osVersion
=
`
$SW_DIR
/common/cmsos
`
echo
"osVersion: "
$osVersion
slVersion
=
`
echo
$cmsarch
|cut
-d
'_'
-f1
`
if
[[
$osVersion
==
slc6
*
]]
;
then
cmsarch
=
slc6_amd64_gcc530
elif
[[
$osVersion
==
slc7
*
]]
;
then
cmsarch
=
slc7_amd64_gcc530
else
echo
"ERROR: unknown OS"
echo
"summary: UNKN_OS"
exit
$SAME_ERROR
fi
echo
"scram_arch: "
$cmsarch
export
SCRAM_ARCH
=
$cmsarch
source
$SW_DIR
/cmsset_default.sh
>
$tmpfile
2>&1
result
=
$?
export
BUILD_ARCH
=
$SCRAM_ARCH
...
...
SiteTests/FroNtier/tests/CMSSW_frontier.sh
View file @
aee26552
...
...
@@ -14,7 +14,7 @@ printf "node: $node\n"
#
# Choose CMSSW version
#
cmsswvsn
=
CMSSW_9_0_0
cmsswvsn
=
"
`
scram l |
grep
-B
1
"cms.cern.ch"
|
grep
" CMSSW"
|
tail
-1
|
awk
'{print $2}'
`
"
#
#export SCRAM_ARCH=slc6_amd64_gcc491
# Check that environmental variable SAME_OK is set
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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