Hello Ralph, thanks for your response.
In that case, I understand that I have to use the binaries of the EPICS Support Module instead of the ones from EPICS Base.
However, what happens if I want to use, with the same PVs, EPICS Base and the EPICS Support Module? Or, for instance, two different EPICS Modules with the same PVs?
I've to use a RELEASE.local file, but what do I have to write on it and in which location should reside in order to use EPICS Base and the modules together?
Thanks, Eusebio.
---
Saludos/Best regards
Eusebio Naif Al-Soliman Fuentes MSc. Data Science and Computer Engineering
eunaif at correo.ugr.es
El 2023-12-19 17:13, Ralph Lange escribió:
On Tue, 19 Dec 2023 at 11:36, Eusebio Naif Al-Soliman Fuentes via Tech-talk <tech-talk at aps.anl.gov> wrote:
Hello everyone.
I have a question: How do you install an EPICS Device Support module? [...] Currently, I've successfully compiled both modules in their respectives directories by defining the $EPICS_BASE environment variable inside the configure/RELEASE file. However, what I aim to do is install the module within the $EPICS_BASE/module directory, allowing me to launch the IOC directly with the "softIoc" or the "softIocPVA" commands.
Don't do that. The modules subdirectory in Base is intended for the modules that are part of EPICS Base - it is NOT the right place for external Support modules. The softIoc... binaries are exactly that: a soft IOC binary only containing the stuff from Base, without external support modules.
EPICS Support modules are intended to reside next to each other, just like you seemingly did with your mentioned modules. You can configure the whole group by putting a file RELEASE.local in the location where all your support modules are located - that way you don't have to change the RELEASE files inside the modules. Such a bundle of support modules is usually shared within an installation. Often on a network drive, sometimes installed as system packages.
Your IOC application modules, which are technically very similar, are in a separate place, where you keep your applications. IOC applications create the binaries for IOC and their databases. IOC applications use the things (libraries, template databases, etc.) provided by support modules. An bundle of IOC applications gets the locations of the support modules through a RELEASE.local file in the directory above. (Which often is a copy of the file in the support area.)
Cheers, ~Ralph
|