I am building trunk on the Cray xc30. I get the following warning during link (static link) ../../../orte/.libs/libopen-rte.a(session_dir.o): In function `orte_session_dir_get_name': session_dir.c:(.text+0x226): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /nics/c/home/bouteill/DARTER/ompi-fast/opal/.libs/libopen-pal.a(if.o): In function `opal_ifaddrtoname': if.c:(.text+0x222): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /nics/c/home/bouteill/DARTER/ompi-fast/opal/.libs/libopen-pal.a(evutil.o): In function `opal_libevent2021_evutil_getaddrinfo_common': evutil.c:(.text+0x19fb): warning: Using 'getprotobynumber' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
Of course, the resulting code does crash in getpwuid. I know Nathan has successfully compiled for cray machines. What’s the trick ? Aurelien -- ~~~ Aurélien Bouteiller, Ph.D. ~~~ ~ Research Scientist @ ICL ~ The University of Tennessee, Innovative Computing Laboratory 1122 Volunteer Blvd, suite 309, Knoxville, TN 37996 tel: +1 (865) 974-9375 fax: +1 (865) 974-8296 https://icl.cs.utk.edu/~bouteill/
signature.asc
Description: Message signed with OpenPGP using GPGMail