mpickpt / mana

MANA for MPI
35 stars 24 forks source link

Building MANA on non-NERSC cluster #402

Open ggdurand2 opened 3 months ago

ggdurand2 commented 3 months ago

Hello,

When building MANA on CentOS Linux release 7.4.1708, gcc 9.1.0, and mpich 3.2, I get the following error message: if mpicc -v 2>&1 | grep -q 'MPICH version'; then \ rm -f tmp1.sh; \ mpicc -show -static -Wl,--wrap -Wl,__munmap -Wl,--wrap -Wl,shmat -Wl,--wrap -Wl,shmget -o lh_proxy_da -Wl,-start-group \ lh_proxy.o libproxy.a gethostbyname-static/gethostbyname_static.o -L$HOME/mpich-static/usr/lib64 -lmpi -L$HOME/local_install/lib -llzma -lz -lm -lxml2 -lrt -lpthread -lc -ldl -Wl,-end-group | \ sed -e 's^-lunwind ^ ^'> tmp1.sh; \ sh tmp1.sh; \ rm -f tmp1.sh; \ elif false; then \ make libnl3.a; \ mpicc -static -Wl,--wrap -Wl,__munmap -Wl,--wrap -Wl,shmat -Wl,--wrap -Wl,shmget -o lh_proxy_da -Wl,-start-group \ lh_proxy.o libproxy.a gethostbyname-static/gethostbyname_static.o -L$HOME/mpich-static/usr/lib64 -lmpi -L$HOME/local_install/lib -llzma -lz -lm -lxml2cat static_libs.txt-ldl -Wl,--end-group; \ else \ mpicc -static -Wl,--wrap -Wl,__munmap -Wl,--wrap -Wl,shmat -Wl,--wrap -Wl,shmget -o lh_proxy_da -Wl,-start-group \ lh_proxy.o libproxy.a gethostbyname-static/gethostbyname_static.o -L$HOME/mpich-static/usr/lib64 -lmpi -L$HOME/local_install/lib -llzma -lz -lm -lxml2 -lrt -lpthread -lc -ldl -Wl,-end-group; \ fi libproxy.a(sbrk.o): In functionsbrk': /mana/mpi-proxy-split/lower-half/sbrk.c:105: undefined reference to `brk' libproxy.a(munmap.o): In function munmap': /mana/mpi-proxy-split/lower-half/munmap.c:110: undefined reference tomunmap' collect2: error: ld returned 1 exit status libproxy.a(sbrk.o): In function `sbrk': /mana/mpi-proxy-split/lower-half/sbrk.c:105: undefined reference to __brk' libproxy.a(munmap.o): In functionmunmap': /mana/mpi-proxy-split/lower-half/munmap.c:110: undefined reference to __munmap' collect2: error: ld returned 1 exit status make[3]: *** [lh_proxy] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: *** [lh_proxy_da] Error 1 make[3]: Leaving directory/mana/mpi-proxy-split/lower-half' make[2]: [../bin/lh_proxy] Error 2 make[2]: Leaving directory `/mana/mpi-proxy-split' make[1]: [install] Error 2 make[1]: Leaving directory /mana/mpi-proxy-split' make: *** [mana] Error 2

Any help with this matter is much appreciated. Thank you for your time.

Best,

Georges Graduate student from the University of Illinois at Urbana Champaign