Skip to content
Snippets Groups Projects
Commit 1881b8a7 authored by Vogt, Georg's avatar Vogt, Georg
Browse files

Added compiler options

-std=f95 → Fortran 95 standard: no tab allowed
-fmax-errors=3 → show only the first 3 errors, usely first error leads
to alot more cryptic errors
parent cc34af0d
No related branches found
No related tags found
No related merge requests found
......@@ -26,6 +26,6 @@ if test "$1" == *f95; then
echo "Gib deinen Programmnamen ohne .f95 an. Dieses Suffix wird automatisch ergänzt"
exit 1
fi
f95 "$1.f95" -o "$1" -Wall -fcheck=all && echo "$2" | "./$1" ' > ~/zih_home/bin/frun
f95 "$1.f95" -o "$1" -std=f95 -Wall -fmax-errors=3 -fcheck=all && echo "$2" | "./$1" ' > ~/zih_home/bin/frun
chmod a+rwx ~/zih_home/bin/frun
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment