<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic It doesn't work that way.  in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/Why-runtime-is-invalid/m-p/1083348#M4921</link>
    <description>&lt;P&gt;It doesn't work that way. &amp;nbsp;Schedule(runtime) clause in compiled source code causes the runtime library to look for omp_schedule environment setting to be one of those specific options. Runtime is not among the valid environment settings.&lt;/P&gt;</description>
    <pubDate>Tue, 31 Jan 2017 17:05:47 GMT</pubDate>
    <dc:creator>TimP</dc:creator>
    <dc:date>2017-01-31T17:05:47Z</dc:date>
    <item>
      <title>Why runtime is invalid?</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Why-runtime-is-invalid/m-p/1083347#M4920</link>
      <description>&lt;P&gt;Hi, Intel technician,&lt;/P&gt;

&lt;P&gt;when I set the environmental variable OMP_SCHEDULE = runtime, the following warning is given:&lt;/P&gt;

&lt;P&gt;D:\users\dingjun\build\data&amp;gt;mx201610.exe&amp;nbsp; -f D:\users\dingjun\build\data\mx8321x105x10.dat -log -jacdoms 32 -parasol 32 -o mx8321x105x10_32cores1job_i&lt;BR /&gt;
	mbdw2s11_windows_runtime_compact1_affinity_manualRun_1&lt;BR /&gt;
	OMP: Warning #42: OMP_SCHEDULE: "runtime" is an invalid value; ignored.&lt;BR /&gt;
	OMP: Info #204: KMP_AFFINITY: decoding x2APIC ids.&lt;BR /&gt;
	OMP: Info #202: KMP_AFFINITY: Affinity capable, using global cpuid leaf 11 info&lt;BR /&gt;
	OMP: Info #154: KMP_AFFINITY: Initial OS proc set respected: {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31}&lt;BR /&gt;
	OMP: Info #156: KMP_AFFINITY: 32 available OS procs&lt;BR /&gt;
	OMP: Info #157: KMP_AFFINITY: Uniform topology&lt;BR /&gt;
	OMP: Info #179: KMP_AFFINITY: 2 packages x 16 cores/pkg x 1 threads/core (32 total cores)&lt;/P&gt;

&lt;P&gt;Could you tell me why the runtime value is&amp;nbsp; invalid?&amp;nbsp; according to your manual, it seems to be valid. please see the following:&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;TABLE width="90%" id="GUID-C83F8077-2EB2-4CB9-83BD-0950F8799A2F" border="1" rules="all" frame="hsides" cellpadding="4" summary=""&gt;
	&lt;THEAD align="left"&gt;
		&lt;TR&gt;
			&lt;TH align="left" class="cellrowborder" id="d994359e296" valign="top"&gt;
				&lt;P&gt;Type&lt;/P&gt;
			&lt;/TH&gt;
			&lt;TH align="left" class="row-nocellborder" id="d994359e299" valign="top"&gt;
				&lt;P&gt;Effect&lt;/P&gt;
			&lt;/TH&gt;
		&lt;/TR&gt;
	&lt;/THEAD&gt;
	&lt;TBODY&gt;
		&lt;TR&gt;
			&lt;TD class="cellrowborder" valign="top" headers="d994359e296 "&gt;
				&lt;P style="color: green;"&gt;STATIC&lt;/P&gt;
			&lt;/TD&gt;
			&lt;TD class="row-nocellborder" valign="top" headers="d994359e299 "&gt;
				&lt;P style="color: green;"&gt;Divides iterations into contiguous pieces by dividing the number of iterations by the number of threads in the team. Each piece is then dispatched to a thread before loop execution begins.&lt;/P&gt;

				&lt;P style="color: green;"&gt;If &lt;VAR style="color: green;"&gt;chunk&lt;/VAR&gt; is specified, iterations are divided into pieces of a size specified by &lt;VAR style="color: green;"&gt;chunk&lt;/VAR&gt;. The pieces are statically dispatched to threads in the team in a round-robin fashion in the order of the thread number.&lt;/P&gt;
			&lt;/TD&gt;
		&lt;/TR&gt;
		&lt;TR&gt;
			&lt;TD class="cellrowborder" valign="top" headers="d994359e296 "&gt;
				&lt;P style="color: green;"&gt;DYNAMIC&lt;/P&gt;
			&lt;/TD&gt;
			&lt;TD class="row-nocellborder" valign="top" headers="d994359e299 "&gt;
				&lt;P style="color: green;"&gt;Can be used to get a set of iterations dynamically. It defaults to 1 unless &lt;VAR style="color: green;"&gt;chunk&lt;/VAR&gt; is specified.&lt;/P&gt;

				&lt;P style="color: green;"&gt;If &lt;VAR style="color: green;"&gt;chunk&lt;/VAR&gt; is specified, the iterations are broken into pieces of a size specified by &lt;VAR style="color: green;"&gt;chunk&lt;/VAR&gt;. As each thread finishes a piece of the iteration space, it dynamically gets the next set of iterations.&lt;/P&gt;
			&lt;/TD&gt;
		&lt;/TR&gt;
		&lt;TR&gt;
			&lt;TD class="cellrowborder" valign="top" headers="d994359e296 "&gt;
				&lt;P style="color: green;"&gt;GUIDED&lt;/P&gt;
			&lt;/TD&gt;
			&lt;TD class="row-nocellborder" valign="top" headers="d994359e299 "&gt;
				&lt;P style="color: green;"&gt;Can be used to specify a minimum number of iterations. It defaults to 1 unless &lt;VAR style="color: green;"&gt;chunk&lt;/VAR&gt; is specified.&lt;/P&gt;

				&lt;P style="color: green;"&gt;If &lt;VAR style="color: green;"&gt;chunk&lt;/VAR&gt; is specified, the chunk size is reduced exponentially with each succeeding dispatch. The &lt;VAR style="color: green;"&gt;chunk&lt;/VAR&gt; specifies the minimum number of iterations to dispatch each time. If there are less than &lt;VAR style="color: green;"&gt;chunk&lt;/VAR&gt; iterations remaining, the rest are dispatched.&lt;/P&gt;
			&lt;/TD&gt;
		&lt;/TR&gt;
		&lt;TR&gt;
			&lt;TD class="cellrowborder" valign="top" headers="d994359e296 "&gt;
				&lt;P&gt;&lt;SPAN style="color: green;"&gt;AUTO&lt;/SPAN&gt;&lt;SUP&gt;&lt;FONT size="2"&gt;1&lt;/FONT&gt;&lt;/SUP&gt;&lt;/P&gt;
			&lt;/TD&gt;
			&lt;TD class="row-nocellborder" valign="top" headers="d994359e299 "&gt;
				&lt;P style="color: green;"&gt;Delegates the scheduling decision until compile time or run time. The schedule is processor dependent. The programmer gives the implementation the freedom to choose any possible mapping of iterations to threads in the team.&lt;/P&gt;
			&lt;/TD&gt;
		&lt;/TR&gt;
		&lt;TR&gt;
			&lt;TD class="cellrowborder" valign="top" headers="d994359e296 "&gt;
				&lt;P&gt;&lt;SPAN style="color: green;"&gt;RUNTIME&lt;/SPAN&gt;&lt;SUP&gt;&lt;FONT size="2"&gt;1&lt;/FONT&gt;&lt;/SUP&gt;&lt;/P&gt;
			&lt;/TD&gt;
			&lt;TD class="row-nocellborder" valign="top" headers="d994359e299 "&gt;
				&lt;P style="color: green;"&gt;Defers the scheduling decision until run time. You can choose a schedule type and chunk size at run time by using the environment variable &lt;FONT color="#ffffff" style="background-color: rgb(51, 153, 255);"&gt;OMP_SCHEDULE&lt;/FONT&gt;.&lt;/P&gt;
			&lt;/TD&gt;
		&lt;/TR&gt;
		&lt;TR&gt;
			&lt;TD class="row-nocellborder" valign="top" colspan="2" headers="d994359e296 d994359e299 "&gt;
				&lt;P&gt;&lt;SUP&gt;&lt;FONT size="2"&gt;1&lt;/FONT&gt;&lt;/SUP&gt;&lt;SPAN style="color: green;"&gt;No &lt;VAR style="color: green;"&gt;chunk&lt;/VAR&gt; is permitted for this type.&lt;/SPAN&gt;&lt;/P&gt;
			&lt;/TD&gt;
		&lt;/TR&gt;
	&lt;/TBODY&gt;
&lt;/TABLE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I look forward to hearing from you. Thanks.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;best regards,&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Dingjun&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2017 14:41:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Why-runtime-is-invalid/m-p/1083347#M4920</guid>
      <dc:creator>dingjun_chencmgl_ca</dc:creator>
      <dc:date>2017-01-31T14:41:32Z</dc:date>
    </item>
    <item>
      <title>It doesn't work that way.</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Why-runtime-is-invalid/m-p/1083348#M4921</link>
      <description>&lt;P&gt;It doesn't work that way. &amp;nbsp;Schedule(runtime) clause in compiled source code causes the runtime library to look for omp_schedule environment setting to be one of those specific options. Runtime is not among the valid environment settings.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2017 17:05:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Why-runtime-is-invalid/m-p/1083348#M4921</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2017-01-31T17:05:47Z</dc:date>
    </item>
    <item>
      <title>Thanks for your reply.</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Why-runtime-is-invalid/m-p/1083349#M4922</link>
      <description>&lt;P&gt;Thanks for your reply.&lt;/P&gt;

&lt;P&gt;For environmental variable OMP_SCHEDULE, how many values can we set? static, dynamic, auto, and guided? Is there any other value available for settings?&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2017 20:38:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Why-runtime-is-invalid/m-p/1083349#M4922</guid>
      <dc:creator>dingjun_chencmgl_ca</dc:creator>
      <dc:date>2017-01-31T20:38:15Z</dc:date>
    </item>
  </channel>
</rss>

