Remove hard-coded paths to source code files in models
From bugzilla ticket #978
Keith Thorne (LIGO - Livingston Observatory) 2016-02-20 18:52:47 PST
Created attachment 180 [details] list of files with hard-coded paths
To build models fully from code checked-out to a production area, all absolute paths to files need to be removed. In doing the Jenkins testing, I found some models were using hard-coded paths to find code instead of RCG environment variables
i.e. /opt/rtcds/userapps/release/cds/common/src/wait.c instead of ${CDS_SRC}/wait.c
Attached is a search of cds_user_apps for such things
They occur in common, h1 and l1 models (likely c1 as well).
These need to be corrected
Keith Thorne (LIGO - Livingston Observatory) 2016-02-24 13:27:20 PST
I would like to correct the common parts. Any objections to checking in changes?
The only issues in L1/H1 models appear to be in PEM use of BLRMS. Can we update models remotely, or does this have to be done/fixed at each location to check?
Joseph Betzwieser (LIGO - Livingston Observatory) 2016-02-24 14:33:24 PST
I have no objections to checking in changes to these parts. It should be transparent to the users.
Keith: 2016-03-18 08:04:26 PDT
l1pemex, l1pemey were corrected by Annamaria yesterday during other mods. Still have l1pemcs to do.
Keith: 2016-04-22 12:41:21 PDT
l1pemcs is long done.
All that is left is h1pemcs/h1pemex/h1pemey