Very well for this good news.
.Case I have used MPICH3.2 to compile cpu-mpi version of amber16, but the
same error occur. As your suggestion, I am using MPICH3.1.4 to recompile it.
2016-10-18 21:22 GMT+08:00 Daniel Roe <daniel.r.roe.gmail.com>:
> In addition to Dave's suggestions, I am currently working on a patch
> to AmberTools that addresses this. Should be out today or tomorrow.
>
> -Dan
>
> On Tue, Oct 18, 2016 at 9:08 AM, David A Case <david.case.rutgers.edu>
> wrote:
> > 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
>
>
>
> --
> -------------------------
> Daniel R. Roe
> Laboratory of Computational Biology
> National Institutes of Health, NHLBI
> 5635 Fishers Ln, Rm T900
> Rockville MD, 20852
> https://www.lobos.nih.gov/lcb
>
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber
>
--
Lei Zhao, Ph.D.
International Joint Cancer Institute of the Second Military Medical
University
National Engineering Research Center for Antibody Medicine
New Library Building 11th floor,800 Xiang Yin Road
Shanghai 200433
P.R.China
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Tue Oct 18 2016 - 07:30:02 PDT