<?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 Jim, in Intel® Moderncode for Parallel Architectures</title>
    <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/function-call-to-1memcpy-cannot-be-vectorized/m-p/1150983#M7809</link>
    <description>&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;Jim,&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Thank you for your response. I have passed it along to a colleague who is actually working with the code.&lt;/P&gt;

&lt;P&gt;I will do my best to post any resolution here or may continue with more questions.&lt;/P&gt;</description>
    <pubDate>Mon, 06 Aug 2018 17:21:59 GMT</pubDate>
    <dc:creator>Page__Mike</dc:creator>
    <dc:date>2018-08-06T17:21:59Z</dc:date>
    <item>
      <title>function call to ?1memcpy cannot be vectorized</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/function-call-to-1memcpy-cannot-be-vectorized/m-p/1150978#M7804</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;The following lines of code generates reports on failure to parallelize and to vectorize:&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(0, 0, 0); background-color: rgb(222, 222, 222);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;allocate(particles(nrp+ngp))&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(0, 0, 0); background-color: rgb(222, 222, 222);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; particles(&amp;nbsp; &amp;nbsp; 1:nrp) = rparticles&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(0, 0, 0); background-color: rgb(222, 222, 222);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; particles(nrp+1: &amp;nbsp; ) = gparticles&lt;/SPAN&gt;&lt;/P&gt;

&lt;DIV&gt;&lt;BR /&gt;
	declarations:&lt;/DIV&gt;

&lt;DIV&gt;
	&lt;P style="margin-bottom: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(0, 0, 0); background-color: rgb(222, 222, 222);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;use particle_mod &amp;nbsp; , only: particle_t&lt;/SPAN&gt;&lt;/P&gt;

	&lt;DIV&gt;.&lt;BR /&gt;
		.&lt;/DIV&gt;

	&lt;DIV&gt;.&lt;/DIV&gt;
&lt;/DIV&gt;

&lt;P style="margin-bottom: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(0, 0, 0); background-color: rgb(222, 222, 222);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;type(particle_t), intent(in &amp;nbsp; ) :: rparticles(nrp), gparticles(ngp)&lt;/SPAN&gt;&lt;/P&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;P&gt;reports:&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(0, 0, 0); background-color: rgb(222, 222, 222);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;LOOP BEGIN at calc.f90(76,7)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(0, 0, 0); background-color: rgb(222, 222, 222);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; remark #17104: loop was not parallelized: existence of parallel dependence&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(0, 0, 0); background-color: rgb(222, 222, 222);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; remark #17106: parallel dependence: assumed OUTPUT dependence between call:?1memcpy (76:7) and call:?1memcpy (76:7)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(0, 0, 0); background-color: rgb(222, 222, 222);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; remark #17106: parallel dependence: assumed OUTPUT dependence between call:?1memcpy (76:7) and call:?1memcpy (76:7)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(0, 0, 0); background-color: rgb(222, 222, 222);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; remark #17106: parallel dependence: assumed OUTPUT dependence between PARTICLES(:) (76:7) and PARTICLES(:) (76:7)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(0, 0, 0); background-color: rgb(222, 222, 222);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; remark #17106: parallel dependence: assumed OUTPUT dependence between PARTICLES(:) (76:7) and PARTICLES(:) (76:7)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(0, 0, 0); background-color: rgb(222, 222, 222);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; remark #17106: parallel dependence: assumed OUTPUT dependence between PARTICLES(:) (76:7) and rparticles(:) (76:7)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(0, 0, 0); background-color: rgb(222, 222, 222);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; remark #17106: parallel dependence: assumed OUTPUT dependence between rparticles(:) (76:7) and PARTICLES(:) (76:7)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(0, 0, 0); background-color: rgb(222, 222, 222);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; remark #17106: parallel dependence: assumed OUTPUT dependence between rparticles(:) (76:7) and PARTICLES(:) (76:7)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(0, 0, 0); background-color: rgb(222, 222, 222);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; remark #17106: parallel dependence: assumed OUTPUT dependence between PARTICLES(:) (76:7) and rparticles(:) (76:7)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(0, 0, 0); background-color: rgb(222, 222, 222);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; remark #17106: parallel dependence: assumed OUTPUT dependence between rparticles(:) (76:7) and rparticles(:) (76:7)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(0, 0, 0); background-color: rgb(222, 222, 222);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; remark #17106: parallel dependence: assumed OUTPUT dependence between rparticles(:) (76:7) and rparticles(:) (76:7)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(0, 0, 0); background-color: rgb(222, 222, 222);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; remark #15527: loop was not vectorized: function call to ?1memcpy cannot be vectorized&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(0, 0, 0); background-color: rgb(222, 222, 222);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;LOOP END&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(0, 0, 0); background-color: rgb(222, 222, 222); min-height: 14px;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(0, 0, 0); background-color: rgb(222, 222, 222);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;LOOP BEGIN at calc.f90(77,7)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(0, 0, 0); background-color: rgb(222, 222, 222);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; remark #17104: loop was not parallelized: existence of parallel dependence&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(0, 0, 0); background-color: rgb(222, 222, 222);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; remark #17106: parallel dependence: assumed OUTPUT dependence between call:?1memcpy (77:7) and call:?1memcpy (77:7)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(0, 0, 0); background-color: rgb(222, 222, 222);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; remark #17106: parallel dependence: assumed OUTPUT dependence between call:?1memcpy (77:7) and call:?1memcpy (77:7)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(0, 0, 0); background-color: rgb(222, 222, 222);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; remark #17106: parallel dependence: assumed OUTPUT dependence between PARTICLES(:) (77:7) and PARTICLES(:) (77:7)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(0, 0, 0); background-color: rgb(222, 222, 222);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; remark #17106: parallel dependence: assumed OUTPUT dependence between PARTICLES(:) (77:7) and PARTICLES(:) (77:7)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(0, 0, 0); background-color: rgb(222, 222, 222);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; remark #17106: parallel dependence: assumed OUTPUT dependence between PARTICLES(:) (77:7) and gparticles(:) (77:7)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(0, 0, 0); background-color: rgb(222, 222, 222);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; remark #17106: parallel dependence: assumed OUTPUT dependence between gparticles(:) (77:7) and PARTICLES(:) (77:7)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(0, 0, 0); background-color: rgb(222, 222, 222);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; remark #17106: parallel dependence: assumed OUTPUT dependence between gparticles(:) (77:7) and PARTICLES(:) (77:7)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(0, 0, 0); background-color: rgb(222, 222, 222);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; remark #17106: parallel dependence: assumed OUTPUT dependence between PARTICLES(:) (77:7) and gparticles(:) (77:7)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(0, 0, 0); background-color: rgb(222, 222, 222);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; remark #17106: parallel dependence: assumed OUTPUT dependence between gparticles(:) (77:7) and gparticles(:) (77:7)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(0, 0, 0); background-color: rgb(222, 222, 222);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; remark #17106: parallel dependence: assumed OUTPUT dependence between gparticles(:) (77:7) and gparticles(:) (77:7)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(0, 0, 0); background-color: rgb(222, 222, 222);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; remark #15527: loop was not vectorized: function call to ?1memcpy cannot be vectorized&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(0, 0, 0); background-color: rgb(222, 222, 222);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;LOOP END&lt;/SPAN&gt;&lt;/P&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;P&gt;particle_t defined as:&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(0, 0, 0); background-color: rgb(222, 222, 222);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp;public&amp;nbsp; particle_t&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(0, 0, 0); background-color: rgb(222, 222, 222);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp; public&amp;nbsp; print_particles&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(0, 0, 0); background-color: rgb(222, 222, 222); min-height: 14px;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(0, 0, 0); background-color: rgb(222, 222, 222);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp; type, bind(C)&amp;nbsp; :: particle_t&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(0, 0, 0); background-color: rgb(222, 222, 222);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; real(rt)&amp;nbsp; &amp;nbsp; :: pos(3) &amp;nbsp; &amp;nbsp; !&amp;lt; Position -- fortran component &amp;nbsp;1&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(0, 0, 0); background-color: rgb(222, 222, 222);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; real(rt)&amp;nbsp; &amp;nbsp; :: radius &amp;nbsp; &amp;nbsp; !&amp;lt; Radius &amp;nbsp; -- fortran component&amp;nbsp; 4&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(0, 0, 0); background-color: rgb(222, 222, 222);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; real(rt)&amp;nbsp; &amp;nbsp; :: volume &amp;nbsp; &amp;nbsp; !&amp;lt; Volume &amp;nbsp; -- fortran component&amp;nbsp; 5&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(0, 0, 0); background-color: rgb(222, 222, 222);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; real(rt)&amp;nbsp; &amp;nbsp; :: mass &amp;nbsp; &amp;nbsp; &amp;nbsp; !&amp;lt; Mass &amp;nbsp; &amp;nbsp; -- fortran component&amp;nbsp; 6&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(0, 0, 0); background-color: rgb(222, 222, 222);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; real(rt)&amp;nbsp; &amp;nbsp; :: density&amp;nbsp; &amp;nbsp; !&amp;lt; Density&amp;nbsp; -- fortran component&amp;nbsp; 7&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(0, 0, 0); background-color: rgb(222, 222, 222);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; real(rt)&amp;nbsp; &amp;nbsp; :: omoi &amp;nbsp; &amp;nbsp; &amp;nbsp; !&amp;lt; One over momentum of inertia -- fortran component 8&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(0, 0, 0); background-color: rgb(222, 222, 222);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; real(rt)&amp;nbsp; &amp;nbsp; :: vel(3) &amp;nbsp; &amp;nbsp; !&amp;lt; Linear velocity&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -- fortran components 9,10,11&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(0, 0, 0); background-color: rgb(222, 222, 222);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; real(rt)&amp;nbsp; &amp;nbsp; :: omega(3) &amp;nbsp; !&amp;lt; Angular velocity &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -- fortran components 12,13,14&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(0, 0, 0); background-color: rgb(222, 222, 222);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; real(rt)&amp;nbsp; &amp;nbsp; :: drag(3)&amp;nbsp; &amp;nbsp; !&amp;lt; Drag &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -- fortran components 15,16,17&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(0, 0, 0); background-color: rgb(222, 222, 222);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; integer(c_int)&amp;nbsp; :: id&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(0, 0, 0); background-color: rgb(222, 222, 222);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; integer(c_int)&amp;nbsp; :: cpu&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(0, 0, 0); background-color: rgb(222, 222, 222);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; integer(c_int)&amp;nbsp; :: phase&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(0, 0, 0); background-color: rgb(222, 222, 222);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; integer(c_int)&amp;nbsp; :: state&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(0, 0, 0); background-color: rgb(222, 222, 222);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp; end type particle_t&lt;/SPAN&gt;&lt;/P&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Tue, 03 Jul 2018 18:09:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/function-call-to-1memcpy-cannot-be-vectorized/m-p/1150978#M7804</guid>
      <dc:creator>Page__Mike</dc:creator>
      <dc:date>2018-07-03T18:09:13Z</dc:date>
    </item>
    <item>
      <title>I have continued to look at</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/function-call-to-1memcpy-cannot-be-vectorized/m-p/1150979#M7805</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;I have continued to look at this issue and have encountered information on streaming stores and non temporal writes&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;&lt;A href="https://software.intel.com/en-us/articles/memcpy-memset-optimization-and-control" target="_blank"&gt;https://software.intel.com/en-us/articles/memcpy-memset-optimization-and-control&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;adding directives:&lt;/P&gt;

&lt;P&gt;!DIR$ vector nontemporal&lt;/P&gt;

&lt;P&gt;!DIR$ simd&lt;/P&gt;

&lt;P&gt;or adding the compile option -qopt-streaming-stores&lt;/P&gt;

&lt;P&gt;simd&lt;SPAN style="font-size: 1em;"&gt;&amp;nbsp;vectorizes the loops but the compiler reports&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;scalar cost: &amp;nbsp;89&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;vector cost: 159.87&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;​will be testing the change soon&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jul 2018 15:23:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/function-call-to-1memcpy-cannot-be-vectorized/m-p/1150979#M7805</guid>
      <dc:creator>Page__Mike</dc:creator>
      <dc:date>2018-07-06T15:23:00Z</dc:date>
    </item>
    <item>
      <title>Is the "non-vectorized"</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/function-call-to-1memcpy-cannot-be-vectorized/m-p/1150980#M7806</link>
      <description>&lt;P&gt;Is the "non-vectorized" compilation using a memset library function, as expected?&amp;nbsp; The library call may well be faster, assuming those vectors are long enough. If short, alignment may play a role, but inline optimization could depend also on length being known at compile time.&amp;nbsp; It this fragment is critical for you, you should at least check the opt-report for the vectorized version, preferably look at the generated code (possibly under Advisor or VTune)?&lt;/P&gt;

&lt;P&gt;Isn't the legacy !dir$ simd deprecated?&lt;/P&gt;

&lt;P&gt;This forum itself may be going in the direction of deprecation.&amp;nbsp; Intel announced a committee to make recommendations on the roles of the various forums; meanwhile, your question might have got more attention on one of the Fortran forum sections.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jul 2018 10:52:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/function-call-to-1memcpy-cannot-be-vectorized/m-p/1150980#M7806</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2018-07-09T10:52:17Z</dc:date>
    </item>
    <item>
      <title>"Is the "non-vectorized"</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/function-call-to-1memcpy-cannot-be-vectorized/m-p/1150981#M7807</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px;"&gt;Is the "non-vectorized" compilation using a memset library function, as expected?"&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;Not that I can see:&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;nm of the object file:&lt;/P&gt;

&lt;P&gt;0000000000000000 T this_code&lt;BR /&gt;
	0000000000000000 d this_code$format_pack.0.1&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;U cfrelvel_module_mp_cfrelvel_&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;U discretelement_mp_des_coll_model_enum_&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;U discretelement_mp_des_crossprdct_&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;U discretelement_mp_des_etan_&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;U discretelement_mp_hert_kn_&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;U discretelement_mp_kn_&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;U discretelement_mp_mew_&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;U for_alloc_allocatable&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;U for_check_mult_overflow64&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;U for_dealloc_allocatable&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;U for_stop_core&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;U for_write_seq_fmt&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;U for_write_seq_fmt_xmit&lt;BR /&gt;
	0000000000000000 r __STRLITPACK_10&lt;BR /&gt;
	0000000000000048 r __STRLITPACK_12.0.1&lt;BR /&gt;
	0000000000000050 r __STRLITPACK_13.0.1&lt;BR /&gt;
	0000000000000000 r var$145.0.1&lt;/P&gt;

&lt;P&gt;"&lt;SPAN style="font-size: 12px;"&gt;Isn't the legacy !dir$ simd deprecated?"&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;Not sure.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;I am working from a 2014 Intel article:&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;&lt;A href="https://software.intel.com/en-us/articles/memcpy-memset-optimization-and-lcontrol" target="_blank"&gt;https://software.intel.com/en-us/articles/memcpy-memset-optimization-and-lcontrol&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jul 2018 18:23:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/function-call-to-1memcpy-cannot-be-vectorized/m-p/1150981#M7807</guid>
      <dc:creator>Page__Mike</dc:creator>
      <dc:date>2018-07-09T18:23:50Z</dc:date>
    </item>
    <item>
      <title>Try padding your particle</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/function-call-to-1memcpy-cannot-be-vectorized/m-p/1150982#M7808</link>
      <description>&lt;P&gt;Try padding your particle structure such that is becomes a multiple of the vector width (16, 32 or 64 bytes as the case may be).&lt;/P&gt;

&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Sat, 28 Jul 2018 12:45:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/function-call-to-1memcpy-cannot-be-vectorized/m-p/1150982#M7808</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2018-07-28T12:45:09Z</dc:date>
    </item>
    <item>
      <title>Jim,</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/function-call-to-1memcpy-cannot-be-vectorized/m-p/1150983#M7809</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;Jim,&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Thank you for your response. I have passed it along to a colleague who is actually working with the code.&lt;/P&gt;

&lt;P&gt;I will do my best to post any resolution here or may continue with more questions.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Aug 2018 17:21:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/function-call-to-1memcpy-cannot-be-vectorized/m-p/1150983#M7809</guid>
      <dc:creator>Page__Mike</dc:creator>
      <dc:date>2018-08-06T17:21:59Z</dc:date>
    </item>
    <item>
      <title>Jim,</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/function-call-to-1memcpy-cannot-be-vectorized/m-p/1150984#M7810</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;Jim,&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Your suggestion was reported as being helpful though I have not been able to test and measure the improvements yet myself.&lt;/P&gt;

&lt;P&gt;Thanks Again.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Aug 2018 17:26:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/function-call-to-1memcpy-cannot-be-vectorized/m-p/1150984#M7810</guid>
      <dc:creator>Page__Mike</dc:creator>
      <dc:date>2018-08-31T17:26:18Z</dc:date>
    </item>
  </channel>
</rss>

