Skip to content
This repository has been archived by the owner on Feb 24, 2018. It is now read-only.

Error building IOR #32

Open
tanthony1 opened this issue Aug 30, 2016 · 1 comment
Open

Error building IOR #32

tanthony1 opened this issue Aug 30, 2016 · 1 comment

Comments

@tanthony1
Copy link

tanthony1 commented Aug 30, 2016

Configure finds gpfs.h and gpfs_hcntl.h

checking gpfs.h usability... yes
checking gpfs.h presence... yes
checking for gpfs.h... yes
checking gpfs_fcntl.h usability... yes
checking gpfs_fcntl.h presence... yes
checking for gpfs_fcntl.h... yes

However 'make errors out -
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':/home/xxxx/ior-master/src/aiori-POSIX.c:118: undefined reference togpfs_fcntl'
aiori-POSIX.o: In function gpfs_access_start': /home/xxxx/ior-master/src/aiori-POSIX.c:141: undefined reference togpfs_fcntl'
aiori-POSIX.o: In function gpfs_access_end': /home/xxxx/ior-master/src/aiori-POSIX.c:165: undefined reference togpfs_fcntl'
collect2: error: ld returned 1 exit status
make[1]: *** [ior] Error 1
make[1]: Leaving directory `/home/xxxx/ior-master/src'
make: *** [all] Error 2

Thought this issue was fixed #15, however i'm running in to same trouble.

@roblatham00
Copy link

To be clear, no IOR release has the patch in #15 . not even git. Are you applying it by hand?

What's supposed to happen is that if configure finds gpfs.h it will then go look for the gpfs libraries. If it cannot find those libraries it will error out.

Your make command does not have any gpfs libraries in it, so either my patch is totally busted (might be), or you haven't applied it.

You might want to give the https://github.com/IOR-LANL/ior fork a try. They've accepted all my pull requests: if that fork doesn't work for you then we'll know my change has a flaw.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants