Skip to content

Commit

Permalink
Use only realloc-lhs instead of realloc-lhs-all
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrack committed Dec 3, 2019
1 parent 751739d commit 7aeb86b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions arch/Linux-x86-64-gfortran-regtest.pdbg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Tested with: GFortran 7.4.0, MPICH 3.3, LAPACK 3.8.0, ScaLAPACK 2.0.2, FFTW 3.3, Libint 2.6.0, Libxc 4.3.4, ELPA 2019.05.001, PLUMED 2.5.2
# Author: Matthias Krack (matthias.krack@psi.ch, PSI, November 2019)
# Author: Matthias Krack (matthias.krack@psi.ch, PSI, Dezember 2019)
CC = mpicc
FC = mpif90
LD = mpif90
Expand All @@ -20,7 +20,7 @@ DFLAGS = -D__ELPA -D__FFTW3 -D__LIBINT -D__LIBXC \
-D__parallel -D__SCALAPACK -D__CHECK_DIAG
WFLAGS = -Waliasing -Wampersand -Wc-binding-type -Wconversion \
-Wintrinsic-shadow -Wintrinsics-std -Wline-truncation \
-Wno-tabs -Wrealloc-lhs-all -Wtarget-lifetime -Wunderflow \
-Wno-tabs -Wrealloc-lhs -Wtarget-lifetime -Wunderflow \
-Wunused-but-set-variable -Wunused-dummy-argument -Wunused-variable \
-Werror
FCFLAGS = $(CFLAGS) -std=f2008 \
Expand Down
4 changes: 2 additions & 2 deletions arch/Linux-x86-64-gfortran-regtest.psmp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Tested with: GFortran 7.4.0, MPICH 3.3, LAPACK 3.8.0, ScaLAPACK 2.0.2, FFTW 3.3, Libint 2.6.0, Libxc 4.3.4, ELPA 2019.05.001, PLUMED 2.5.2
# Author: Matthias Krack (matthias.krack@psi.ch, PSI, November 2019)
# Author: Matthias Krack (matthias.krack@psi.ch, PSI, Dezember 2019)
CC = mpicc
FC = mpif90
LD = mpif90
Expand All @@ -20,7 +20,7 @@ DFLAGS = -D__ELPA -D__FFTW3 -D__LIBINT -D__LIBXC \
CFLAGS = -fopenmp -g -march=native
WFLAGS = -Waliasing -Wampersand -Wc-binding-type -Wconversion \
-Wintrinsic-shadow -Wintrinsics-std -Wline-truncation \
-Wno-tabs -Wrealloc-lhs-all -Wtarget-lifetime -Wunderflow \
-Wno-tabs -Wrealloc-lhs -Wtarget-lifetime -Wunderflow \
-Wunused-but-set-variable -Wunused-dummy-argument -Wunused-variable \
-Werror
FCFLAGS = $(CFLAGS) -std=f2008 \
Expand Down
4 changes: 2 additions & 2 deletions arch/Linux-x86-64-gfortran-regtest.sdbg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Tested with: GFortran 7.4.0, FFTW 3.3, LAPACK 3.8.0, Libint 2.6.0, Libxc 4.3.4
# Author: Matthias Krack (matthias.krack@psi.ch, PSI, November 2019)
# Author: Matthias Krack (matthias.krack@psi.ch, PSI, Dezember 2019)
CC = gcc
FC = gfortran
LD = gfortran
Expand All @@ -14,7 +14,7 @@ DFLAGS = -D__FFTW3 -D__LIBINT -D__LIBXC -D__CHECK_DIAG
CFLAGS = -g -march=native
WFLAGS = -Waliasing -Wampersand -Wc-binding-type -Wconversion \
-Wintrinsic-shadow -Wintrinsics-std -Wline-truncation \
-Wno-tabs -Wrealloc-lhs-all -Wtarget-lifetime -Wunderflow \
-Wno-tabs -Wrealloc-lhs -Wtarget-lifetime -Wunderflow \
-Wunused-but-set-variable -Wunused-dummy-argument -Wunused-variable \
-Werror
FCFLAGS = $(CFLAGS) -std=f2008 \
Expand Down
4 changes: 2 additions & 2 deletions arch/Linux-x86-64-gfortran-regtest.ssmp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Tested with: GFortran 7.4.0, FFTW 3.3, LAPACK 3.8.0, Libint 2.6.0, Libxc 4.3.4
# Author: Matthias Krack (matthias.krack@psi.ch, PSI, November 2019)
# Author: Matthias Krack (matthias.krack@psi.ch, PSI, Dezember 2019)
CC = gcc
FC = gfortran
LD = gfortran
Expand All @@ -14,7 +14,7 @@ DFLAGS = -D__FFTW3 -D__LIBINT -D__LIBXC -D__CHECK_DIAG
CFLAGS = -fopenmp -g -march=native
WFLAGS = -Waliasing -Wampersand -Wc-binding-type -Wconversion \
-Wintrinsic-shadow -Wintrinsics-std -Wline-truncation \
-Wno-tabs -Wrealloc-lhs-all -Wtarget-lifetime -Wunderflow \
-Wno-tabs -Wrealloc-lhs -Wtarget-lifetime -Wunderflow \
-Wunused-but-set-variable -Wunused-dummy-argument -Wunused-variable \
-Werror
FCFLAGS = $(CFLAGS) -std=f2008 \
Expand Down

0 comments on commit 7aeb86b

Please sign in to comment.