1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 <2017> 2018 2019 2020 2021 2022 2023 2024 | 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> 2018 2019 2020 2021 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: Building AreaDetector from source |
From: | "Lang, Keenan C." <[email protected]> |
To: | "Rivers, Mark L." <[email protected]>, 'Stephen Molloy' <[email protected]>, "[email protected]" <[email protected]> |
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: [email protected] <[email protected]> on behalf of Mark Rivers <[email protected]>
Sent: Tuesday, November 14, 2017 2:59:48 PM To: 'Stephen Molloy'; [email protected] 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: [email protected] [mailto:[email protected]]
On Behalf Of Stephen Molloy
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
|