Re: AMBER: MPI for sander8

From: Thomas E. Cheatham, III <cheatham.chpc.utah.edu>
Date: Tue, 22 Feb 2005 10:22:18 -0700 (Mountain Standard Time)

> I'm trying to compile the parallel version of sander8 on a Linux
> cluster. The MPI library on the node seems to have second trailing
> underscore:
>
> nm /usr/local/mpi/lib/libmpich.a | grep mpi_init
> 00000000 W mpi_init__
> 00000000 T pmpi_init__
> 00000000 W mpi_initialized__
> 00000000 T pmpi_initialized__
>
> However the package compiled with either ifort or ifc (the Intel Fortran
> compilers version 8 or 7) only has one trailing underscore, which
> results in linking error. I was wondering if there's any way to
> reconcile this discrepancy without recompiling the MPI.

Depends on the compiler,

pgf77 -Msecond_underscore

With g77 or pathf90, make sure -fno-second-underscore is not defined...


-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber.scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
Received on Tue Feb 22 2005 - 17:53:00 PST
Custom Search