Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Merge branch 'debug'
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Jan 27, 2022
2 parents 69b8ffc + f4fb1ae commit 4c828ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile.Defines
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ LINKS = -L$(MKLROOT)/lib/intel64 -L$(NETCDF_FORTRAN_HOME)/lib -lswiftest -lnetc
FSTRICTFLAGS = $(IPRODUCTION) $(STRICTREAL)
FFLAGS = $(IPRODUCTION) -fp-model=fast

FSTRICTFLAGS = $(ADVIXE_FLAGS) $(PAR) $(SIMDVEC) $(STRICTREAL)
FFLAGS = $(ADVIXE_FLAGS) $(PAR) $(SIMDVEC) -fp-model=fast
# FSTRICTFLAGS = $(ADVIXE_FLAGS) $(PAR) $(SIMDVEC) $(STRICTREAL)
# FFLAGS = $(ADVIXE_FLAGS) $(PAR) $(SIMDVEC) -fp-model=fast
FORTRAN = ifort
AR = xiar
CC = icc
Expand Down
2 changes: 1 addition & 1 deletion src/util/util_get_energy_momentum.f90
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ subroutine util_get_energy_potential_triangular(npl, lmask, GMcb, Gmass, mass, x
do concurrent(j = i+1:npl, lmask(i) .and. lmask(j))
pepl(j) = - (Gmass(i) * mass(j)) / norm2(xb(:, i) - xb(:, j))
end do
pe = pe + sum(pepl(i+1:npl), lmask(i) .and. lmask(j))
pe = pe + sum(pepl(i+1:npl), lmask(i))
end do
!$omp end parallel do
pe = pe + sum(pecb(1:npl), lmask(1:npl))
Expand Down

0 comments on commit 4c828ec

Please sign in to comment.