Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

both ASYNC dynamic and static libraries in LDFLAGS in test/Makefile, conflict? #3

Closed
alvarovm opened this issue May 27, 2021 · 2 comments

Comments

@alvarovm
Copy link

Hi,
This is just a comment of an issue I found in the test/Makefile

Got this error while I was running the tests async_test_serial.exe

./async_test_serial.exe: symbol lookup error: /home/myuser/hdf5-async/vol-async/src/libh5async.so: undefined symbol: ABT_initialized

I noticed that LDFLAGS in the test/Makefile has:

LDFLAGS = $(DEBUG) -L$(ASYNC_DIR) -L$(ABT_DIR)/lib -L$(HDF5_DIR)/lib -Wl,-rpath=$(ASYNC_DIR) -Wl,-rpath=$(ABT_DIR)/lib -Wl,-rpath=$(HDF5_DIR)/lib -labt -lhdf5 -lh5async -lasynchdf5 -labt

So I removed '-lh5async' in LDFLAGS which is pointing to the dynamic library. Now the test async_test_serial.exe passed.

@qkoziol
Copy link
Contributor

qkoziol commented May 27, 2021

Argobots (https://www.argobots.org) is a dependency for building this package. Please build it and update the Makefile for where you have installed it.

@alvarovm
Copy link
Author

I have Argobots in /home/myuser/hdf5-async/vol-async/argobots/

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

No branches or pull requests

3 participants