Re: [AMBER] Compiling Amber11 on Blue Gene/P

From: Jed W Pitera <pitera.us.ibm.com>
Date: Tue, 13 Sep 2011 14:09:51 -0700

Garo --

        1. Many FORTRAN compilers add a trailing underscore to external
names (e.g. functions & subroutines). This is a common issue when trying
to call FORTRAN from C and vice versa. There is usually a compiler option
to disable this feature. It is "-qnoextname" on IBM xlf compilers and
"-fno-underscoring" for GCC/gfortran. On UNIX/Linux systems you can use
"nm" to view the symbol tables in each object file to see what external
names are actually being produced by the compiler.

        2. It looks like you are trying to mix object files created by the
GNU fortran compiler (wrapped by mpif90) with those built with mpxlf90. If
you can, try building everything with mpxlf90.

--Jed
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Tue Sep 13 2011 - 14:30:03 PDT
Custom Search