First, a reminder; larger, text based listings should be attached as .txt files, rather than included directly in the post. Please review the READ BEFORE POSTING topic.

Note that once you upgrade your GCC compiler suite, to run CHARMM in parallel you will probably also need to build an MPI library with the same GCC suite being used to build CHARMM, and with Fortran90 support enabled.
_________________________
Rick Venable
computational chemist