>>
>> 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 don't know either. It's just a requirement for the other program. And I do agree that it causes lots of troubles. I dropped this flag already. I am just going to installed two MPICH2.
>
>>
>>> 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.
Thanks a lot for your help!
Chen
> ....dac
>
> <configure_mpich2.txt>_______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Fri Jul 02 2010 - 07:00:03 PDT