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

comex_nbacc undefined #104

Open
jeffdaily opened this issue Apr 19, 2018 · 3 comments
Open

comex_nbacc undefined #104

jeffdaily opened this issue Apr 19, 2018 · 3 comments

Comments

@jeffdaily
Copy link
Member

jeffdaily commented Apr 19, 2018

This was originally reported via email from Luke Roskop from the GAMESS team.

Using GA --with-dmapp.

I am looking at different armci network setups that employ ComEx. On Titan (Cray Gemini network), I run into the following link error.

armci.c:(.text+0xfba): undefined reference to `comex_nbacc'

Looking at the following libraries:

nm --demangle libarmci.a |grep -ir comex_nbacc
                 U comex_nbacc
                 U comex_nbaccs
                 U comex_nbaccv
0000000000002092 T comex_nbaccs
00000000000025b3 T comex_nbaccv

nm --demangle libcomex.a |grep -ir comex_nbacc
0000000000002092 T comex_nbaccs
00000000000025b3 T comex_nbaccv

In my GA build, it does not appear that `comex_nbacc’ is defined.

Any Ideas?

@jeffhammond
Copy link
Member

ARMCI_NbAcc used to be a #define to ARMCI_NbAccS back in the day and I suspect that is the issue here. You just have to add comex_nbacc that calls comex_nbaccs or something like that.

@jeffdaily
Copy link
Member Author

We fixed this same issue in other comex implementations, like #44. Clearly we don't use test or use our dmapp one. Cray provides a cray-ga module. I advised this user to avoid our dmapp implementation.

@jeffhammond
Copy link
Member

@jeffdaily It depends on the workload but I recall that the NWChem team uses MPI-PR instead of a DMAPP/uGNI version of ARMCI/ComEx on Cray machines. The DMAPP/uGNI ports have never worked reliably for me. Normally, I'd say that ARMCI-MPI is reliable, but it is currently blocked by a Cray MPI bug 🙁

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

2 participants