Skip to content
Snippets Groups Projects
Commit 4fb3ce54 authored by BLANCO-GARCIA's avatar BLANCO-GARCIA
Browse files

fix bug; and changes output dir

parent e1a84266
Branches
No related tags found
No related merge requests found
...@@ -67,7 +67,6 @@ currentver="$(gcc -dumpversion)" ...@@ -67,7 +67,6 @@ currentver="$(gcc -dumpversion)"
echo "GCC is $currentver" echo "GCC is $currentver"
requiredver="9.2.0" requiredver="9.2.0"
if [ "$(printf '%s\n' "$requiredver" "$currentver" | sort -V | head -n1)" = "$requiredver" ]; then 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 " 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 else
# newer gcc versions require extra fortran flags # newer gcc versions require extra fortran flags
...@@ -80,4 +79,6 @@ fi ...@@ -80,4 +79,6 @@ fi
make make
#make install DESTDIR=/usr/local/applis_pa/codes/tracy/bin #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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment