Thanks Olaf It worked.
On Fri, Oct 12, 2018, 13:43 Olaf Weiser <[email protected]> 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: [email protected] > > ------------------------------------------------------------------------------------------------------------------------------------------- > 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 <[email protected]> > To: gpfsug main discussion list <[email protected]> > Date: 10/12/2018 12:40 PM > Subject: Re: [gpfsug-discuss] error compiling IOR on GPFS > Sent by: [email protected] > ------------------------------ > > > > 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 <*[email protected]* > <[email protected]>> 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 <*[email protected]* > <[email protected]>> 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 >
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
