|
From: Igor F. <igo...@gm...> - 2017-09-21 10:25:52
|
There is an environment variable OMP_NUM_THREADS which should control the number of cores used at runtime. I haven't tried it with openbabel specifically however. Igor On Sep 21, 2017 6:08 AM, "Геннадий Макаров via OpenBabel-discuss" < ope...@li...> wrote: > Problem solved > > > Четверг, 21 сентября 2017, 14:17 +05:00 от Геннадий Макаров via > OpenBabel-discuss <ope...@li...>: > > Usage of this option during building did not change behaviour of > OpenBabel: it still use all cores. > > > Четверг, 21 сентября 2017, 0:30 +05:00 от Geoffrey Hutchison < > geo...@gm...>: > > > I builded OpenBabel from sources on Ubuntu 14. > > > You built with ENABLE_OPENMP on (which is off by default) so yes, it will > use all the cores you have. > > cmake -DENABLE_OPENMP=OFF . > # or > ccmake . # in build directory > # turn off ENABLE_OPENMP > > Hope that helps, > -Geoff > > --- > Prof. Geoffrey Hutchison > Department of Chemistry > University of Pittsburgh > tel: (412) 648-0492 > email: ge...@pi... > <https://e.mail.ru/compose/?mailto=mailto%3ag...@pi...> > twitter: @ghutchis > web: https://hutchison.chem.pitt.edu/ > > > > -- > Геннадий Макаров > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > OpenBabel-discuss mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openbabel-discuss > > > > -- > Геннадий Макаров > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > OpenBabel-discuss mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openbabel-discuss > > |