EPICS Controls 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  <20172018  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  <20172018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: synApps and external sequencer installation
From: Benjamin Franksen <[email protected]>
To: EPICS Techtalk <[email protected]>
Date: Thu, 2 Feb 2017 12:59:24 +0100
[forgot to add the list]

On 02.02.2017 10:00, Luca Cavalli wrote:
> I have a IOC using synApps 5.8 (for the "transform" record) and sequencer 2.2.4.
> I cloned my IOC from XXX reference IOC in synApps as suggested by documentation.
> If I set SNCSEQ variable pointing to my sequencer 2.2.4 installation on top of
> my IOC RELEASE file, it gets ignored and my state machines are compiled with the
> sequencer included in synApps (2.2.1). If I set SNCSEQ at the bottom of RELEASE,
> this error message is printed and compilation stops:
> 
> [...]
> perl /opt/epics/base/bin/linux-x86_64/convertRelease.pl checkRelease
> 
> Definition of SNCSEQ conflicts with SUPPORT support.
> In this application a RELEASE file defines
>         SNCSEQ = /opt/epics/modules/seq-2.2.4
> but SUPPORT at /opt/epics/support defines
>         SNCSEQ = /opt/epics/support/seq-2-2-1
> Definition of SNCSEQ conflicts with SSCAN support.
> [...]

This is because parts of synApps depend on the sequencer. The
convertRelease.pl script checks that the application and all its support
modules form a consistent set, which means the same version of every
module is used everywhere.

You need to replace the sequencer in synApps with the new version before
compiling synApps. This is not too difficult.

> Setting SNCSEQ in my src/Makefile works, but is it the correct approach?

No. The convertRelease.pl is there to help you to avoid inconsistencies.

> Is it possible to make synApps (and its sequencer installation used internally)
> and an external sequencer installation coexist?

It is certainly possible but it may involve serious Makefile hacking
inside synApps.

Cheers
Ben
-- 
"Make it so they have to reboot after every typo." ― Scott Adams



Attachment: signature.asc
Description: OpenPGP digital signature


References:
synApps and external sequencer installation Luca Cavalli

Navigate by Date:
Prev: synApps and external sequencer installation Luca Cavalli
Next: RE: synApps and external sequencer installation Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: synApps and external sequencer installation Luca Cavalli
Next: RE: synApps and external sequencer installation Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
ANJ, 21 Dec 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·