enabeling openmp slows down R

Bug #950598 reported by zarquon42
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
r-base (Ubuntu)
New
Undecided
Unassigned

Bug Description

Due to other issues, I found out, that R for Ubuntu is compiled with openmp enabled by default. This causes two issues:

1. General perfomance is decreased (on my desktop and my laptop its about 3[!] times slower)
2. revolution-mkl makes R stalling (which makes the entire package revolution-mkl useless with the R-version from the repos.

Are there distinct reasons for enabeling openmp by default?

Greetings
Stefan

Revision history for this message
zarquon42 (zarquon42) wrote :

Forget the first argument - it just happened to be an accident: As I am on 12.04 beta, there seemed to have been something fixed --before-- I recompiled R (I did it on both machines at the same time - unfortunately). And the speed results turned out to be better due to other causes. But the second point remains: revolution-mkl makes R stall under some circumstances (e.g. using mclapply from the parallel package).

Regards
Stefan

Revision history for this message
zarquon42 (zarquon42) wrote :

OK - I learned how to build an optimized version of the atlas library - which makes revolution-mkl obsolete (the pimped version of atlas is even faster on my machine - given the stuff I'm doing with R). Plus: atlas is LGPL.

Forget the openmp part.

Suggestion: Maybe revolution-mkl should be removed from the repos or being dependent on a alternative version of r-base built without openmp support. As apt-get install revolution-r leads to an R install not properly working.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.