This commit is contained in:
root 2024-04-11 16:40:33 +02:00
parent ffe05abaea
commit d5941fcef9
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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"