Hi Kay,
Thanks for the info. I'm not sure how to convert multiple files at once in my Makefile, but I will look into it.
I have managed to modify edl2adl use mkstemp() and thus be usable from parallel make. I'd like to know where to commit my changes so others can use them, and to make sure I am using the latest version of the converter.
I can now convert all 61 adl files in areaDetector/ADCore/ADApp/op/adl to edm, caQtDM, and CSS-BOY in 27 seconds, so the performance is acceptable already.
Mark
________________________________
From: Kasemir, Kay <[email protected]>
Sent: Tuesday, January 16, 2018 7:50 AM
To: Mark Rivers; [email protected]
Subject: Re: Latest version of adl2edl
Hi:
> I am working on a nice method to automatically convert medm screens to edm, caQtDM, and CSS that can be run with "make" in the op/ directory.
> The conversion is quite slow, particularly for CSS, so I want to be able to use parallel make (make -j).
> However, this does not work for edl2adl because it always uses a temporary file called adltemp. ..
Your main question is about edl2adl, not the CSS adl2boy application, but since you mention its speed:
Each time you start
css -application .. adl2boy.. /path/to/file1.adl
you will incur a startup time.
You can optimize that by calling it as
css -application .. adl2boy.. /path/to/file1.adl /path/to/file2.adl ... /path/to/file999.adl
to convert a bunch of files with one call, only incurring the startup time once.
Thanks,
Kay
- References:
- Latest version of adl2edl Mark Rivers
- Re: Latest version of adl2edl Kasemir, Kay
- Navigate by Date:
- Prev:
Re: Latest version of adl2edl Kasemir, Kay
- Next:
Re: Port scan with nmap causes infinite loop in casDGClient::processDG() [Re: CA gatway runs away when zero length PV name in UDP search request] J. Lewis Muir
- 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: Latest version of adl2edl Kasemir, Kay
- Next:
Port scan with nmap causes infinite loop in casDGClient::processDG() [Re: CA gatway runs away when zero length PV name in UDP search request] Shuei YAMADA
- 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
|