Skip to content

Commit

Permalink
Fix MPI build
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhollas committed Apr 3, 2022
1 parent a170cac commit 8161401
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion src/abin.F90
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ program abin
use mod_terampi_sh, only: move_new2old_terash
use mod_mpi, only: get_mpi_rank, mpi_barrier_wrapper
#ifdef USE_MPI
use mod_remd, only: remd_swap
use mod_remd, only: remd_swap, nswap
#endif
implicit none
real(DP) :: dt = 20.0D0, eclas = 0.0D0, equant = 0.0D0
Expand Down
2 changes: 0 additions & 2 deletions src/init.F90
Original file line number Diff line number Diff line change
Expand Up @@ -290,8 +290,6 @@ subroutine init(dt)
! Allocate all basic arrays and set them to 0.0d0
call allocate_arrays(natom, nwalk)

! TODO: I think this is wrongly placed!
! We don't have masses here, yet we pass them in to Plumed!
if (iplumed == 1) then
call plumed_init()
end if
Expand Down
1 change: 0 additions & 1 deletion src/mdstep.F90
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ subroutine initialize_integrator(dt, ipimd, inormalmodes, nshake, pot, pot_ref)
end if

! Selecting proper integrator for a given MD type
! (controlled by variable 'md')
if (ipimd == 2 .or. ipimd == 5) then
mdstep => verletstep
nabin = 1
Expand Down

0 comments on commit 8161401

Please sign in to comment.