[gmx-users] Compilation issue with F77_FUNC functions?
Roland Schulz
roland at utk.edu
Mon Dec 9 04:30:22 CET 2013
Hi,
what compiler is used by mpicc? What does "mpicc -showme" and "mpicc
--version" show? Does it help to uncomment the line containing F77_FUNC int
src/config.h.cmakein?
Roland
On Sun, Dec 8, 2013 at 7:44 PM, Michael Shirts <mrshirts at gmail.com> wrote:
> So, I'm trying to compile with MPI using mpich3. Previous
> installations worked, and installations without MPI worked. I'm
> getting errors like:
>
> /h3/n1/shirtsgroup/gromacs_46/gromacs/src/gmxlib/cinvsqrtdata.c:53:
> warning: parameter names (without types) in function declaration
> /h3/n1/shirtsgroup/gromacs_46/gromacs/src/gmxlib/cinvsqrtdata.c:53:
> error: function ‘F77_FUNC’ is initialized like a variable
> /h3/n1/shirtsgroup/gromacs_46/gromacs/src/gmxlib/cinvsqrtdata.c:56:
> warning: braces around scalar initializer
> /h3/n1/shirtsgroup/gromacs_46/gromacs/src/gmxlib/cinvsqrtdata.c:56:
> warning: (near initialization for ‘F77_FUNC’)
> /h3/n1/shirtsgroup/gromacs_46/gromacs/src/gmxlib/cinvsqrtdata.c:57:
> error: invalid initializer
> /h3/n1/shirtsgroup/gromacs_46/gromacs/src/gmxlib/cinvsqrtdata.c:57:
> error: (near initialization for ‘F77_FUNC’)
> /h3/n1/shirtsgroup/gromacs_46/gromacs/src/gmxlib/cinvsqrtdata.c:57:
> warning: excess elements in scalar initializer
> /h3/n1/shirtsgroup/gromacs_46/gromacs/src/gmxlib/cinvsqrtdata.c:57:
> warning: (near initialization for ‘F77_FUNC’)
> /h3/n1/shirtsgroup/gromacs_46/gromacs/src/gmxlib/cinvsqrtdata.c:57:
> warning: excess elements in scalar initializer
> /h3/n1/shirtsgroup/gromacs_46/gromacs/src/gmxlib/cinvsqrtdata.c:57:
> warning: (near initialization for ‘F77_FUNC’)
>
> And it keeps on like that for a long while.
>
> Any suggestions? Perhaps something wrong in the way mpicc is handling
> Fortran code?
> --
> Gromacs Users mailing list
>
> * Please search the archive at
> http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List before
> posting!
>
> * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
>
> * For (un)subscribe requests visit
> https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users or
> send a mail to gmx-users-request at gromacs.org.
>
>
>
>
>
--
ORNL/UT Center for Molecular Biophysics cmb.ornl.gov
865-241-1537, ORNL PO BOX 2008 MS6309
More information about the gromacs.org_gmx-users
mailing list