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
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: