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  2017  2018  2019  2020  2021  2022  <20232024  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  <20232024 
<== Date ==> <== Thread ==>

Subject: Re: How to use epicsThreadSetCPUaffinity in epics 7.0.4
From: Andrew Johnson via Tech-talk <tech-talk at aps.anl.gov>
To: 김대영 <dykim1114 at dawonsys.com>, tech-talk at aps.anl.gov
Date: Tue, 17 Jan 2023 13:09:35 -0600
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.

HTH,

- Andrew

-- 
Complexity comes for free, Simplicity you have to work for.

Replies:
Re: How to use epicsThreadSetCPUaffinity in epics 7.0.4 Ralph Lange via Tech-talk
References:
How to use epicsThreadSetCPUaffinity in epics 7.0.4 김대영 via Tech-talk

Navigate by Date:
Prev: Re: Weird behaviour in wait=True when using epics.Motor.get(something, something, wait=True) Matt Newville via Tech-talk
Next: Error in ADSimDetector (areaDetector) compilation Martín Marín Vilches 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  <20232024 
Navigate by Thread:
Prev: How to use epicsThreadSetCPUaffinity in epics 7.0.4 김대영 via Tech-talk
Next: Re: How to use epicsThreadSetCPUaffinity in epics 7.0.4 Ralph Lange 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  <20232024 
ANJ, 18 Jan 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·