On Thu, Jul 01, 2010, Yu Chen wrote:
>
> I added "-fno-underscoring" at the end of "FFLAGS .." and "FOPTFLAGS ..." lines.
I don't know where the idea of "no_underscoring" came from, but I'm pretty
sure it will do bad things to Amber. Amber has both Fortran and C code, and
assumes in many places that the fortran compiler will add an extra underscore,
as is the usual practice for Unix/Linux compilers. If you turn this off,
you should be prepared for lots of grunt work changing the code. I would
strongly recommend not trying to use this flag.
>
> > I still recommend using the configure_openmpi script. There should be no
> > need to manually edit the config.h file.
Above I guess is a dead horse, I guess. I've attached a "configure_mpich2"
script which should do the same thing for MPICH2 that configure_openmpi does
for OpenMPI: provide an installation of MPI where you don't have to add or
subtract flags, or edit config.h files, and which should work under most
circumstances.
....dac
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Thu Jul 01 2010 - 15:00:06 PDT