Experimental Physics and Industrial Control System
|
Hi Daeyeong,
Hi,
On 1/16/23 1:15 AM, 김대영 via Tech-talk
wrote:
> How to use functions
(epicsThreadSetCPUaffinity
/ epicsThreadSetPosixPriority) in epics 7.0.4?
> If the above functions are not
available, is there an alternative?
Previously, epics 3.1.4 was used.
When I tried to change it to epics 7, the
following problems occurred:
> undefined reference to 'epicsThreadSetCPUaffinity
'
> undefined reference to 'epicsThreadSetPosixPriority '
The only reference I can find to those functions is in this 2011
email where they were requested by ITER, but they have never
been included in EPICS Base itself. The EPICS community does have an
external support module called MCoreUtils
which provides utilities for running EPICS on multi-core systems,
but I think you may need to consult with any contacts you might have
with ITER and/or CosyLab to know how to convert your existing code.
I knew that sounded familiar...
Cosylab did an assessment of these things for ITER back in 2011, and I provided a slightly different and extended implementation in 2012/2013, which is the MCoreUtils [1] module that Andrew mentioned. MCoreUtils is maintained and works with current EPICS versions. It provides the functionality you need (and more). It is also a regular system package in all supported releases of ITER's CODAC Core System distribution.
Cheers, ~Ralph
- References:
- How to use epicsThreadSetCPUaffinity in epics 7.0.4 김대영 via Tech-talk
- Re: How to use epicsThreadSetCPUaffinity in epics 7.0.4 Andrew Johnson via Tech-talk
- Navigate by Date:
- Prev:
Error in ADSimDetector (areaDetector) compilation Martín Marín Vilches via Tech-talk
- Next:
Re: Weird behaviour in wait=True when using epics.Motor.get(something,something,wait=True) Marco A. Barra Montevechi Filho via Tech-talk
- 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
- Navigate by Thread:
- Prev:
Re: How to use epicsThreadSetCPUaffinity in epics 7.0.4 Andrew Johnson via Tech-talk
- Next:
Weird behaviour in wait=True when using epics.Motor.get(something,something,wait=True) Marco A. Barra Montevechi Filho via Tech-talk
- 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
|
ANJ, 18 Jan 2023 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|