[gmx-developers] Re: ./configure issue

Michael Shirts mrshirts at gmail.com
Wed Dec 7 00:13:22 CET 2005


> Date: Tue, 6 Dec 2005 10:06:24 +0100
> From: Erik Lindahl <lindahl at sbc.su.se>
> Subject: Re: [gmx-developers] ./configure issue?
> To: Discussion list for GROMACS development
>         <gmx-developers at gromacs.org>
>
> Fixed now in the head branch too.

Thanks for getting on it that fast!   ./configure now runs fine.

I'm now running into a compilation problem with the cvs version -- the
errors are as follows:

In file included from ewald_util.c:50:
../../include/fftgrid.h:79: error: parse error before "rfftwnd_plan"
../../include/fftgrid.h:79: warning: no semicolon at end of struct or union
../../include/fftgrid.h:80: warning: type defaults to `int' in
declaration of `plan_bw'
../../include/fftgrid.h:80: warning: data definition has no type or
storage class
../../include/fftgrid.h:87: warning: type defaults to `int' in
declaration of `t_fftgrid'
../../include/fftgrid.h:87: warning: data definition has no type or
storage class
../../include/fftgrid.h:89: error: parse error before '*' token
../../include/fftgrid.h:90: warning: type defaults to `int' in
declaration of `mk_fftgrid'
../../include/fftgrid.h:90: warning: data definition has no type or
storage class
../../include/fftgrid.h:96: error: parse error before "t_fftgrid"
../../include/fftgrid.h:99: error: parse error before '*' token
../../include/fftgrid.h:102: error: parse error before '*' token
../../include/fftgrid.h:108: error: parse error before '*' token
../../include/fftgrid.h:111: error: parse error before '*' token

Looking at the code referenced:

typedef struct {
    t_fft_r *ptr;
    t_fft_r *localptr;
    t_fft_r *workspace;
    int      nx,ny,nz,la2r,la2c,la12r,la12c;
  int      nptr,nxyz;
#ifndef GMX_WITHOUT_FFTW
    rfftwnd_plan     plan_fw;
    rfftwnd_plan     plan_bw;
#ifdef GMX_MPI
    rfftwnd_mpi_plan plan_mpi_fw;
    rfftwnd_mpi_plan plan_mpi_bw;
    t_parfft         pfft;
#endif
#endif
} t_fftgrid;

Is this a problem with the macro defintions, or with the
configuration?  Grepping through the source, I don't see rfftwnd_plan
actually defined anywhere as a type.

Best,
Michael



More information about the gromacs.org_gmx-developers mailing list