Posts

Showing posts from January, 2019

Roure (Turyn)

Image
Roure — gmina — Państwo   Włochy Region Piemont Prowincja Turyn Kod ISTAT 001227 Powierzchnia 59 km² Populacja  (2004) • liczba ludności 966 • gęstość 16,4 os./km² Nr kierunkowy 0121 Kod pocztowy 10060 Położenie na mapie Włoch Roure 45°00′N   7°08′E / 45,000000   7,133333 Strona internetowa Roure – miejscowość i gmina we Włoszech, w regionie Piemont, w prowincji Turyn. Według danych na rok 2004 gminę zamieszkiwało 966 osób, 16,4 os./km². Linki zewnętrzne | Źródło danych: Istituto Nazionale di Statistica p   •   d   •   e Gminy prowincji Turyn Agliè Airasca Ala di Stura Albiano d'Ivrea Alice Superiore Almese Alpette Alpignano Andezeno Andrate Angrogna Arignano Avigliana Azeglio Bairo Balangero Baldissero Canavese Baldissero Torinese Balme Banchette Barbania Bardonecchia Barone Canavese Beinasco Bibiana Bobbio Pellice Bollengo Borgaro Torin

DistributeDefinitions is evaluating the definitions, but only for large number of definitions

Image
8 3 I am using Mathematica 11.3 and this seems to me to be a bug. I would like, if possible, some idea on a workaround. Here is an example of trivial code that works as expected: nI = 10; (NM[#] := Print[#] ) & /@ Range[1, nI]; LaunchKernels; DistributeDefinitions[NM]; That is, the code above generates no output, as expected. Now, if the first line is changed to nI = 20; The same code leads to 40 lines being printed! From 1 to 20 two times. For some reason, the DistributionDefinitions is forcing the definition of NM to be executed, and I do not want that to happen before I use ParallelSubmit and WaitAll. I tried this in two computers with Mathematica 11.3, any ideas on what is happening? parallelization