<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">You need to narrow down the cause of
      the "segmentation fault (core dumped)" error.  Perhaps, in a
      compile.msg file, it shows what program caused the segmenation
      fault (ifort, gcc or icc)?<br>
      <br>
      If you check siteconfig's recommendation, -lpthread in LDFLAGS
      should be changed to -pthread.<br>
      <br>
      As you can see on the website at:<br>
      <br>
<a class="moz-txt-link-freetext" href="http://wiki.rac.manchester.ac.uk/community/XeonPhi/GettingStarted/Compilation">http://wiki.rac.manchester.ac.uk/community/XeonPhi/GettingStarted/Compilation</a><br>
      <br>
      It looks like you might want to compile for just the HOST
      processor by adding -no-offload to your FOPT options before
      attempting to compile with the Xeon Phi coprocessors.<br>
      <br>
      On 7/14/2015 12:02 PM, shamik chakrabarti wrote:<br>
    </div>
    <blockquote
cite="mid:CAMqRRNYT4giKZRqyRQrcLQynwDKmwsiJ4zeunbwcLVZk8kOYUg@mail.gmail.com"
      type="cite">
      <div dir="ltr">Dear Gavin and wien2k users,
        <div><br>
        </div>
        <div>                 Sorry for the late reply to the above
          mail...we are trying to resolve the issues regarding the
          installation failure and were able to remove most of the
          errors after installing MSSP, as Gavin has suggested. However,
          we are still getting an error regarding segmentation fault,
          and were unable to solve this problem even after going through
          the mailing list and searching the net regarding this...The
          error appeared as below;</div>
        <div><br>
        </div>
        <div><span style="font-size:12.8000001907349px">segmentation
            fault (core dumped)........Error 2</span><br>
        </div>
        <div><span style="font-size:12.8000001907349px"><br>
          </span></div>
        <div><span style="font-size:12.8000001907349px">We are trying to
            install wien2k in a server with Red Hat Linux. The compiler
            used for the installation is composer_xe_2015.0.090.</span><span
            style="font-size:12.8000001907349px"><br>
          </span></div>
        <div><span style="font-size:12.8000001907349px"><br>
          </span></div>
        <div>
          <div style="font-size:12.8000001907349px">I am giving the
            settings of OPTION below</div>
          <div style="font-size:12.8000001907349px"><br>
          </div>
          <div style="font-size:12.8000001907349px">current:FOPT:-FR
            -mp1 -w -prec_div -pc80 -pad -ip -traceback -assume
            buffered_io <br>
          </div>
          <div style="font-size:12.8000001907349px">current:LDFLAGS:$(FOPT)
            -L$(MKLROOT)/lib/$(MKL_TARGET_ARCH) -lpthread</div>
          <div style="font-size:12.8000001907349px">current:DPARALLEL:'-DParallel'<br>
          </div>
          <div style="font-size:12.8000001907349px">current:R_LIBS:-L/opt/intel/mkl/lib/mic
            -lmkl_lapack95_lp64 -lmkl_intel_lp64 -lmkl_intel_thread
            -lmkl_core -openmp -lpthread<br>
          </div>
        </div>
        <div style="font-size:12.8000001907349px"><br>
        </div>
        <div style="font-size:12.8000001907349px">
          <div style="font-size:12.8000001907349px">We are eagerly
            awaiting fruitful responses. </div>
          <div style="font-size:12.8000001907349px"><br>
          </div>
          <div style="font-size:12.8000001907349px">Thanks in advance.</div>
          <div style="font-size:12.8000001907349px"><br>
          </div>
          <div style="font-size:12.8000001907349px">with regards,</div>
        </div>
        <div><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Tue, Jul 7, 2015 at 11:31 PM, Gavin
          Abo <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:gsabo@crimson.ua.edu" target="_blank">gsabo@crimson.ua.edu</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">X86_64-K1om-linux-ld
            => I think this is a linker for Intel Xeon Phi
            coprocessors.  As the error message says, it cannot find the
            X86_64-K1om-linux-ld file.  I guess that you have to install
            a redhat package (I would expect that redhat support [ <a
              moz-do-not-send="true"
              href="https://access.redhat.com/support/" rel="noreferrer"
              target="_blank">https://access.redhat.com/support/</a> ]
            would be able to tell what package needs installed ) or
            Intel's Manycore Platform Software Stack (MSSP) [ <a
              moz-do-not-send="true"
href="https://software.intel.com/en-us/articles/intel-manycore-platform-software-stack-mpss"
              rel="noreferrer" target="_blank">https://software.intel.com/en-us/articles/intel-manycore-platform-software-stack-mpss</a>
            ] to get the file.<br>
            <br>
            I don't see anything noticeable wrong with your compile
            settings, but it should be better to use the recommended
            siteconfig settings as there are differences.  For example,
            you don't have -assume buffered_io (or -assu buff), which
            can be faster [ <a moz-do-not-send="true"
href="http://www.mail-archive.com/wien%40zeus.theochem.tuwien.ac.at/msg05711.html"
              rel="noreferrer" target="_blank">http://www.mail-archive.com/wien%40zeus.theochem.tuwien.ac.at/msg05711.html</a>
            ] and prevent NFS problems [ <a moz-do-not-send="true"
href="http://www.mail-archive.com/wien%40zeus.theochem.tuwien.ac.at/msg03171.html"
              rel="noreferrer" target="_blank">http://www.mail-archive.com/wien%40zeus.theochem.tuwien.ac.at/msg03171.html</a>
            ].<br>
            <br>
            Maybe, the segmentation fault is related to Xeon Phi
            coprocessors, but I don't have experience using a Xeon Phi
            coprocessor.
            <div>
              <div class="h5"><br>
                <br>
                On 7/7/2015 4:26 AM, shamik chakrabarti wrote:<br>
                <blockquote class="gmail_quote" style="margin:0 0 0
                  .8ex;border-left:1px #ccc solid;padding-left:1ex">
                  Dear wien2k users,<br>
                  <br>
                      We are trying to install wien2k in a server with
                  Red Hat Linux. The compiler used for the installation
                  is composer_xe_2015.0.090<br>
                  <br>
                  Two errors were appeared during installation as being
                  seen from compiler.msg<br>
                  <br>
                  1) X86_64-K1om-linux-ld: No such file or
                  directory......Error 100<br>
                  <br>
                  2) segmentation fault (core dumped)........Error 2<br>
                  <br>
                  I am giving the settings of OPTION below<br>
                  <br>
                  current:FOPT:-FR -mp1 -w -prec_div -pc80 -pad -ip
                  -traceback<br>
                  current:LDFLAGS:$(FOPT)
                  -L$(MKLROOT)/lib/$(MKL_TARGET_ARCH) -lpthread<br>
                  current:DPARALLEL:'-DParallel'<br>
                  current:R_LIBS:-lmkl_lapack95_lp64 -lmkl_intel_lp64
                  -lmkl_intel_thread -lmkl_core -lpthread<br>
                  <br>
                  Any response in this regard will be helpful for us.<br>
                  <br>
                  Thanks in advance.<br>
                  <br>
                  with regards,<br>
                  <br>
                  -- <br>
                  Shamik Chakrabarti<br>
                  Senior Research Fellow<br>
                  Dept. of Physics & Meteorology<br>
                  Material Processing & Solid State Ionics Lab<br>
                  IIT Kharagpur<br>
                  Kharagpur 721302<br>
                  INDIA<br>
                </blockquote>
              </div>
            </div>
            _______________________________________________<br>
            Wien mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:Wien@zeus.theochem.tuwien.ac.at"
              target="_blank">Wien@zeus.theochem.tuwien.ac.at</a><br>
            <a moz-do-not-send="true"
              href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien"
              rel="noreferrer" target="_blank">http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien</a><br>
            SEARCH the MAILING-LIST at:  <a moz-do-not-send="true"
href="http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html"
              rel="noreferrer" target="_blank">http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html</a><br>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        <div class="gmail_signature">Shamik Chakrabarti<br>
          Senior Research Fellow<br>
          Dept. of Physics & Meteorology<br>
          Material Processing & Solid State Ionics Lab<br>
          IIT Kharagpur<br>
          Kharagpur 721302<br>
          INDIA</div>
      </div>
    </blockquote>
  </body>
</html>