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
OpenMPI
Option 3: use a different MPI, say mpich2
See these previous posts:
http://archive.ambermd.org/201610/0109.html
...dac
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Tue Oct 18 2016 - 06:30:06 PDT