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  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: weird behaviour of SNL test program running on Soft IOC on LINUX
From: "J. Lewis Muir" <[email protected]>
To: Oleg Makarov <[email protected]>
Cc: [email protected], "Stepanov, Sergey" <[email protected]>, EPICS tech-talk <[email protected]>
Date: Mon, 16 Mar 2009 13:22:23 -0400
On 3/16/09 12:03 PM, Oleg Makarov wrote:
> A small SNL test program strangely misbehaves when it being run on Soft
> IOC on LINUX.
> Under VxWorks this SNL test program program behaves as expected.

snip

> Any ideas on how to correct this problem with SNL test program running
> on Soft IOC under LINUX OS?

Hi, Oleg.

That's strange.  I tried it in a soft IOC on Mac OS X and it worked fine.

Environment:
* Processor: 2.16 GHz Intel Core Duo
* OS: Mac OS X 10.5.6
* EPICS 3.14.10 (+patches)
* SEQ 2.0.12
* GCC: 4.0.1
* GCC optimization level: -03

What version of EPICS, SEQ, and GCC are you using?

Does the Linux computer have more than one processor/core?  What
compiler optimization level are you using?  Just in case there is some
kind of compiler optimization problem where it is incorrectly reordering
instructions, what happens if you recompile your SNL program and soft
IOC with compiler optimizations turned off (i.e. -O0)?

Lewis

-- 
J. Lewis Muir
Software Engineer
IMCA-CAT/CARS

References:
weird behaviour of SNL test program running on Soft IOC on LINUX Oleg Makarov

Navigate by Date:
Prev: RE: weird behaviour of SNL test program running on Soft IOC on LINUX Mark Rivers
Next: Help building EPICS 3.14.9 for RTEMS Sue Witherspoon
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: weird behaviour of SNL test program running on Soft IOC on LINUX Oleg Makarov
Next: Re: weird behaviour of SNL test program running on Soft IOC on LINUX Oleg Makarov
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 31 Jan 2014 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·