# !#/bin/bash runname=runL1 if [ xxx$1 == "xxxO3" ] then O_OPTIONS="-O3" runname=runL1_O3 fi bash compileL if [ -f $runname ] then rm $runname fi SSE_OPTIONS="-msse -msse2 -msse3 -mssse3 -DHAVE_SSE" W_OPTIONS=" -Wno-variadic-macros -Wno-long-long -Wfatal-errors -Wno-deprecated" #-Wall -W -Wshadow -Wimplicit -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wmultichar -Wtrigraphs -Wpointer-arith -Wcast-align -Wreturn-type LIBS="-I/u/ikulakov/Vc/vc -I/u/ikulakov/Vc/Vc-0.2.92/build/local/include /u/ikulakov/Vc/Vc-0.2.92/build/local/lib/libVc.a" ELSE_OPTIONS="-fno-threadsafe-statics -ansi " # -pedantic" # g++ -o $runname runL1.C $O_OPTIONS $W_OPTIONS $LIBS $ELSE_OPTIONS $SSE_OPTIONS #echo g++ -o $runname runL1.C $O_OPTIONS $W_OPTIONS $LIBS $ELSE_OPTIONS $SSE_OPTIONS g++ -o $runname runL1.C $O_OPTIONS -msse -Wall -Wno-deprecated -DHAVE_SSE -g #-msse2 # g++ -o $runname runL1.C -O3 -msse -Wall -Wno-deprecated -DHAVE_SSE -ltbb -DTBB echo ---------------- End of compile ------------- if [ -f $runname ] then # ./$runname 1 /u/ikulakov/STAP/data/centr_100ev_07042009/ # ./$runname 15 /u/ikulakov/STAP/data/mbias_1000ev_25022010/ ./$runname 100 /u/ikulakov/STAP/data/mbias_1000ev_25022010_merged/ fi