[gpfsug-discuss] error compiling IOR on GPFS

KG spectrumscale at kiranghag.com
Fri Oct 12 11:39:12 BST 2018


Hi John

Yes, I am using latest version from this link.

Do I have to use any additional switches for compilation? I used following
sequence
./bootstrap
./configure
./make (fails)


On Fri, Oct 12, 2018 at 7:51 AM John Bent <johnbent at gmail.com> wrote:

> Kiran,
>
> Are you using the latest version of IOR?
> https://github.com/hpc/ior
>
> Thanks,
>
> John
>
> On Thu, Oct 11, 2018 at 10:39 PM KG <spectrumscale at kiranghag.com> wrote:
>
>> 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
>>
>> _______________________________________________
>> gpfsug-discuss mailing list
>> gpfsug-discuss at spectrumscale.org
>> http://gpfsug.org/mailman/listinfo/gpfsug-discuss
>>
> _______________________________________________
> gpfsug-discuss mailing list
> gpfsug-discuss at spectrumscale.org
> http://gpfsug.org/mailman/listinfo/gpfsug-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20181012/2c075fbb/attachment-0002.htm>


More information about the gpfsug-discuss mailing list