[mvapich-discuss] Build error with --enable-romio --with-file-system=panfs

Christopher Harrop - NOAA Affiliate christopher.w.harrop at noaa.gov
Fri May 3 15:40:40 EDT 2019


Hi,

I am trying to build/install mvapich2 2.3.1 for Intel TrueScale IB with gcc 4.8.5.

I am using the following configure:

	./configure --prefix=${INSTALLDIR}/${path} --with-pmi=pmi2 --with-pm=slurm --with-slurm=/apps/slurm/default --with-device=ch3:psm --enable-romio --with-file-system=panfs

The configure completes successfully, but the build stops with the following error:

  CC       adio/ad_panfs/ad_panfs.lo
  CC       adio/ad_panfs/ad_panfs_open6.lo
  CC       adio/ad_panfs/ad_panfs_hints.lo
  CC       adio/ad_panfs/ad_panfs_read.lo
adio/ad_panfs/ad_panfs_open6.c: In function ‘ADIOI_PANFS_Open6’:
adio/ad_panfs/ad_panfs_open6.c:344:29: error: ‘O_CONCURRENT_WRITE’ undeclared (first use in this function)
             amode = amode | O_CONCURRENT_WRITE;
                             ^
adio/ad_panfs/ad_panfs_open6.c:344:29: note: each undeclared identifier is reported only once for each function it appears in

When I open pan_fs_client_cw_mode.h, which is where O_CONCURRENT_WRITE should be defined, I see this:

/* UNSUPPORTED: O_CONCURRENT_WRITE is no longer supported.  This flag used to
 * allow files to be opened in concurrent write mode when passed as an open
 * flag.  Linux kernels starting at 4.4.77 no longer allow unrecognized flags to
 * be passed to the filesystem on open().  Use the PAN_FS_CLIENT_CW_MODE_OPEN
 * ioctl or the panfs_cw_open() inline function instead.  See below.
 *
 * #define O_CONCURRENT_WRITE                         020000000000
 */

So, indeed, it is not defined.  How should I proceed?  Should I patch ad_panfs_open6.c to use PAN_FS_CLIENT_CW_MODE_OPEN_IOCTL instead of O_CONCURRENT_WRITE?  It’s not clear to me what that note is telling me to do.

Chris
-----------------------------------------------------------------------------------------------------------
Christopher W. Harrop                               email: christopher.w.harrop at noaa.gov <mailto:christopher.w.harrop at noaa.gov>
Global Systems Division                                                          voice: (303) 497-6808 <tel:%28303%29%20497-6808>
NOAA Earth System Research Laboratory                               fax: (303) 497-7259 <tel:%28303%29%20497-7259>
325 Broadway R/GSD2
Boulder, CO 80303



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cse.ohio-state.edu/pipermail/mvapich-discuss/attachments/20190503/6e9d2ba6/attachment.html>


More information about the mvapich-discuss mailing list