FIx bash
This commit is contained in:
parent
ffe05abaea
commit
d5941fcef9
@ -45,8 +45,9 @@ From: ubuntu:22.04
|
|||||||
|
|
||||||
echo source /opt/environment.sh >> /etc/bash.bashrc
|
echo source /opt/environment.sh >> /etc/bash.bashrc
|
||||||
|
|
||||||
|
|
||||||
%runscript
|
%runscript
|
||||||
exec /bin/bash $@
|
exec /bin/bash "$@"
|
||||||
|
|
||||||
%test
|
%test
|
||||||
ls /opt/champ/bin/vmc.mov1 || exit 1
|
ls /opt/champ/bin/vmc.mov1 || exit 1
|
||||||
|
@ -16,7 +16,7 @@ which ifort \
|
|||||||
|| apt install -y gfortran
|
|| apt install -y gfortran
|
||||||
|
|
||||||
if [ $CC = icx ] ; then
|
if [ $CC = icx ] ; then
|
||||||
export CFLAGS="-Ofast -g -qmkl=sequential -ftz -fma -march=core-avx2"
|
export CFLAGS="-Ofast -g -qmkl=sequential -fma -march=core-avx2"
|
||||||
export FCFLAGS="-Ofast -g -qmkl=sequential -ftz -fma -march=core-avx2 -ip"
|
export FCFLAGS="-Ofast -g -qmkl=sequential -ftz -fma -march=core-avx2 -ip"
|
||||||
else
|
else
|
||||||
export CFLAGS="-Ofast -g -march=core-avx2"
|
export CFLAGS="-Ofast -g -march=core-avx2"
|
||||||
|
Loading…
Reference in New Issue
Block a user