# Compile modes (specified by user) : oasis3 on titane if [ $compile_mode = default ]; then optc=" " optf="-convert big_endian -xHost" optf77="-convert big_endian -xHost" optl="-xHost" elif [ $compile_mode = debug ]; then optc=" " optf="" optf77="" optl="" elif [ $compile_mode = profile ]; then optc=" " optf="" optf77="" optl="" elif [ $compile_mode = opt ]; then optc="" optf="" optf77="" optl="" elif [ $compile_mode = ad_hoc ]; then echo "with this option the options are set through GUI input" exit 1 else echo "Invalid compile mode" exit 1 fi # Other compile options optdbl="-i4 -r8" optnh="" lstflags=""