Changeset bd1350 in git


Ignore:
Timestamp:
Apr 7, 2015, 7:36:36 PM (8 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
Children:
c8cc3ba539867f07a19ba7538b56766064dd678c
Parents:
c39fdc76be4bf74313580decd2e1336cc36421dc
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2015-04-07 19:36:36+02:00
git-committer:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2015-04-07 19:37:17+02:00
Message:
fix: avoid multiple threads in polymake/libnormliz (openmp)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/dyn_modules/polymake/polymake_wrapper.cc

    rc39fdc rbd1350  
    17581758}
    17591759
     1760#include <omp.h>
     1761// extern "C" void omp_set_num_threads(int num_threads);
     1762
    17601763extern "C" int SI_MOD_INIT(polymake)(SModulFunctions* p)
    17611764{
     1765  omp_set_num_threads(1); // avoid multiple threads within polymake/libnormaliz
    17621766  if (init_polymake==NULL)
    17631767    {init_polymake = new polymake::Main();}
Note: See TracChangeset for help on using the changeset viewer.