[mpich-discuss] Installing mpich

Anthony Chan chan at mcs.anl.gov
Wed Sep 21 11:23:51 CDT 2011



----- Original Message -----

> when i execute the command mpif90 -v, i get following error. Any solution
> for this linking issue sir
> 
> 
> /usr/lib/gcc/x86_64-redhat-linux/4.1.2/libgfortranbegin.a(fmain.o): In
> function `main':
> (.text+0xa): undefined reference to `MAIN__'
> collect2: ld returned 1 exit status

Don't worry about that. MPICH-1's fortran compiler wrapper isn't careful about
this case.  Try using mpif90 to compile a fortran MPI program and see if it runs.
Again, we don't support it so you are on your own.

A.Chan


More information about the mpich-discuss mailing list