<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>I just put up <a moz-do-not-send="true"
href="https://halldweb.jlab.org/wiki/index.php/Building_Private_Versions_of_GlueX_Software:_my_sim-recon.sh">a
        wiki page describing a one-line</a>r for building private
      versions of GlueX software. See it reproduced below. I actually
      presented an early version of the script at the <a
        moz-do-not-send="true"
href="https://halldweb.jlab.org/wiki/index.php/GlueX_Offline_Meeting,_February_22,_2017">February
        22 Offline Software meeting</a> but am only now writing the
      documentation. And there is a YouTube video.</p>
    ____________________<br>
    <br>
    <div id="globalWrapper">
      <div id="column-content">
        <div id="content" class="mw-body" role="main">
          <h1 id="firstHeading" class="firstHeading" lang="en"><span
              dir="auto">Building Private Versions of GlueX Software: my
              sim-recon.sh</span></h1>
          <div id="bodyContent" class="mw-body-content">
            <div id="siteSub">From GlueXWiki</div>
            <div id="mw-content-text" dir="ltr" class="mw-content-ltr"
              lang="en">
              <p>my_sim-recon_jlab.sh is a script that will build the
                GlueX-specific parts of the software stack for a user
                for private use. Features include: </p>
              <ul>
                <li> software built in an arbitrary directory</li>
                <li> builds hdds, sim-recon, hdgeant4, and
                  gluex_root_analysis</li>
                <li> chooses current version of the master branch for
                  packages built</li>
                <li> non-GlueX-specific packages are obtained from the
                  default version.xml file</li>
                <li> creates set-up scripts for using the build</li>
                <li> uses four threads for the sim-recon build</li>
                <li> works only at JLab</li>
              </ul>
              <p>To invoke it: </p>
              <pre>mkdir my_example_directory
cd my_example_directory
/group/halld/Software/build_scripts/my_sim-recon.sh
</pre>
              <p>This will create setup_gluex.csh and setup_gluex.sh in
                my_example_directory. These should be sourced for tcsh
                and for bash respectively to set-up the GlueX software
                environment once the build is done. There is also a
                version XML file created in my_example_directory called
                <username>_<date>.xml where <username>
                is your username and <date> is the date. This XML
                file is used by the the set-up scripts to specify the
                environment and serves as documention of the build. </p>
              <p>There is a <a rel="nofollow" class="external text"
href="https://www.youtube.com/playlist?list=PL5hXJkN_54JvyhaswYUWMlDjKSYH0usL1">YouTube
                  playlist</a> that demonstrates an early version of the
                script (only sim-recon was built at that time). </p>
            </div>
            <div class="printfooter"> Retrieved from "<a dir="ltr"
href="https://halldweb.jlab.org/wiki/index.php?title=Building_Private_Versions_of_GlueX_Software:_my_sim-recon.sh&oldid=83516">https://halldweb.jlab.org/wiki/index.php?title=Building_Private_Versions_of_GlueX_Software:_my_sim-recon.sh&oldid=83516</a>"</div>
          </div>
        </div>
      </div>
      <div id="footer" role="contentinfo">
        <ul id="f-list">
          <li id="lastmod"> This page was last modified on 1 September
            2017, at 11:05.</li>
        </ul>
      </div>
    </div>
    <pre class="moz-signature" cols="72">-- 
Mark Ito, <a class="moz-txt-link-abbreviated" href="mailto:marki@jlab.org">marki@jlab.org</a>, (757)269-5295
</pre>
  </body>
</html>