The attached patch can be applied:<div><br></div><div>patch -p1 &lt; mic_fix.patch </div><div><br></div><div>from the directory containing src/.</div><div><br></div><div>David<br><br><div class="gmail_quote">On Thu, Mar 28, 2013 at 10:33 AM, Taras Shapovalov <span dir="ltr">&lt;<a href="mailto:taras.shapovalov@brightcomputing.com" target="_blank">taras.shapovalov@brightcomputing.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>

  
    
  
  <div bgcolor="#ffffff" text="#000000">
    Hi David,<br>
    <br>
    The patch would be better.<br>
    Thanks.<br>
    <br>
    --<br>
    Taras<div><div class="h5"><br>
    <br>
    On 03/28/2013 05:22 PM, David Beer wrote:
    <blockquote type="cite"><br>
      <br>
      <div class="gmail_quote">On Thu, Mar 28, 2013 at 10:13 AM, Taras
        Shapovalov <span dir="ltr">&lt;<a href="mailto:taras.shapovalov@brightcomputing.com" target="_blank">taras.shapovalov@brightcomputing.com</a>&gt;</span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi all,<br>
          <br>
          Has somebody tried to build TORQUE with MIC support?<br>
        </blockquote>
        <div><br>
        </div>
        <div>This is fixed in the latest source. You can pull from
          github or I can send you a patch if you need.</div>
        <div><br>
        </div>
        <div>David</div>
        <div> </div>
        <blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          I&#39;ve got this error:<br>
          <br>
          [root@micdev torque-4.2.1]# ./configure<br>
          --with-mic-path=/opt/intel/mic/coi --enable-mic<br>
          ...<br>
          <br>
          Building components: server=yes mom=yes clients=yes<br>
          gui=no drmaa=no pam=no<br>
          PBS Machine type : linux<br>
          Remote copy : /usr/bin/scp -rpB<br>
          PBS home : /var/spool/torque<br>
          Default server : micdev<br>
          <br>
          Unix Domain sockets :<br>
          Linux cpusets : no<br>
          Tcl : -L/usr/lib64 -ltcl8.5 -ldl -lieee -lm<br>
          Tk : disabled<br>
          <br>
          Ready for &#39;make&#39;.<br>
          <br>
          [root@micdev torque-4.2.1]# make<br>
          ...<br>
          mom_server.c: In function ‘void mom_server_all_update_stat()’:<br>
          mom_server.c:1523: error: ‘add_mic_status’ was not declared in
          this scope<br>
          make[3]: *** [mom_server.o] Error 1<br>
          make[3]: *** Waiting for unfinished jobs....<br>
          make[3]: Leaving directory `/root/torque-4.2.1/src/resmom&#39;<br>
          make[2]: *** [all-recursive] Error 1<br>
          make[2]: Leaving directory `/root/torque-4.2.1/src/resmom&#39;<br>
          make[1]: *** [all-recursive] Error 1<br>
          make[1]: Leaving directory `/root/torque-4.2.1/src&#39;<br>
          make: *** [all-recursive] Error 1<br>
          <br>
          Any ideas what could be wrong here?<br>
          <br>
          I&#39;ve downloaded sources from:<br>
          <a href="http://www.adaptivecomputing.com/support/download-center/torque-download/" target="_blank">http://www.adaptivecomputing.com/support/download-center/torque-download/</a><br>
          <span><font color="#888888"><br>
              --<br>
              Taras<br>
              <br>
              _______________________________________________<br>
              torqueusers mailing list<br>
              <a href="mailto:torqueusers@supercluster.org" target="_blank">torqueusers@supercluster.org</a><br>
              <a href="http://www.supercluster.org/mailman/listinfo/torqueusers" target="_blank">http://www.supercluster.org/mailman/listinfo/torqueusers</a><br>
            </font></span></blockquote>
      </div>
      <br>
      <br clear="all">
      <div><br>
      </div>
      -- <br>
      <div>David Beer | Senior Software Engineer</div>
      <div>Adaptive Computing</div>
      <pre><fieldset></fieldset>
_______________________________________________
torqueusers mailing list
<a href="mailto:torqueusers@supercluster.org" target="_blank">torqueusers@supercluster.org</a>
<a href="http://www.supercluster.org/mailman/listinfo/torqueusers" target="_blank">http://www.supercluster.org/mailman/listinfo/torqueusers</a>
</pre>
    </blockquote>
    <br>
  </div></div></div>

<br>_______________________________________________<br>
torqueusers mailing list<br>
<a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a><br>
<a href="http://www.supercluster.org/mailman/listinfo/torqueusers" target="_blank">http://www.supercluster.org/mailman/listinfo/torqueusers</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div>David Beer | Senior Software Engineer</div><div>Adaptive Computing</div>
</div>