[gpfsug-discuss] error compiling IOR on GPFS

KG spectrumscale at kiranghag.com
Tue Oct 16 17:44:08 BST 2018


Thanks Olaf

It worked.

On Fri, Oct 12, 2018, 13:43 Olaf Weiser <olaf.weiser at de.ibm.com> wrote:

> I think the step you are missing is this...
>
>
>
>
> ./configure LIBS=/usr/lpp/mmfs/lib/libgpfs.so
> make
>
>
> Mit freundlichen Grüßen / Kind regards
>
>
> Olaf Weiser
>
> EMEA Storage Competence Center Mainz, German / IBM Systems, Storage
> Platform,
>
> -------------------------------------------------------------------------------------------------------------------------------------------
> IBM Deutschland
> IBM Allee 1
> 71139 Ehningen
> Phone: +49-170-579-44-66
> E-Mail: olaf.weiser at de.ibm.com
>
> -------------------------------------------------------------------------------------------------------------------------------------------
> IBM Deutschland GmbH / Vorsitzender des Aufsichtsrats: Martin Jetter
> Geschäftsführung: Martina Koederitz (Vorsitzende), Susanne Peter, Norbert
> Janzen, Dr. Christian Keller, Ivo Koerner, Markus Koerner
> Sitz der Gesellschaft: Ehningen / Registergericht: Amtsgericht Stuttgart,
> HRB 14562 / WEEE-Reg.-Nr. DE 99369940
>
>
>
> From:        KG <spectrumscale at kiranghag.com>
> To:        gpfsug main discussion list <gpfsug-discuss at spectrumscale.org>
> Date:        10/12/2018 12:40 PM
> Subject:        Re: [gpfsug-discuss] error compiling IOR on GPFS
> Sent by:        gpfsug-discuss-bounces at spectrumscale.org
> ------------------------------
>
>
>
> 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*
> <johnbent at gmail.com>> wrote:
> Kiran,
>
> Are you using the latest version of IOR?
> *https://github.com/hpc/ior* <https://github.com/hpc/ior>
>
> Thanks,
>
> John
>
> On Thu, Oct 11, 2018 at 10:39 PM KG <*spectrumscale at kiranghag.com*
> <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://spectrumscale.org>
> *http://gpfsug.org/mailman/listinfo/gpfsug-discuss*
> <http://gpfsug.org/mailman/listinfo/gpfsug-discuss>
> _______________________________________________
> gpfsug-discuss mailing list
> gpfsug-discuss at *spectrumscale.org* <http://spectrumscale.org>
> *http://gpfsug.org/mailman/listinfo/gpfsug-discuss*
> <http://gpfsug.org/mailman/listinfo/gpfsug-discuss>
> _______________________________________________
> 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/20181016/714fba0a/attachment.htm>


More information about the gpfsug-discuss mailing list