Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017 Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
<== Date ==> <== Thread ==>

Subject: Re: Building AreaDetector from source
From: "Lang, Keenan C." <klang@aps.anl.gov>
To: "Rivers, Mark L." <rivers@cars.uchicago.edu>, 'Stephen Molloy' <stephen.molloy@esss.se>, "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Tue, 14 Nov 2017 21:22:04 +0000

There is also the assemble_synapps.sh script within the EPICS-synApps/support repository (https://github.com/EPICS-synApps/support/blob/master/assemble_synApps.sh) that does all of what Mark outlines automatically. At the top of the script is a list of synApps modules and github tags, just comment out the modules that you don't need, enter the tags that you want to build from, and run the script.



Though, the areaDetector configure files you'll still need to change yourself, currently. Support for that will be added eventually.


From: tech-talk-bounces@aps.anl.gov <tech-talk-bounces@aps.anl.gov> on behalf of Mark Rivers <rivers@cars.uchicago.edu>
Sent: Tuesday, November 14, 2017 2:59:48 PM
To: 'Stephen Molloy'; tech-talk@aps.anl.gov
Subject: RE: Building AreaDetector from source
 

Hi Steve,

 

That is very nice, thanks for doing that.  I have a few suggestions to make the installation more consistent and a little easier.

 

- You are getting some of the support modules from Github (autosave and calc) but some from the APS (busy and sscan).  I would suggest getting all of them from Github, both for consistency and because the APS location might go away at some point.

 

- You did not include devIocStats, but that can be a very useful module for remotely monitoring resources on the computer, i.e. is your areaDetector IOC consuming too much memory or CPU time on the host.

 

- The task of going to each module and manually editing configure/RELEASE is tedious and error prone.  If instead you can do the following:

Download https://github.com/EPICS-synApps/support  This will be the top-level directory

Download https://github.com/EPICS-synApps/configure Put this under the support directory

 

Now download all of the support modules (asyn, calc, areaDetector, etc.) as you outlined and put them under the support directory.  There is no need to create the soft links, though they don't hurt.

 

- Edit support/configure/RELEASE to define which modules should be used and their versions and locations.

 

- At the top level of support run the command run the command:

make release

This will update the configure/RELEASE files of each module (asyn, calc, etc.) to use the correct location of base and other modules.  It does it for areaDetector too. No more manual editing of RELEASE files.

 

- After you do a "git clone recursive" on areaDetector you are left in a "detached HEAD state" in each repository.  This means the version you are using is the last version that was committed at the top-level areaDetector repository.  It is a good idea to cd into each repository (ADCore, ADSupport, ADSimDetector) and type:

 

To run the most recent version:

git checkout master

or to run a specific release, for example R3-1 of ADCore

cd ADCore

git checkout R3-1

 

Mark

 

 

From: tech-talk-bounces@aps.anl.gov [mailto:tech-talk-bounces@aps.anl.gov] On Behalf Of Stephen Molloy
Sent: Tuesday, November 14, 2017 1:24 PM
To: tech-talk@aps.anl.gov
Subject: Building AreaDetector from source

 

Hi all,

I’ve had some good feedback from this list on my previous “how to”’s, so I hope it’s OK to post another.  This one is a step-by-step guide to installing AreaDetector from source, and can be found here:

 

It builds on my previous “how to” — http://www.smolloy.com/2017/10/basic-epics-installation-on-linux-mint/

 

Steve

 

 

 


Replies:
Re: Building AreaDetector from source Stephen Molloy
References:
Building AreaDetector from source Stephen Molloy
RE: Building AreaDetector from source Mark Rivers

Navigate by Date:
Prev: RE: caLab and real time os Baily, Scott A
Next: Compile error with areaDetector Dreyer, Dr. Joern
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
Navigate by Thread:
Prev: RE: Building AreaDetector from source Mark Rivers
Next: Re: Building AreaDetector from source Stephen Molloy
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
ANJ, 15 Nov 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·