+
Skip to content

Building MANA on non-NERSC cluster #402

@ggdurand2

Description

@ggdurand2

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 -lxml2 cat 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 function__sbrk':
/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 to __munmap' 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 function munmap':
/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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载