diff --git a/make_for_tracy3.sh b/make_for_tracy3.sh index c025b3a063b6e16b975860c6f8f6cdd6507712f2..98fce5bec7e30e75ba960a8a85f20ebc3aba4e21 100755 --- a/make_for_tracy3.sh +++ b/make_for_tracy3.sh @@ -47,7 +47,7 @@ fi #dirName=/nfs/tegile/work/sources/physmach/blanco-garcia/codes if [ $1 == "opt" ] -then +then CC=icc CXX=icpc LDFLAGS="-L$dirnName/nrecipes/recipes_c-ansi/lib/" ./configure --prefix=$dir/$TRACY/tracy FFLAGS="-O2 -Wall -fbounds-check" CFLAGS="-O2 -Wall -fno-implicit-templates" CXXFLAGS="-O2 -Wall -fno-implicit-templates" # CC=gcc CXX=g++ LDFLAGS=" -L$dirnName/nrecipes/recipes_c-ansi/lib/ " ./configure FFLAGS="-O2 -Wall -fbounds-check " CFLAGS=" -Wall -ansi -fno-implicit-templates -Wunused-label -Wunused-dummy-argument -Wunused-variable " CXXFLAGS="-O2 -Wall -ansi " fi @@ -67,7 +67,6 @@ currentver="$(gcc -dumpversion)" echo "GCC is $currentver" requiredver="9.2.0" if [ "$(printf '%s\n' "$requiredver" "$currentver" | sort -V | head -n1)" = "$requiredver" ]; then - then CC=gcc CXX=g++ LDFLAGS="-L$NUM_REC/lib/ -I/usr/local/applications/tools/openmpi/4.1.1/include -L/usr/local/applications/tools/openmpi/4.1.1/lib -lmpi" ./configure --enable-mpi-exec FFLAGS="-O2 -Wall -fbounds-check " CFLAGS="-O2 -Wall -ansi " CXXFLAGS="-O2 -Wall -ansi -fno-implicit-templates -I/usr/local/applications/tools/openmpi/4.1.1/include -L/usr/local/applications/tools/openmpi/4.1.1/lib -lmpi_cxx -fopenmp " else # newer gcc versions require extra fortran flags @@ -80,4 +79,6 @@ fi make #make install DESTDIR=/usr/local/applis_pa/codes/tracy/bin -make install DESTDIR=~ +#make install DESTDIR=~ +make install DESTDIR=$dir/$TRACY/build +echo $dir/$TRACY/build