virtualbox image matplotlib problem

39 views
Skip to first unread message

emilia....@eucentre.it

unread,
Jul 30, 2015, 12:21:17 PM7/30/15
to OpenQuake Users
I have downloaded and installed the virtualbox image OpenQuake 1.4 image, 32 bit.

I  am trying to run the StochasticEventSet notebook (in GEM\notebooks\hazardlib) but I get an error in the first cell: ImportError: matplotlib requires pyparsing >= 1.5.6

I checked the pyparsing version and it is 1.5.2, but I didn't manage to upgrade it (I get an error: could not delete '/usr/local/lib/python2.7/dist-packages/pyparsing.py': Permission denied)

How can I fix this problem?

thanks, Emilia

Daniele Viganò

unread,
Jul 30, 2015, 12:45:50 PM7/30/15
to openqua...@googlegroups.com

Dear Emilia,

thanks for the feedback we are aware of the issue but there's no easy fix since updating pyparsing will break other dependencies.

We are in the process of testing and providing a new set of VMs based on Ubuntu 14.04. You can find them at http://www.globalquakemodel.org/ova/ with the -u14.04 suffix. You will find images with OQ engine 1.4 and a recent master. Currently only 64bit is available, the 32bit version will be available soon, as soon we fix a segfault that sometime happens with matplotlib, but if you have a recent computer the 64bit version will work even better.

Some highlights:

New VMs are based on Ubuntu 14.04 "Trusty" (instead of the old 12.04). Ubuntu 14.04 is now (since the Engine release 1.4) officially supported by GEM and provides a fresh set of libraries and tools (i.e. numpy, scipy, matplotlib, h5py...)

LXDE desktop environment has replaced Unity. LXDE is much more lightweight compared to Unity, making more room (memory) for running computations and to work with the tools. LXDE has also a more Windows-like interface, thus less simple to be used by non-Linux users.

Smaller: the OVA file is 600MB smaller and the VM requires 2GB less when installed on the computer hardrive.

Cheers,
Daniele

On mobile. Please excuse my brevity.

--
You received this message because you are subscribed to the Google Groups "OpenQuake Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openquake-use...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Daniele Viganò

unread,
Jul 30, 2015, 12:50:30 PM7/30/15
to openqua...@googlegroups.com

A quick note: the new VMs based on Ubuntu 14.04 require VirtualBox 5 as they now use KVM interfaces to reduce the virtualization overhead.

Emilia Fiorini

unread,
Jul 31, 2015, 9:41:46 AM7/31/15
to OpenQuake Users, emilia....@eucentre.it
Hi Daniele, thanks for your reply. I will download the new version and will let you know how.

Just one quick (I think)  question: what is the difference between the 1.4-u14.04 ova and the master u14.04 ova ? which one should be downloaded?

Cheers, Emilia

Daniele Viganò

unread,
Jul 31, 2015, 10:46:32 AM7/31/15
to openqua...@googlegroups.com
Dear Emilia,

On Fri, Jul 31, 2015 at 3:41 PM, Emilia Fiorini <emilia....@eucentre.it> wrote:
Hi Daniele, thanks for your reply. I will download the new version and will let you know how.

Thanks!
 

Just one quick (I think)  question: what is the difference between the 1.4-u14.04 ova and the master u14.04 ova ? which one should be downloaded?

The '1.4-u14.04' contains the VM with OpenQuake 1.4, the other one contains the master code from July 28 (it can be easily updated to the current master using 'apt-get upgrade'); all the other tools are at the same version. A quick summary of the differences between OQ master and 1.4 can be found here:
Cheers,
Daniele


--
DANIELE VIGANÒ | System Administrator | Skype dennyv85 | +39 0382 5169882
GLOBAL EARTHQUAKE MODEL | working together to assess risk

Emilia Fiorini

unread,
Aug 3, 2015, 3:31:38 AM8/3/15
to OpenQuake Users
Dear daniele

downloaded the master u14.04 ova, the notebook works fine and matplotlib problem is solved

thanks again, Emilia

Daniele Viganò

unread,
Aug 3, 2015, 3:35:18 AM8/3/15
to openqua...@googlegroups.com
Dear Emilia, thanks.

What do you think about the new lighter interface we used instead of Ubuntu Unity? Does it look friendly?

Thanks for the feedback!
Daniele
--
You received this message because you are subscribed to the Google Groups "OpenQuake Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openquake-use...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Emilia Fiorini

unread,
Aug 7, 2015, 5:11:43 AM8/7/15
to OpenQuake Users
Dear Daniele

Yes, I like the new interface, it does look friendly. And I like the web interface, although I didn't manage to understand how to run calculation from there. It seems to require a zip file as input.
I am also exploring the oq-lite, I would like to manage to get it working on my windows PC, but haven't succeded yet

Have a good day, Emilia


On Thursday, July 30, 2015 at 6:21:17 PM UTC+2, Emilia Fiorini wrote:
Reply all
Reply to author
Forward
0 new messages