Failure on installation of UPC++ to Frontera

40 views
Skip to first unread message

LeAnn Lindsey

unread,
Sep 16, 2021, 5:23:30 PM9/16/21
to up...@googlegroups.com
Hello.  I am trying to install UPC++ in order to run MetaHipMer and the installation process went fine, no errors, but I had an error when I tested the install.  I would appreciate any help you can give me. 
Thank you,
LeAnn Lindsey

c202-029[clx](55)$ gmake tests-clean test_install
Removing tests for smp.
Removing tests for udp.
Removing tests for mpi.
Removing tests for ibv.
Testing UPC++ installation at /home1/08002/tg873019/src/upcxx_build...
========
Compiling for UPCXX_CODEMODE=debug UPCXX_THREADMODE=seq
========
Compiling test-hello_upcxx-udp                                         SUCCESS
+ env UPCXX_CODEMODE=debug UPCXX_THREADMODE=seq UPCXX_NETWORK=ibv /home1/08002/tg873019/src/upcxx_build/bin/upcxx /home1/08002/tg873019/src/upcxx-2021.3.0/test/hello_upcxx.cpp -o test-hello_upcxx-ibv
g++: error: unrecognized command line option ‘-wd177’
g++: error: unrecognized command line option ‘-wd279’
g++: error: unrecognized command line option ‘-wd1572’
Compiling test-hello_upcxx-ibv                                         FAILED
Compiling test-hello_upcxx-smp                                         SUCCESS

Result reports: /home1/08002/tg873019/src/upcxx_build/test-results/c202-029.frontera.tacc.utexas.edu_2021-09-16_16:22:05

FAILED to compile 1 of 3 tests

gmake[2]: *** [do-tests] Error 1

********
UPC++ test_install failed. Please report the ENTIRE log above to: up...@googlegroups.com
********

gmake[2]: *** [failure] Error 1
gmake[1]: *** [test_install] Error 1
gmake: *** [test_install] Error 2
c202-029[clx](56)$ 

Paul H. Hargrove

unread,
Sep 16, 2021, 6:02:58 PM9/16/21
to LeAnn Lindsey, UPC++
LeAnn,

The messages you report show that the `g++` compiler has been given some flags I recognize as specific to Intel's C++ compiler, `icpc`.
This most likely means that you have an `mpicxx` which used `icpc` when UPC++ was configured and/or built, but is now using `g++`.

I would hope that having the same environment modules loaded as when you built MetaHipMer would be sufficient.
However, since I am not familiar with the environment modules on Frontera, I cannot make specific recommendations.

If you cannot determine a proper set of environment modules to load, setting `OMPI_CXX=icpc` in your environment might achieve the desired outcome.
However, that is fragile in other ways and should be considered a last resort.

-Paul

--
You received this message because you are subscribed to the Google Groups "UPC++" group.
To unsubscribe from this group and stop receiving emails from it, send an email to upcxx+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/upcxx/363ACD84-8E29-4DF1-8D11-197A12C28A30%40icloud.com.


--
Paul H. Hargrove <PHHar...@lbl.gov>
Pronouns: he, him, his
Computer Languages & Systems Software (CLaSS) Group
Computer Science Department
Lawrence Berkeley National Laboratory

LeAnn Lindsey

unread,
Sep 17, 2021, 11:37:09 AM9/17/21
to Paul H. Hargrove, UPC++
Thanks, I changed my modules by adding gcc/9.1.0 and tried again and now I get this error.

c202-033[clx](123)$ make tests-clean test_install
Removing tests for smp.
Removing tests for udp.
Removing tests for mpi.
Removing tests for ibv.
Testing UPC++ installation at /home1/08002/tg873019/src/upcxx_build...
========
Compiling for UPCXX_CODEMODE=debug UPCXX_THREADMODE=seq
========
Compiling test-hello_upcxx-udp                                         SUCCESS
+ env UPCXX_CODEMODE=debug UPCXX_THREADMODE=seq UPCXX_NETWORK=ibv /home1/08002/tg873019/src/upcxx_build/bin/upcxx /home1/08002/tg873019/src/upcxx-2021.3.0/test/hello_upcxx.cpp -o test-hello_upcxx-ibv
/opt/apps/gcc/9.1.0/bin/ld: /home1/08002/tg873019/src/upcxx_build/gasnet.debug/lib/libgasnet-ibv-seq.a(gasnet_bootstrap_mpi-SEQ.o): in function `gasneti_bootstrapInit_mpi':
/home1/08002/tg873019/src/bld/GASNet-2021.3.0/other/mpi-spawner/gasnet_bootstrap_mpi.c:75: undefined reference to `MPI_Initialized'
/opt/apps/gcc/9.1.0/bin/ld: /home1/08002/tg873019/src/bld/GASNet-2021.3.0/other/mpi-spawner/gasnet_bootstrap_mpi.c:112: undefined reference to `MPI_Query_thread'
/opt/apps/gcc/9.1.0/bin/ld: /home1/08002/tg873019/src/bld/GASNet-2021.3.0/other/mpi-spawner/gasnet_bootstrap_mpi.c:122: undefined reference to `MPI_Init_thread'
/opt/apps/gcc/9.1.0/bin/ld: /home1/08002/tg873019/src/bld/GASNet-2021.3.0/other/mpi-spawner/gasnet_bootstrap_mpi.c:142: undefined reference to `MPI_Comm_group'
/opt/apps/gcc/9.1.0/bin/ld: /home1/08002/tg873019/src/bld/GASNet-2021.3.0/other/mpi-spawner/gasnet_bootstrap_mpi.c:144: undefined reference to `MPI_Comm_create'
/opt/apps/gcc/9.1.0/bin/ld: /home1/08002/tg873019/src/bld/GASNet-2021.3.0/other/mpi-spawner/gasnet_bootstrap_mpi.c:146: undefined reference to `MPI_Group_free'
/opt/apps/gcc/9.1.0/bin/ld: /home1/08002/tg873019/src/bld/GASNet-2021.3.0/other/mpi-spawner/gasnet_bootstrap_mpi.c:150: undefined reference to `MPI_Comm_size'
/opt/apps/gcc/9.1.0/bin/ld: /home1/08002/tg873019/src/bld/GASNet-2021.3.0/other/mpi-spawner/gasnet_bootstrap_mpi.c:155: undefined reference to `MPI_Comm_rank'
/opt/apps/gcc/9.1.0/bin/ld: /home1/08002/tg873019/src/upcxx_build/gasnet.debug/lib/libgasnet-ibv-seq.a(gasnet_bootstrap_mpi-SEQ.o): in function `bootstrapFini':
/home1/08002/tg873019/src/bld/GASNet-2021.3.0/other/mpi-spawner/gasnet_bootstrap_mpi.c:172: undefined reference to `MPI_Finalized'
/opt/apps/gcc/9.1.0/bin/ld: /home1/08002/tg873019/src/bld/GASNet-2021.3.0/other/mpi-spawner/gasnet_bootstrap_mpi.c:177: undefined reference to `MPI_Comm_free'
/opt/apps/gcc/9.1.0/bin/ld: /home1/08002/tg873019/src/bld/GASNet-2021.3.0/other/mpi-spawner/gasnet_bootstrap_mpi.c:186: undefined reference to `MPI_Finalize'
/opt/apps/gcc/9.1.0/bin/ld: /home1/08002/tg873019/src/upcxx_build/gasnet.debug/lib/libgasnet-ibv-seq.a(gasnet_bootstrap_mpi-SEQ.o): in function `bootstrapAbort':
/home1/08002/tg873019/src/bld/GASNet-2021.3.0/other/mpi-spawner/gasnet_bootstrap_mpi.c:191: undefined reference to `MPI_Abort'
/opt/apps/gcc/9.1.0/bin/ld: /home1/08002/tg873019/src/upcxx_build/gasnet.debug/lib/libgasnet-ibv-seq.a(gasnet_bootstrap_mpi-SEQ.o): in function `bootstrapBarrier':
/home1/08002/tg873019/src/bld/GASNet-2021.3.0/other/mpi-spawner/gasnet_bootstrap_mpi.c:201: undefined reference to `MPI_Barrier'
/opt/apps/gcc/9.1.0/bin/ld: /home1/08002/tg873019/src/upcxx_build/gasnet.debug/lib/libgasnet-ibv-seq.a(gasnet_bootstrap_mpi-SEQ.o): in function `bootstrapExchange':
/home1/08002/tg873019/src/bld/GASNet-2021.3.0/other/mpi-spawner/gasnet_bootstrap_mpi.c:219: undefined reference to `MPI_Allgather'
Compiling test-hello_upcxx-ibv                                         FAILED
Compiling test-hello_upcxx-smp                                         SUCCESS

Result reports: /home1/08002/tg873019/src/test-results/c202-033.frontera.tacc.utexas.edu_2021-09-17_10:31:19

FAILED to compile 1 of 3 tests

make[2]: *** [do-tests] Error 1

********
UPC++ test_install failed. Please report the ENTIRE log above to: up...@googlegroups.com
********

make[2]: *** [failure] Error 1
make[1]: *** [test_install] Error 1
make: *** [test_install] Error 2
c202-033[clx](124)$ module list

Currently Loaded Modules:
  1) git/2.24.1      3) cmake/3.20.3   5) hwloc/1.11.12   7) TACC        9) python3/3.8.2
  2) autotools/1.2   4) pmix/3.1.4     6) xalt/2.10.27    8) gcc/9.1.0  10) impi/19.0.9

 


Any direction would be very helpful.  I don’t have much experience with this, since my background is in biology and I am just hoping to run Metahipmer.

LeAnn
Reply all
Reply to author
Forward
0 new messages