diff --git a/make_for_tracy3.sh b/make_for_tracy3.sh index 8e34e58a887705f8cd9e59afb389d7fbb1baa826..e73f7a80dda08a46da9a032651499def76496585 100755 --- a/make_for_tracy3.sh +++ b/make_for_tracy3.sh @@ -13,6 +13,7 @@ then # affiche l'usage echo "Missing parameter" echo "Use: $0 debug for debug" echo "Use: $0 opt for optimization result" + echo "Use: $0 mpi for optimization result" exit 1 fi @@ -46,5 +47,10 @@ then ./configure --prefix=$dir/$TRACY/tracy FFLAGS="-O2 -Wall -fbounds-check" CFLAGS="-O2 -Wall -fno-implicit-templates" CXXFLAGS="-O2 -Wall -fno-implicit-templates" fi -make -make install +if [ $1 == "mpi" ] +then +./configure --enable-mpi-exec --prefix=$dir/$TRACY/tracy FFLAGS="-O2 -Wall -fbounds-check" CFLAGS="-O2 -Wall -fno-implicit-templates" CXXFLAGS="-O2 -Wall -fno-implicit-templates" +fi + +#make +#make install