[gmx-users] configure: error: cannot compute sizeof (off_t)

Mark Abraham Mark.Abraham at anu.edu.au
Sat Feb 19 04:50:57 CET 2011

On 19/02/2011 2:32 PM, Justin Kat wrote:
> Dear experts,
> I have installed Gromacs under the normal configuration and am now 
> attempting to install the mpi version of mdrun on a machine, however I 
> am getting this error during the configuration:
> configure: error: cannot compute sizeof (off_t)
> See `config.log' for more details.

That is usually the first test configure runs by compiling a test 
program, and if the compiler doesn't work (yet) then it fails also. I'd 
trouble-shoot your mpicc first.


> I cant seem to find anything in the config.log file that might point 
> me in the right direction.
> The command that I used to attempt to configure the mpi version is:
> ./configure --enable-mpi --program-suffix=_mpi 
> MPICC=/usr/lib64/openmpi/1.4-gcc/bin/mpicc
> I have also tried to append my path so that it includes these paths:
> /usr/lib64/openmpi/1.4-gcc/include
> /usr/lib64/openmpi/1.4-gcc/
> But it seems to have no effect so Im guessing there is somewhere else 
> I must look into.
> Appreciate any help!
> Thank you!

More information about the gromacs.org_gmx-users mailing list