Thoughts after a whole day using Leap 42.1

Posted on Leave a comment

This a copy of the message that I tried to share with openSUSE user mail list (opensuse@opensuse.org) but I’ve got blocked :/ I’m writing this e-mail to share my experiences after a whole day using openSUSE Leap 42.1. The installation was pretty easy and worked ok. IMHO, the boot screen is awful. But it’s a taste thing, so nevermind. Everything started to go down the hill after logging into KDE. Unfortunately, Plasma 5 is really broken, the desktop environment is so unstable that I’ve missed the panel, the krunner and/or, kwin multiple times. Working with two displays (multihead) was kind […]

Be careful with Intel turbo boost! It can screw your benchmarking! And run slower when dealing with parallel programs!

Posted on 1 Comment

I wrote several months ago a little application called machPQ.py (I’ll open the code soon…) which calculates the active, reactive and also the apparent power in machine terminal’s over the time domain, for electromagnetic transients analysis. The files that this program have to crunch often have 1.E6 lines or more. Due to those large files this application was taking long time to finish it’s calculations 1h-3h, hence I started to transcript it into a parallel paradigm using python as well. The problem begins when I tried to benchmark the parallel version and compare with the single threaded one. The single […]

openSUSE Science e mpmath

Posted on Leave a comment

Para ficar registrado! Essa semana, quando estava implementado o cálculo dos parâmetros tranversais e longitudinais de linhas de transmissão para a disciplina Sobretensões Transitórias, precisei de uma biblioteca para usar com python que tivesse já disponíveis as funções de Bessel para números complexos. Achei a biblioteca numérica de precisão arbitrária mpmath [1] [2], inclusive listei no Python Numeric Cook List, a qual continha as funções necessárias, mas infelizmente não estava disponível nos repositórios oficiais do openSUSE. Depois de uma pesquisada encontrei o repositório extra-oficial openSUSE Science voltado para pacotes científicos. Página do OBS. Então, para adicionar o repositório, como root: […]

Instalando somente os updates de segurança no openSUSE 12.3

Posted on Leave a comment

Quando a gente vai ficando grandinho, só quer que o computador funcione. Especialmente naqueles dias nós precisamos entregar/apresentar um trabalho importante. Portanto, fazer um upgrade do sistema nem sempre é uma boa ideia perto dessas datas. Uma boa saída no openSUSE é aplicar somente as correções de segurança da base do sistema, deixando para uma época mais tranquila, o update dos demais aplicativos. Pensando nisso, listei abaixo, fuçado de [1] e [2], os comandos para identificar todos os patches e instalar somente aqueles que são realmente cruciais para o sistema: Listar todos os patches: zypper list-patches Listar somente os patches […]

Problems with pylab and ipython on openSUSE – ImportError

Posted on 1 Comment

These days I’m trying to use python+numpy+scipy to solve some academic problems, and when I tried to import pylab module I got those errors: In [63]: import pylab ————————————————————————— ImportError Traceback (most recent call last) in () —-> 1 import pylab /usr/lib64/python2.7/site-packages/pylab.py in () —-> 1 from matplotlib.pylab import * 2 import matplotlib.pylab 3 __doc__ = matplotlib.pylab.__doc__ /usr/lib64/python2.7/site-packages/matplotlib/pylab.py in () 263 from numpy.linalg import * 264 –> 265 from matplotlib.pyplot import * 266 267 # provide the recommended module abbrevs in the pylab namespace /usr/lib64/python2.7/site-packages/matplotlib/pyplot.py in () 95 96 from matplotlib.backends import pylab_setup —> 97 _backend_mod, new_figure_manager, draw_if_interactive, _show = […]