Use command line arguments to test only for specific compilers.
This commit is contained in:
parent
50a2136a8b
commit
26ca628568
1 changed files with 4 additions and 0 deletions
|
@ -39,6 +39,10 @@ swap_env() {
|
||||||
module swap $currentPrgEnv PrgEnv-$newPrgEnv
|
module swap $currentPrgEnv PrgEnv-$newPrgEnv
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if [ ! -z $1 ] ; then
|
||||||
|
compilers=$@
|
||||||
|
fi
|
||||||
|
|
||||||
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"
|
||||||
|
|
Loading…
Reference in a new issue