Re: update woes on ubuntu 18.04

399 views
Skip to first unread message

Jeffrey S. Oishi

unread,
May 7, 2018, 9:37:14 PM5/7/18
to dedalu...@googlegroups.com
Hi Christopher,

I've just installed dedalus using the install script on 18.04, and I can't reproduce this problem. Did you do a fresh update of 18.04 or did you upgrade an earlier ubuntu version? If the latter, could you do

$ which mpirun

and let me know what it says? Can you run any mpi programs? That is, does a simple hello_world.c mpi program work?

j

On Thu, May 3, 2018 at 11:52 AM Christopher Marcotte <christophe...@gmail.com> wrote:
I upgraded ubuntu to 18.04 and dedalus has broken. I tried to in-place update, and it all goes through without any errors, but trying to run any examples leads to an error about a missing mpi.h:

from mpi4py import MPI
ImportError: libmpi.so.12: cannot open shared object file: No such file or directory

Then I tried re-installing dedalus, and the error remains.

I've attached the install log.

CM

--
You received this message because you are subscribed to the Google Groups "Dedalus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dedalus-user...@googlegroups.com.
To post to this group, send email to dedalu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dedalus-users/d51b317e-9c9f-4fab-80c9-8ac872e09caf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Christopher Marcotte

unread,
May 8, 2018, 6:55:20 AM5/8/18
to Dedalus Users
Hi Jeff, I upgraded from 16.04. 

which mpirun points at /usr/bin/mpirun, both with and without dedalus activated. 

I was eventually able to reinstall the system with the script by first removing the dedalus directory that was already there -- something I probably should have tried after updating in place before posting on the forum, but thank you for taking a look at things.

CM

Jeffrey S. Oishi

unread,
May 8, 2018, 8:38:37 AM5/8/18
to dedalu...@googlegroups.com
Hi Chris,

Ah, yeah. Probably what was happening was that mpi4py was not rebuilt when you tried to reinstall in place. Ubuntu moved the location of the MPI libraries between 16 and 17; you can see the effect of that here:

https://bitbucket.org/dedalus-project/dedalus/src/8692db00847363af9b518765f9e098cde62abc18/docs/install.sh#lines-349

This meant that although everything seemed ok, mpi4py couldn't find the MPI libraries because they moved.

A clean install in a new directory is often the fix for things like this...Sorry for the headache!

Jeff

louisalexan...@gmail.com

unread,
Sep 28, 2018, 7:05:34 AM9/28/18
to Dedalus Users
Hi Jeff,

Just to follow-up, so it's fine to have a dedalus install on ubuntu 18.04 as long as we first have ubuntu 18.04, then install dedalus?

Thanks
Louis

Reply all
Reply to author
Forward
0 new messages