Re: [AMBER] error of amber16 mpi version using open-mpi

From: David A Case <>
Date: Tue, 18 Oct 2016 09:08:14 -0400

On Tue, Oct 18, 2016, jacky zhao wrote:

> open-mpi version is 2.0.1. and open-mpi example test is passed.
> I have used open-mpi to compile cuda and cuda.mpi verion of amber16 without
> any problems. But error was encountered in the cpu-mpi version of amber16.
> The information are list below:
> if (pfile_.Fseek(offset, SEEK_SET)) return 1;
> FileIO_Mpi.cpp: In member function 'virtual int FileIO_Mpi::Rewind()':
> FileIO_Mpi.cpp:39:24: error: 'SEEK_SET' was not declared in this scope
> if (pfile_.Fseek(0L, SEEK_SET)) return 1;
> ^

Option 1: use an older version of OpenMPI.
Option 2: use the patch suggested below, or get the github version of
Option 3: use a different MPI, say mpich2

See these previous posts:


AMBER mailing list
Received on Tue Oct 18 2016 - 06:30:06 PDT
Custom Search