WRITE from a Module in a Subroutine

My immediate suspicion then is your do loop nest, check what the values for rep_vdw are with beforehand.

1 Like