[gpfsug-discuss] error compiling IOR on GPFS

KG spectrumscale at kiranghag.com
Fri Oct 12 05:38:19 BST 2018


Hi Folks

I am trying to compile IOR on a GPFS filesystem and running into following
errors.

Github forum says that "The configure script does not add -lgpfs to the
CFLAGS when it detects GPFS support."

Any help on how to get around this?

mpicc -DHAVE_CONFIG_H -I.     -g -O2 -MT aiori-MPIIO.o -MD -MP -MF
.deps/aiori-MPIIO.Tpo -c -o aiori-MPIIO.o aiori-MPIIO.c
aiori-MPIIO.c: In function ‘MPIIO_Xfer’:
aiori-MPIIO.c:236:24: warning: assignment from incompatible pointer type
[enabled by default]
                 Access = MPI_File_write;
                        ^
aiori-MPIIO.c:237:27: warning: assignment from incompatible pointer type
[enabled by default]
                 Access_at = MPI_File_write_at;
                           ^
aiori-MPIIO.c:238:28: warning: assignment from incompatible pointer type
[enabled by default]
                 Access_all = MPI_File_write_all;
                            ^
aiori-MPIIO.c:239:31: warning: assignment from incompatible pointer type
[enabled by default]
                 Access_at_all = MPI_File_write_at_all;
                               ^
mv -f .deps/aiori-MPIIO.Tpo .deps/aiori-MPIIO.Po
mpicc  -g -O2   -o ior ior.o utilities.o parse_options.o aiori-POSIX.o
aiori-MPIIO.o     -lm
aiori-POSIX.o: In function `gpfs_free_all_locks':
/gpfs/Aramco_POC/ior-master/src/aiori-POSIX.c:118: undefined reference to
`gpfs_fcntl'
aiori-POSIX.o: In function `gpfs_access_start':
aiori-POSIX.c:(.text+0x91f): undefined reference to `gpfs_fcntl'
aiori-POSIX.o: In function `gpfs_access_end':
aiori-POSIX.c:(.text+0xa04): undefined reference to `gpfs_fcntl'
collect2: error: ld returned 1 exit status
make[2]: *** [ior] Error 1
make[2]: Leaving directory `/gpfs/Aramco_POC/ior-master/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/gpfs/Aramco_POC/ior-master/src'
make: *** [all-recursive] Error 1

Kiran
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20181012/b1b980ad/attachment.htm>


More information about the gpfsug-discuss mailing list