Reports until 14:36, Thursday 25 August 2016
H1 CDS
david.barker@LIGO.ORG - posted 14:36, Thursday 25 August 2016 - last comment - 15:26, Thursday 25 August 2016(29311)
Front End matlab files saved with non-2012b version of matlab

I was perusing the lsc model and noticed that it looked terrible. The reason was that the lsc/common/models/lsc.mdl file has been saved with matlab-2015b and looks very bad when viewed with matlab-2012b (please see attached screen shots).

Currently CDS has standardized on matlab-2012b for all front end model files. I checked all the H1 files and found we have three model files which have been saved with 2015b (lsc,mdl, h1isietmx.mdl and h1isietmy.mdl). Having a file written by different versions of matlab also makes 'svn diff' essentially worthless due to the large number of format differences.

I'll convert the 2015 formatted files back to 2012 format. Perhaps adopting a later version of matlab for CDS is a topic for discussion with a larger audience.

The left plot is the 2015-format file viewed with 2015b, the right plot is the same file viewed with 2012b.

Images attached to this report
Comments related to this report
david.barker@LIGO.ORG - 15:11, Thursday 25 August 2016 (29313)

BTW, here is a one line (albeit a long line) command to list any source mdl files which have a matlab version other than 2012b. At this point I have reverted lsc.mdl, so only ISI models are left upgraded.

for i in $(grep -h mdl /opt/rtcds/lho/h1/target/*/src/src_locations.txt|sort -u);do which_matlab_version.py $i|grep -v 2012b;done

2010a /opt/rtcds/userapps/release/isi/common/models/Offset_DOF.mdl
2015b /opt/rtcds/userapps/release/isi/h1/models/h1isietmx.mdl
2015b /opt/rtcds/userapps/release/isi/h1/models/h1isietmy.mdl
 

david.barker@LIGO.ORG - 15:26, Thursday 25 August 2016 (29314)

all user files reverted to 2012b. I rebuilt the kernel object files and verified they only differ with the running files by the different build-date strings.