Extend C++ tests for Intel compiler.
This commit is contained in:
parent
22d2269798
commit
50a2136a8b
1 changed files with 3 additions and 6 deletions
|
@ -6,11 +6,11 @@
|
||||||
# Chrsitoph Niethammer <niethammer@hlrs.de> (C) 2011
|
# Chrsitoph Niethammer <niethammer@hlrs.de> (C) 2011
|
||||||
#
|
#
|
||||||
|
|
||||||
compilers="pgi gcc cray"
|
compilers="pgi gcc cray intel"
|
||||||
|
|
||||||
compiler_version_cmd() {
|
compiler_version_cmd() {
|
||||||
case $1 in
|
case $1 in
|
||||||
cray|gcc)
|
cray|gcc|intel)
|
||||||
cmd="CC --version"
|
cmd="CC --version"
|
||||||
;;
|
;;
|
||||||
pgi)
|
pgi)
|
||||||
|
@ -39,11 +39,8 @@ swap_env() {
|
||||||
module swap $currentPrgEnv PrgEnv-$newPrgEnv
|
module swap $currentPrgEnv PrgEnv-$newPrgEnv
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
pwd
|
|
||||||
|
|
||||||
for compiler in $compilers; do
|
for compiler in $compilers; do
|
||||||
for version in $(module av $compiler -l 2>&1 | awk "/^$compiler/{print \$1}" | awk -F'/' '{print $2}'); do
|
for version in $(module av $compiler -l 2>&1 | awk "/^$compiler\//{print \$1}" | awk -F'/' '{print $2}'); do
|
||||||
logfile="$compiler-$version.log"
|
logfile="$compiler-$version.log"
|
||||||
echo -en "testing $compiler/$version ... "
|
echo -en "testing $compiler/$version ... "
|
||||||
error=0
|
error=0
|
||||||
|
|
Loading…
Reference in a new issue