Ticket #9151 (closed enhancement: duplicate)
build multithreaded version of ATLAS
|Reported by:||kilian||Owned by:||GeorgSWeber|
|Component:||build||Keywords:||ATLAS BLAS LAPACK multi-threading pthreads|
|Report Upstream:||N/A||Reviewers:||Jean-Pierre Flori|
I noted that multi-threading in ATLAS is switched off by default (switch -t 0). I was wondering if it wouldn't be better to make a multi-threaded build the default, since it results in big performance increases on most modern computers.
I attached a patch that enables threading. It works fine for me on a multi-core Linux machine. I tried to make it work for single-core machines (for which atlas might turn of threading automatically) by testing for the presence of the threaded version of the BLAS library before running the make command that builds the shared atlas library. However I haven't tested it on a single-core machine.
- Cc jdemeyer added
- Reviewers set to Jean-Pierre Flori
- Status changed from new to needs_review
- Milestone changed from sage-feature to sage-duplicate/invalid/wontfix