Mac Installation / Docker Issues

50 views
Skip to first unread message

tylerwh...@gmail.com

unread,
Dec 11, 2019, 12:21:01 AM12/11/19
to bempp
Apologies if this isn't the right place for this, I can't seem to access the bug reporting interface on bitbucket.

I've been trying to install BEMPP on MacOS Catalina without any success.

It seems that installation via homebrew is not supported any more and the installation from source also does not work on Mac.

I've tried going the Docker route and set up a jupyter notebook using

docker run -it --rm -v $(pwd):/home/bempp/work -p 8888:8888 bempp/notebook

However, the examples seem to crash the notebook.  I've tried all of the maxwell's equation demos, for example


which crash the notebook with the following message:

The kernel appears to have died. It will restart automatically.

This happens at the cell containing

slp_pot = bempp.api.operators.potential.maxwell.electric_field(
    div_space, points, k)

but I've also had this error when running other cells, like the LU decomposition.

Unexpected end of /proc/mounts line `overlay / overlay rw,relatime,lowerdir=/var/lib/docker/overlay2/l/3O77FIUBF4WGMTJMTFEMQKFEZZ:/var/lib/docker/overlay2/l/2SSN367X5O47EIZNZJC2E4I7AO:/var/lib/docker/overlay2/l/OF62QYVFI32HI2SS2UBME4RR3V:/var/lib/docker/overlay2/l/YJXVGLMJV6JWC6EJXXTE6HPUG2:/var/lib/docker/overlay2/l/5RBW36PVW36TOMFP7VV5IU4MAR:/var/lib/docker/overlay2/l/VEMOLWU23HRYIHSVUWRRU2CZ66:/var/lib/docker/overlay2/l/GQDZNQDFYUT6GCXADQHX7NSZTX:/var/lib/docker/overlay2/l/QXKXRVM5R42DWMHFNOF2NXOYHS:/var/lib/docker/overlay2/l/AOWA5BOJHLEQ5'
Unexpected end of /proc/mounts line `5E2DFTKNHYT7K:/var/lib/docker/overlay2/l/Q4RAKHPNLGZ6N7D5RQLIF3YIAD:/var/lib/docker/overlay2/l/WWZHG2FIF6VDKHZFBHOZSBVYLU:/var/lib/docker/overlay2/l/EOIOMHUMTBL5DJDJBFCX24EQXN:/var/lib/docker/overlay2/l/BV5ZMNTREVZK6I6AOOJMUCLCNT:/var/lib/docker/overlay2/l/EDNCPKUUYWCLFUAWQTEAPVQJ6W:/var/lib/docker/overlay2/l/TVVIRD4WGFZ2STJVQMXT663RXC:/var/lib/docker/overlay2/l/CGIXRMRDV36IH332YIJDBPDI55:/var/lib/docker/overlay2/l/4D3UVOIUMXVUSWUEFK5YKMSYJ3:/var/lib/docker/overlay2/l/NBA4U4XTDB4FGSOKE7DIPB4HC7:/var/lib/do'
Unexpected end of /proc/mounts line `cker/overlay2/l/4YRTNJ364CJVW475QZWLJQJC4Q:/var/lib/docker/overlay2/l/VQXZTAUJS75LUVP6AUKZO7HULJ:/var/lib/docker/overlay2/l/EKIGWE5QOIFCOOFZ2GHJ6PN6AR:/var/lib/docker/overlay2/l/E3SBCF7WPLRKYTLOG7S5BVLR37:/var/lib/docker/overlay2/l/WFQZUYY5WB7LAJIHIIJJZO3FOV:/var/lib/docker/overlay2/l/DYPSDBGEXPQYUXFWFF7DGVVI55:/var/lib/docker/overlay2/l/KR5SKUF4XCADBRB4RTVU3BIN3E:/var/lib/docker/overlay2/l/CECHRVFFYQNLM5WVYAUK6PS2WT:/var/lib/docker/overlay2/l/334ATW4LHDCHIMO6L2MBVK25EE:/var/lib/docker/overlay2/l/5RMDFWIYH'
Does anyone have any experience getting around these issues? 

Ideally one could install bempp using homebrew or even from source on Mac.  Is this going to be possible any time soon?

Thanks!

Timo Betcke

unread,
Dec 11, 2019, 12:51:58 AM12/11/19
to bempp
Hi,

Are you assigning enough memory to Docker? On Mac by default very little resources are assigned to Docker.

If you want to, you can also try our new Bempp-cl build under github.com/bempp/bempp-cl. All dependencies can be installed from conda forge and no compilation is necessary. The adapted Maxwell example is in the notebooks subdirectory of the repository.

Best wishes

Timo

tylerwh...@gmail.com

unread,
Dec 11, 2019, 1:09:09 AM12/11/19
to bempp
Hi Timo, I'm giving docker 2 GB of memory.  Is that not sufficient for this example?

I'll definitely check out the new build, thanks for sharing!
Reply all
Reply to author
Forward
0 new messages