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

From: jacky zhao <jackyzhao010.gmail.com>
Date: Tue, 18 Oct 2016 18:41:32 +0800

Hi everyone,
 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:

 Thank you for your help.

Jacky

mpicxx -Wall -Wno-unused-function -c -I/home/user/amber16/include -O3
-mtune=native -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DBINTRAJ
-DHASGZ -DHASBZ2 -D__PLUMED_HAS_DLOPEN -DMPI
-I/home/user/amber16/include -DUSE_SANDERLIB -o FileIO_Mpi.o
FileIO_Mpi.cpp

FileIO_Mpi.cpp: In member function 'virtual int FileIO_Mpi::Seek(off_t)':

FileIO_Mpi.cpp:33:28: error: 'SEEK_SET' was not declared in this scope

   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;

                        ^

make[4]: *** [FileIO_Mpi.o] Error 1

make[4]: Leaving directory `/home/user/amber16/AmberTools/src/cpptraj/src'

make[3]: *** [parallel] Error 2

make[3]: Leaving directory `/home/user/amber16/AmberTools/src/cpptraj'

make[2]: *** [cpptraj] Error 2

make[2]: Leaving directory `/home/user/amber16/AmberTools/src'

make[1]: *** [parallel] Error 2

make[1]: Leaving directory `/home/user/amber16/AmberTools/src'

make: *** [install] Error 2
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Tue Oct 18 2016 - 04:00:03 PDT
Custom Search