[gmx-users] Compilation issue with F77_FUNC functions?
Michael Shirts
mrshirts at gmail.com
Mon Dec 9 01:44:55 CET 2013
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?
More information about the gromacs.org_gmx-users
mailing list