<?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 Re: Bit field and Graphic library on Linux in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Bit-field-and-Graphic-library-on-Linux/m-p/756445#M11932</link>
    <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/336209"&gt;Steve Lionel (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt; How does it "not work"?&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;&lt;BR /&gt;But I did the same here. Look:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;LOGICAL (KIND=1) :: gene(5, 10)&lt;BR /&gt;INTEGER :: Index(10)&lt;BR /&gt;&lt;BR /&gt;gene(:,:) = gene(:,Index)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Output:&lt;BR /&gt;Index Gene before (gene(:,:) = gene(:,Index))&lt;BR /&gt; 1 : T F F T T&lt;BR /&gt; 2 : T T T T T&lt;BR /&gt; 3 : T T T T T&lt;BR /&gt; 4 : T T F T T&lt;BR /&gt; 5 : F T F T T&lt;BR /&gt; 6 : F F F T T&lt;BR /&gt; 7 : T F T F F&lt;BR /&gt; 8 : T F T T T&lt;BR /&gt; 9 : F F T T F&lt;BR /&gt; 10 : T T F T F&lt;BR /&gt; &lt;BR /&gt;Index before -&amp;gt; new Index  Gene after (gene(:,:) = gene(:,Index))&lt;BR /&gt; 1 -&amp;gt; 5 F T F T T&lt;BR /&gt; 2 -&amp;gt; 1 T F F T T&lt;BR /&gt; 3 -&amp;gt; 2 T T T T T&lt;BR /&gt; 4 -&amp;gt; 3 T T T T T&lt;BR /&gt; 5 -&amp;gt; 6 F F F T T&lt;BR /&gt; 6 -&amp;gt; 8 T F T T T&lt;BR /&gt; 7 -&amp;gt; 9 F F T T F&lt;BR /&gt; 8 -&amp;gt; 4 T T F T T&lt;BR /&gt; 9 -&amp;gt; 10 T T F T F&lt;BR /&gt; 10 -&amp;gt; 7 T F T F F&lt;BR /&gt;&lt;BR /&gt;The genes must change. The second (T T T T T) should go to the first position. The third (T T T T T) to the second...&lt;BR /&gt;&lt;BR /&gt;It is the same thing, no?&lt;BR /&gt;</description>
    <pubDate>Mon, 22 Jun 2009 01:32:59 GMT</pubDate>
    <dc:creator>brunocalado</dc:creator>
    <dc:date>2009-06-22T01:32:59Z</dc:date>
    <item>
      <title>Bit field and Graphic library on Linux</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Bit-field-and-Graphic-library-on-Linux/m-p/756441#M11928</link>
      <description>I'm using the intel fortran compiler 11 on linux.&lt;BR /&gt;&lt;BR /&gt;1 - ) Bit field&lt;BR /&gt;I want to create a long bit chain. Use the bits on Integer (Kind=8) is not enough. It must have the range 1-10000000.&lt;BR /&gt;&lt;BR /&gt;The way I founded is create a array of logical&lt;BR /&gt;LOGICAL (KIND=1)    ::  gene( 10000 )&lt;BR /&gt;&lt;BR /&gt;But it is very ugly because it allocated 10000 bytes instead bits. And I can't use the intrisic bit functions.&lt;BR /&gt;&lt;BR /&gt;Is there a way of make true bit field?&lt;BR /&gt;&lt;BR /&gt;2 - ) I tried to use the graphic library but it is just available for windows. Please make it work for linux.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;tks</description>
      <pubDate>Fri, 19 Jun 2009 22:26:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Bit-field-and-Graphic-library-on-Linux/m-p/756441#M11928</guid>
      <dc:creator>brunocalado</dc:creator>
      <dc:date>2009-06-19T22:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: Bit field and Graphic library on Linux</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Bit-field-and-Graphic-library-on-Linux/m-p/756442#M11929</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/406810"&gt;brunocalado&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;I'm using the intel fortran compiler 11 on linux.&lt;BR /&gt;&lt;BR /&gt;1 - ) Bit field&lt;BR /&gt;I want to create a long bit chain. Use the bits on Integer (Kind=8) is not enough. It must have the range 1-10000000.&lt;BR /&gt;&lt;BR /&gt;The way I founded is create a array of logical&lt;BR /&gt;LOGICAL (KIND=1)    ::  gene( 10000 )&lt;BR /&gt;&lt;BR /&gt;But it is very ugly because it allocated 10000 bytes instead bits. And I can't use the intrisic bit functions.&lt;BR /&gt;&lt;BR /&gt;Is there a way of make true bit field?&lt;BR /&gt;&lt;BR /&gt;2 - ) I tried to use the graphic library but it is just available for windows. Please make it work for linux.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;tks&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
1) I am afraid you will have to allocate an array of integers and access the bits manually. &lt;BR /&gt;2) not clear what library is "*the* graphics library" :)&lt;BR /&gt;</description>
      <pubDate>Sat, 20 Jun 2009 09:08:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Bit-field-and-Graphic-library-on-Linux/m-p/756442#M11929</guid>
      <dc:creator>eliosh</dc:creator>
      <dc:date>2009-06-20T09:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: Bit field and Graphic library on Linux</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Bit-field-and-Graphic-library-on-Linux/m-p/756443#M11930</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/432526"&gt;eliosh&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
1) I am afraid you will have to allocate an array of integers and access the bits manually. &lt;BR /&gt;2) not clear what library is "*the* graphics library" :)&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;There's functions for graphical interface. like arc pixels But they are available only for windows&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;INTEGER :: Array(5,10)&lt;BR /&gt;INTEGER :: tmp(5)&lt;BR /&gt;&lt;BR /&gt;Array = 1&lt;BR /&gt;tmp = 2&lt;BR /&gt;&lt;BR /&gt;Array(:,10) = tmp&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Why the last line doesn't work?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 21 Jun 2009 21:36:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Bit-field-and-Graphic-library-on-Linux/m-p/756443#M11930</guid>
      <dc:creator>brunocalado</dc:creator>
      <dc:date>2009-06-21T21:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: Bit field and Graphic library on Linux</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Bit-field-and-Graphic-library-on-Linux/m-p/756444#M11931</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
How does it "not work"?&lt;BR /&gt;</description>
      <pubDate>Sun, 21 Jun 2009 23:43:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Bit-field-and-Graphic-library-on-Linux/m-p/756444#M11931</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2009-06-21T23:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: Bit field and Graphic library on Linux</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Bit-field-and-Graphic-library-on-Linux/m-p/756445#M11932</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/336209"&gt;Steve Lionel (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt; How does it "not work"?&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;&lt;BR /&gt;But I did the same here. Look:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;LOGICAL (KIND=1) :: gene(5, 10)&lt;BR /&gt;INTEGER :: Index(10)&lt;BR /&gt;&lt;BR /&gt;gene(:,:) = gene(:,Index)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Output:&lt;BR /&gt;Index Gene before (gene(:,:) = gene(:,Index))&lt;BR /&gt; 1 : T F F T T&lt;BR /&gt; 2 : T T T T T&lt;BR /&gt; 3 : T T T T T&lt;BR /&gt; 4 : T T F T T&lt;BR /&gt; 5 : F T F T T&lt;BR /&gt; 6 : F F F T T&lt;BR /&gt; 7 : T F T F F&lt;BR /&gt; 8 : T F T T T&lt;BR /&gt; 9 : F F T T F&lt;BR /&gt; 10 : T T F T F&lt;BR /&gt; &lt;BR /&gt;Index before -&amp;gt; new Index  Gene after (gene(:,:) = gene(:,Index))&lt;BR /&gt; 1 -&amp;gt; 5 F T F T T&lt;BR /&gt; 2 -&amp;gt; 1 T F F T T&lt;BR /&gt; 3 -&amp;gt; 2 T T T T T&lt;BR /&gt; 4 -&amp;gt; 3 T T T T T&lt;BR /&gt; 5 -&amp;gt; 6 F F F T T&lt;BR /&gt; 6 -&amp;gt; 8 T F T T T&lt;BR /&gt; 7 -&amp;gt; 9 F F T T F&lt;BR /&gt; 8 -&amp;gt; 4 T T F T T&lt;BR /&gt; 9 -&amp;gt; 10 T T F T F&lt;BR /&gt; 10 -&amp;gt; 7 T F T F F&lt;BR /&gt;&lt;BR /&gt;The genes must change. The second (T T T T T) should go to the first position. The third (T T T T T) to the second...&lt;BR /&gt;&lt;BR /&gt;It is the same thing, no?&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Jun 2009 01:32:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Bit-field-and-Graphic-library-on-Linux/m-p/756445#M11932</guid>
      <dc:creator>brunocalado</dc:creator>
      <dc:date>2009-06-22T01:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: Bit field and Graphic library on Linux</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Bit-field-and-Graphic-library-on-Linux/m-p/756446#M11933</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/406810"&gt;brunocalado&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;BR /&gt;&lt;BR /&gt;But I did the same here. Look:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;LOGICAL (KIND=1) :: gene(5, 10)&lt;BR /&gt;INTEGER :: Index(10)&lt;BR /&gt;&lt;BR /&gt;gene(:,:) = gene(:,Index)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Output:&lt;BR /&gt; 1 : T F F T T&lt;BR /&gt; 2 : T T T T T&lt;BR /&gt; 3 : T T T T T&lt;BR /&gt; 4 : T T F T T&lt;BR /&gt; 5 : F T F T T&lt;BR /&gt; 6 : F F F T T&lt;BR /&gt; 7 : T F T F F&lt;BR /&gt; 8 : T F T T T&lt;BR /&gt; 9 : F F T T F&lt;BR /&gt; 10 : T T F T F&lt;BR /&gt; &lt;BR /&gt; 1 -&amp;gt; 5 F T F T T&lt;BR /&gt; 2 -&amp;gt; 1 T F F T T&lt;BR /&gt; 3 -&amp;gt; 2 T T T T T&lt;BR /&gt; 4 -&amp;gt; 3 T T T T T&lt;BR /&gt; 5 -&amp;gt; 6 F F F T T&lt;BR /&gt; 6 -&amp;gt; 8 T F T T T&lt;BR /&gt; 7 -&amp;gt; 9 F F T T F&lt;BR /&gt; 8 -&amp;gt; 4 T T F T T&lt;BR /&gt; 9 -&amp;gt; 10 T T F T F&lt;BR /&gt; 10 -&amp;gt; 7 T F T F F&lt;BR /&gt;&lt;BR /&gt;The genes must change. The second (T T T T T) should go to the first position. The third (T T T T T) to the second...&lt;BR /&gt;&lt;BR /&gt;It is the same thing, no?&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;What can we see from this example ?????&lt;BR /&gt;Show the content of gene and Index before the permutation and after it.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Jun 2009 09:42:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Bit-field-and-Graphic-library-on-Linux/m-p/756446#M11933</guid>
      <dc:creator>eliosh</dc:creator>
      <dc:date>2009-06-22T09:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: Bit field and Graphic library on Linux</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Bit-field-and-Graphic-library-on-Linux/m-p/756447#M11934</link>
      <description>updated &lt;BR /&gt;</description>
      <pubDate>Mon, 22 Jun 2009 21:05:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Bit-field-and-Graphic-library-on-Linux/m-p/756447#M11934</guid>
      <dc:creator>brunocalado</dc:creator>
      <dc:date>2009-06-22T21:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: Bit field and Graphic library on Linux</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Bit-field-and-Graphic-library-on-Linux/m-p/756448#M11935</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/406810"&gt;brunocalado&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;updated &lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
Your results look perfectly reasonable. &lt;BR /&gt;Note that the index change 1-&amp;gt;5 means that the 5th element moves to the first position. Similarly, 2-&amp;gt;4 means that the fourth element becomes the second. &lt;BR /&gt;&lt;BR /&gt;For some reason you expect them to move in "reverse" direction.&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Jun 2009 05:35:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Bit-field-and-Graphic-library-on-Linux/m-p/756448#M11935</guid>
      <dc:creator>eliosh</dc:creator>
      <dc:date>2009-06-23T05:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: Bit field and Graphic library on Linux</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Bit-field-and-Graphic-library-on-Linux/m-p/756449#M11936</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/432526"&gt;eliosh&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
Your results look perfectly reasonable. &lt;BR /&gt;Note that the index change 1-&amp;gt;5 means that the 5th element moves to the first position. Similarly, 2-&amp;gt;4 means that the fourth element becomes the second. &lt;BR /&gt;&lt;BR /&gt;For some reason you expect them to move in "reverse" direction.&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Thank you.&lt;BR /&gt;&lt;BR /&gt;This is what I want.&lt;BR /&gt;gene(:,Index) = gene(:,:)&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Jun 2009 21:10:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Bit-field-and-Graphic-library-on-Linux/m-p/756449#M11936</guid>
      <dc:creator>brunocalado</dc:creator>
      <dc:date>2009-06-23T21:10:55Z</dc:date>
    </item>
  </channel>
</rss>

