On Tue, Oct 21, 2014 at 9:04 AM, WeiGuang He <c212heweiguang@gmail.com> wrote:
1 In the 'bin' directory containing mpif90, the following command shows ifort is used.
$./mpif90 -v

mpifort for MPICH version 3.1.2

ifort version 14.0.3

2 ifort -mcmodel=medium won't work. 

If ifort did not work, you may try to build MPICH with gfortran 

Since large array could not work with mpich in my computer,
I downloaded openmpi and now it is working fine. The parallel code being modified from the serial
version
is now working.

Thank you for your attention