openmpi not linking

14 views
Skip to first unread message

Pedro Valdez

unread,
Nov 15, 2023, 9:21:26 PM11/15/23
to cpseis-user
MPICH2 is long gone, as it requires python2, that almost every linux has removed. Now find gcc 13 will not compile MPICH3, due to compilers becoming more pedantic. So I tried openmpi. But the build fails at the make icps stage.

undefined reference to symbol 'opal_error_register'
error adding symbols: DSO missing from command line

Search engine finds little about opal_error_register.
Has anybody else had this problem, and did you solve it?

Lewis Goss

unread,
Nov 15, 2023, 10:47:54 PM11/15/23
to cpsei...@googlegroups.com
Dear Pedro:

I installed gcc and gfortran 9 (which is not the default) under most recent version of ubuntu (default is v11).

I was able to install using openmpi, which I recommend also, and I am using the most recent main branch of ubuntu, which is Ubuntu 22.043 LTS. 


--
You received this message because you are subscribed to the Google Groups "cpseis-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cpseis-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cpseis-user/81a7acc7-277c-46bd-aea2-58656247da47n%40googlegroups.com.

Pedro Valdez

unread,
Nov 16, 2023, 7:00:12 AM11/16/23
to cpseis-user
Someone else told me they used openmpi in Debian 11. I guess I stuffed something up trying to install openmpi over a broken MPICH mess. Anyhow, I found MPICH 4.1 works. It just takes a lot longer to compile, as these things get more bloated.
Reply all
Reply to author
Forward
0 new messages