[mvapich-discuss] mvapich2 compilation problem: ad_lustre_open.c

Gerd Brand brand at rrzn.uni-hannover.de
Fri May 6 07:02:54 EDT 2011


Dear MVAPICH Team,

I use the following to install mvapich2-1.7a:

./configure CC=icc CXX=icpc F77=ifort FC=ifort \
--prefix=/sw/comm/mvapich2/1.7a-intel \
--enable-romio \
--with-file-system=lustre+nfs \
--without-mpe \
--enable-f77 --enable-fc \
--enable-shared \
--enable-sharedlibs=gcc \
--enable-debuginfo --enable-g=dbg \
--with-pmi=simple \
--enable-xrc \
--with-hwloc \
--enable-smpcoll

make


The following error occurs when making Lustre ADIO:

------------------------
compiling ROMIO in directory adio/ad_lustre
make[5]: Entering directory 
`/gfs1/work/hzfbgbra/mpi/mvapich2/mvapich2-1.7a-intel/src/mpi/romio/adio/ad_lustre'
icc 
-I/gfs1/work/hzfbgbra/mpi/mvapich2/mvapich2-1.7a-intel/src/mpl/include 
-I/gfs1/work/hzfbgbra/mpi/mvapich2/mvapich2-1.7a-intel/src/mpl/include 
-I/gfs1/work/hzfbgbra/mpi/mvapich2/mvapich2-1.7a-intel/src/openpa/src 
-I/gfs1/work/hzfbgbra/mpi/mvapich2/mvapich2-1.7a-intel/src/openpa/src 
-I/gfs1/work/hzfbgbra/mpi/mvapich2/mvapich2-1.7a-intel/src/mpid/ch3/include 
-I/gfs1/work/hzfbgbra/mpi/mvapich2/mvapich2-1.7a-intel/src/mpid/ch3/include 
-I/gfs1/work/hzfbgbra/mpi/mvapich2/mvapich2-1.7a-intel/src/mpid/common/datatype 
-I/gfs1/work/hzfbgbra/mpi/mvapich2/mvapich2-1.7a-intel/src/mpid/common/datatype 
-I/gfs1/work/hzfbgbra/mpi/mvapich2/mvapich2-1.7a-intel/src/mpid/common/locks 
-I/gfs1/work/hzfbgbra/mpi/mvapich2/mvapich2-1.7a-intel/src/mpid/common/locks 
-I/gfs1/work/hzfbgbra/mpi/mvapich2/mvapich2-1.7a-intel/src/mpid/ch3/channels/mrail/include 
-I/gfs1/work/hzfbgbra/mpi/mvapich2/mvapich2-1.7a-intel/src/mpid/ch3/channels/mrail/include 
-I/gfs1/work/hzfbgbra/mpi/mvapich2/mvapich2-1.7a-intel/src/mpid/ch3/channels/mrail/src/gen2 
-I/gfs1/work/hzfbgbra/mpi/mvapich2/mvapich2-1.7a-intel/src/mpid/ch3/channels/mrail/src/gen2 
-I/gfs1/work/hzfbgbra/mpi/mvapich2/mvapich2-1.7a-intel/src/mpid/common/locks 
-I/gfs1/work/hzfbgbra/mpi/mvapich2/mvapich2-1.7a-intel/src/mpid/common/locks 
-I/gfs1/work/hzfbgbra/mpi/mvapich2/mvapich2-1.7a-intel/src/util/wrappers 
-I/gfs1/work/hzfbgbra/mpi/mvapich2/mvapich2-1.7a-intel/src/util/wrappers    
-g -DNDEBUG -DNVALGRIND -O2  -DFORTRANUNDERSCORE -D_LARGEFILE64_SOURCE 
-D_FILE_OFFSET_BITS=64 -DHAVE_ROMIOCONF_H -D_LARGEFILE64_SOURCE 
-D_FILE_OFFSET_BITS=64 -I. 
-I/gfs1/work/hzfbgbra/mpi/mvapich2/mvapich2-1.7a-intel/src/mpi/romio/adio/ad_lustre/../include 
-I../include -I../../include 
-I/gfs1/work/hzfbgbra/mpi/mvapich2/mvapich2-1.7a-intel/src/mpi/romio/adio/ad_lustre/../../../../include 
-I../../../../include -c ad_lustre_open.c
/gfs1/work/hzfbgbra/mpi/mvapich2/mvapich2-1.7a-intel/src/mpi/romio/adio/ad_lustre/../include/adio.h(171): 
warning #147: declaration is incompatible with 
"ssize_t={__ssize_t={long}} readlink(const char *restrict, char 
*restrict, size_t={unsigned long})" (declared at line 773 of 
"/usr/include/unistd.h")
   int readlink(const char *path, char *buf, size_t bufsiz);
       ^

ad_lustre_open.c(115): error: struct "<unnamed>" has no field "ignore_locks"
               fd->hints->fs_hints.lustre.ignore_locks = 0;
                                          ^

ad_lustre_open.c(123): error: struct "<unnamed>" has no field "ignore_locks"
           fd->fd_direct != -1 && fd->hints->fs_hints.lustre.ignore_locks) {
                                                             ^

ad_lustre_open.c(130): error: struct "<unnamed>" has no field "ignore_locks"
               fd->hints->fs_hints.lustre.ignore_locks = 0;
                                          ^

compilation aborted for ad_lustre_open.c (code 2)

-------------------------------

and indeed in src/mpi/romio/adio/include/adioi.h:

     union {
             struct {
                     int listio_read;
                     int listio_write;
             } pvfs;
             struct {
                     int debugmask;
                     int posix_read;
                     int posix_write;
                     int listio_read;
                     int listio_write;
                     int dtype_read;
                     int dtype_write;
             } pvfs2;
             struct {
                     int start_iodevice;
                     int co_ratio;
                     int coll_threshold;
                     int ds_in_coll;
             } lustre;
                 struct {
                         unsigned read_chunk_sz; /* chunk size for 
direct reads */
                         unsigned write_chunk_sz; /* chunk size for 
direct writes */
                 } xfs;
     } fs_hints;

there is no "ignore_locks".

Any hints would be greatly appreciated.

Kind regards
Gerd


-- 

Dr. rer. nat. Gerd Brand
High Performance Computing
Regionales Rechenzentrum fuer Niedersachsen
Leibniz Universitaet Hannover
Schlosswender Str. 5, D-30159 Hannover
Tel +49 511 762 5131
Fax +49 511 762 3003
Email brand at rrzn.uni-hannover.de
www.rrzn.uni-hannover.de
www.hlrn.de



More information about the mvapich-discuss mailing list