allocate.f has an extra set of return/end statments around line 100. Subroutine twh_allocate_maxmolty ends with a return/end followed by several blank lines and then another return/end pair. Gcc/gfortran returns an error of multiply defined 'main' routines and stops compilation. Removing the extra lines and return/end fixes the problem
Log in to post a comment.