bluemodel / BlueM.Opt

BlueM.Opt is an optimization framework that can be coupled with an arbitrary simulation software.
https://wiki.bluemodel.org/index.php/BlueM.Opt
GNU General Public License v3.0
2 stars 1 forks source link

338: openMP ist nicht multithread-fähig #208

Closed bluemodel-bot closed 2 years ago

bluemodel-bot commented 2 years ago
Original bug ID 338
Reported by froehlich on 2008-07-18
Affects version 1.1
Component Anw_BlueM.Sim
Severity normal
Priority P3
Milestone 1.3
Assigned to froehlich
Status CLOSED FIXED

Comments:

froehlich on 2008-07-18:

Added attachment: OMP_error.jpg: fehlermeldung bei Nutzung der Release Version in multiplen Threads

Die Release Version von BlueM ist nicht multithreading-fähig. Die Ursache scheint die Compiler-Option Parallelization (/Qparallel) zu sein. Beim kompilieren dieser Version sagt der Compiler auch

MODSYS.F90(6774): (col. 8) remark: LOOP WAS AUTO-PARALLELIZED. MODSYS.F90(1040): (col. 7) remark: LOOP WAS AUTO-PARALLELIZED. MODSYS.F90(1041): (col. 7) remark: LOOP WAS AUTO-PARALLELIZED. Die Fehlermeldung habe ich angehängt

froehlich on 2008-07-18:

In r476 eine neue Projektkonfiguration Release_NoParallel hinzugefügt, bei der die genannte Option ausgeschaltet ist. Dann funzts!

froehlich on 2008-07-18:

bei der auto-parallelisierung wird anscheinend openMP genutzt, und openMP ist in diesem Fall der Übeltäter.

froehlich on 2008-07-18:

mögliche Lösung: http://www.intel.com/support/performancetools/sb/CS-021240.htm

froehlich on 2009-03-06:

neue URL zur möglichen Lösung: http://software.intel.com/en-us/articles/performance-tools-for-software-developers-omp-abort-initializing-libguidelib-but-found-libguide40lib-already/

froehlich on 2009-03-27:

seit v0.9.5 (Intel Compiler v11) scheint die Release-Version von BlueM.Sim auch mit Multithreading in BlueM.Opt zu funktionieren!

Leider gibt es das neue Problem Bug 410 (dieser betrifft aber nur Rechner ohne installiertem Intel Compiler).

froehlich on 2009-04-09:

seit r1493 funzt auch die autoparallelisierte Release-Version von BlueM.Sim mit multiplen Threads (auch auf Rechnern ohne installiertem Intel Fortran).