Model file found /opt/rtcds/userapps/release/cds/k1/models/k1ioppr2.mdl RCG_LIB_PATH=:/opt/rtcds/userapps/release/cds/k1/models:/opt/rtcds/userapps/release/cds/k1/models/lib:/opt/rtcds/userapps/release/cds/common/models:/opt/rtcds/userapps/release/cds/common/src:/opt/rtcds/userapps/release/isc/k1/models:/opt/rtcds/userapps/release/isc/k1/models/lib:/opt/rtcds/userapps/release/isc/common/models:/opt/rtcds/userapps/release/isc/common/src:/opt/rtcds/userapps/release/vis/k1/models:/opt/rtcds/userapps/release/vis/k1/models/lib:/opt/rtcds/userapps/release/vis/common/models:/opt/rtcds/userapps/release/vis/common/src:/opt/rtcds/userapps/release/ioo/k1/models:/opt/rtcds/userapps/release/ioo/k1/models/lib:/opt/rtcds/userapps/release/ioo/common/models:/opt/rtcds/userapps/release/ioo/common/src:/opt/rtcds/userapps/release/imc/k1/models:/opt/rtcds/userapps/release/imc/k1/models/lib:/opt/rtcds/userapps/release/imc/common/models:/opt/rtcds/userapps/release/imc/common/src:/opt/rtcds/userapps/release/psl/k1/models:/opt/rtcds/userapps/release/psl/k1/models/lib:/opt/rtcds/userapps/release/psl/common/models:/opt/rtcds/userapps/release/psl/common/src:/opt/rtcds/userapps/release/asc/k1/models:/opt/rtcds/userapps/release/asc/k1/models/lib:/opt/rtcds/userapps/release/asc/common/models:/opt/rtcds/userapps/release/asc/common/src:/opt/rtcds/userapps/release/lsc/k1/models:/opt/rtcds/userapps/release/lsc/k1/models/lib:/opt/rtcds/userapps/release/lsc/common/models:/opt/rtcds/userapps/release/lsc/common/src:/opt/rtcds/rtscore/release/src/epics/simLink:/opt/rtcds/rtscore/release/src/epics/simLink/lib:/opt/rtcds/rtscore/tags/advLigoRTS-2.6.3/src/epics/simLink Generating Firm Real-time code for patched vanilla Linux kernel file out is k1ioppr2 Lexically parsed the model file successfully Starting node processing Merged 0 references Merged library referenes Site is set to K1 Rate set to 64K Dcu Id is set to 19 GDS node id is set to 19 Target host name is set to k1pr2 FE will run on CPU 2 FE will run as IOP Shared memory DAQ connection (No Myrinet) FE will run with PCIE RFM Network Flattening the model Top-level subsystem PR2 Finished flattening the model Removed Tags Removed Busses ADC 0; type='GSC_16AI64SSA'; num=0 DAC PART TYPE description `type=GSC_16AO16,\ncard_num=0 ' DAC PART TYPE GSC_16AO16 DAC 0; type=GSC_16AO16; num=0 Found 1 ADCs 86 parts 1 subsystems Total parts to process 73 Found 1 subsystems Found 1 ADC modules part is 0 Found 1 DAC modules part is 5 Found 4 Binary modules part is 1 MAX_ADC_MODULES=12 MAX_DAC_MODULES=12 SUB 0 has 72 parts ******************* Found 35 Inputs for subsystem 0 with 67 parts********************************* ********************* Parts remaining = 0 Subsystem 0 PR2 first pass done 4 1 Counted 80 parts out of total 80 Version = 3398M Length = 6 Found 1 ADC modules part is 0 Found 1 DAC modules part is 5 opening file ../../../build/k1ioppr2epics/medm/K1IOPPR2_IPC_STATUS.adl opening file ../../../build/k1ioppr2epics/medm/K1IOPPR2_IPC_STATUS.adl opening file ../../../build/k1ioppr2epics/medm/K1IOPPR2_IPC_STATUS.adl opening file ../../../build/k1ioppr2epics/medm/K1IOPPR2_IPC_STATUS.adl opening file ../../../build/k1ioppr2epics/medm/K1IOPPR2_IPC_STATUS.adl opening file ../../../build/k1ioppr2epics/medm/K1IOPPR2_IPC_STATUS.adl opening file ../../../build/k1ioppr2epics/medm/K1IOPPR2_IPC_STATUS.adl opening file ../../../build/k1ioppr2epics/medm/K1IOPPR2_IPC_STATUS.adl opening file ../../../build/k1ioppr2epics/medm/K1IOPPR2_IPC_STATUS.adl opening file ../../../build/k1ioppr2epics/medm/K1IOPPR2_IPC_STATUS.adl make[1]: Entering directory `/opt/rtcds/rtscore/tags/advLigoRTS-2.6.3' (cd src/epics/fmseq; \ cat k1ioppr2 | cpp -DK1IOPPR2_CODE -DFE_HEADER=\"k1ioppr2.h\" -I/opt/rtapps/epics/base/include/os/Linux -I/opt/rtapps/epics/base/include -I/opt/rtapps/epics/modules/sncseq/include -I/opt/rtapps/epics/extensions/include -I/usr/lib/rmnet -I/usr/lib/rfm2g -Isrc/include -I/opt/rtcds/rtscore/tags/advLigoRTS-2.6.3/src/include -I/opt/rtcds/rtscore/tags/advLigoRTS-2.6.3/src/include/drv -I/usr/lib64 -DRFM_EPICS -DNO_FM10GEN_C_CODE -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -DOSITHREAD_USE_DEFAULT_STACK -D_X86_ -DUNIX -D_BSD_SOURCE -Dlinux -D_REENTRANT -g -fPIC -DNO_RTL=1 - | grep -v ^# | /opt/rtcds/rtscore/tags/advLigoRTS-2.6.3/src/epics/util/fmseq.pl k1ioppr2 &&\ mv k1ioppr2.* ../../../build/k1ioppr2epics) top_names are FEC systems are IOP- testpoints are PR2_MDAC0_TP_CH0 PR2_MDAC0_TP_CH1 PR2_MDAC0_TP_CH2 PR2_MDAC0_TP_CH3 PR2_MDAC0_TP_CH4 PR2_MDAC0_TP_CH5 PR2_MDAC0_TP_CH6 PR2_MDAC0_TP_CH7 PR2_MDAC0_TP_CH8 PR2_MDAC0_TP_CH9 PR2_MDAC0_TP_CH10 PR2_MDAC0_TP_CH11 PR2_MDAC0_TP_CH12 PR2_MDAC0_TP_CH13 PR2_MDAC0_TP_CH14 PR2_MDAC0_TP_CH15 PR2_MADC0_TP_CH9 PR2_MADC0_TP_CH8 PR2_MADC0_TP_CH7 PR2_MADC0_TP_CH6 PR2_MADC0_TP_CH5 PR2_MADC0_TP_CH4 PR2_MADC0_TP_CH31 PR2_MADC0_TP_CH30 PR2_MADC0_TP_CH3 PR2_MADC0_TP_CH29 PR2_MADC0_TP_CH28 PR2_MADC0_TP_CH27 PR2_MADC0_TP_CH26 PR2_MADC0_TP_CH25 PR2_MADC0_TP_CH24 PR2_MADC0_TP_CH23 PR2_MADC0_TP_CH22 PR2_MADC0_TP_CH21 PR2_MADC0_TP_CH20 PR2_MADC0_TP_CH2 PR2_MADC0_TP_CH19 PR2_MADC0_TP_CH18 PR2_MADC0_TP_CH17 PR2_MADC0_TP_CH16 PR2_MADC0_TP_CH15 PR2_MADC0_TP_CH14 PR2_MADC0_TP_CH13 PR2_MADC0_TP_CH12 PR2_MADC0_TP_CH11 PR2_MADC0_TP_CH10 PR2_MADC0_TP_CH1 PR2_MADC0_TP_CH0 GDS NODE 19 2 filters 0 matrices /usr/bin/gcc -x c -E -P -DK1IOPPR2_CODE -DFE_HEADER=\"k1ioppr2.h\" -I/opt/rtapps/epics/base/include/os/Linux -I/opt/rtapps/epics/base/include -I/opt/rtapps/epics/modules/sncseq/include -I/opt/rtapps/epics/extensions/include -I/usr/lib/rmnet -I/usr/lib/rfm2g -Isrc/include -I/opt/rtcds/rtscore/tags/advLigoRTS-2.6.3/src/include -I/opt/rtcds/rtscore/tags/advLigoRTS-2.6.3/src/include/drv -I/usr/lib64 -DRFM_EPICS -DNO_FM10GEN_C_CODE -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -DOSITHREAD_USE_DEFAULT_STACK -D_X86_ -DUNIX -D_BSD_SOURCE -Dlinux -D_REENTRANT -g -fPIC -DNO_RTL=1 build/k1ioppr2epics/k1ioppr2.st > build/k1ioppr2epics/k1ioppr2.i /opt/rtapps/epics/modules/sncseq/bin/linux-x86_64/snc +a -c -w build/k1ioppr2epics/k1ioppr2.i -o build/k1ioppr2epics/k1ioppr2.c echo 'registrar('`basename build/k1ioppr2epics/k1ioppr2`'Registrar)' > build/k1ioppr2epics/k1ioppr2.dbd cat /opt/rtcds/rtscore/tags/advLigoRTS-2.6.3/src/epics/dbd/a.dbd build/k1ioppr2epics/*.dbd > build/k1ioppr2epics/full.dbd /opt/rtapps/epics/base/bin/linux-x86_64/registerRecordDeviceDriver.pl build/k1ioppr2epics/full.dbd registerRecordDeviceDriver > build/k1ioppr2epics/registerRecordDeviceDriver.cc /bin/rm -f build/k1ioppr2epics/full.dbd cc -DK1IOPPR2_CODE -DFE_HEADER=\"k1ioppr2.h\" -I/opt/rtapps/epics/base/include/os/Linux -I/opt/rtapps/epics/base/include -I/opt/rtapps/epics/modules/sncseq/include -I/opt/rtapps/epics/extensions/include -I/usr/lib/rmnet -I/usr/lib/rfm2g -Isrc/include -I/opt/rtcds/rtscore/tags/advLigoRTS-2.6.3/src/include -I/opt/rtcds/rtscore/tags/advLigoRTS-2.6.3/src/include/drv -I/usr/lib64 -DRFM_EPICS -DNO_FM10GEN_C_CODE -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -DOSITHREAD_USE_DEFAULT_STACK -D_X86_ -DUNIX -D_BSD_SOURCE -Dlinux -D_REENTRANT -g -fPIC -DNO_RTL=1 -c -o build/k1ioppr2epics/k1ioppr2.o build/k1ioppr2epics/k1ioppr2.c cc -c -DK1IOPPR2_CODE -DFE_HEADER=\"k1ioppr2.h\" -I/opt/rtapps/epics/base/include/os/Linux -I/opt/rtapps/epics/base/include -I/opt/rtapps/epics/modules/sncseq/include -I/opt/rtapps/epics/extensions/include -I/usr/lib/rmnet -I/usr/lib/rfm2g -Isrc/include -I/opt/rtcds/rtscore/tags/advLigoRTS-2.6.3/src/include -I/opt/rtcds/rtscore/tags/advLigoRTS-2.6.3/src/include/drv -I/usr/lib64 -DRFM_EPICS -DNO_FM10GEN_C_CODE -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -DOSITHREAD_USE_DEFAULT_STACK -D_X86_ -DUNIX -D_BSD_SOURCE -Dlinux -D_REENTRANT -g -fPIC -DNO_RTL=1 /opt/rtcds/rtscore/tags/advLigoRTS-2.6.3/src/drv/rfm.c -o build/k1ioppr2epics/rfm.o cc -c -DK1IOPPR2_CODE -DFE_HEADER=\"k1ioppr2.h\" -I/opt/rtapps/epics/base/include/os/Linux -I/opt/rtapps/epics/base/include -I/opt/rtapps/epics/modules/sncseq/include -I/opt/rtapps/epics/extensions/include -I/usr/lib/rmnet -I/usr/lib/rfm2g -Isrc/include -I/opt/rtcds/rtscore/tags/advLigoRTS-2.6.3/src/include -I/opt/rtcds/rtscore/tags/advLigoRTS-2.6.3/src/include/drv -I/usr/lib64 -DRFM_EPICS -DNO_FM10GEN_C_CODE -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -DOSITHREAD_USE_DEFAULT_STACK -D_X86_ -DUNIX -D_BSD_SOURCE -Dlinux -D_REENTRANT -g -fPIC -DNO_RTL=1 /opt/rtcds/rtscore/tags/advLigoRTS-2.6.3/src/drv/param.c -o build/k1ioppr2epics/param.o cc -c -DK1IOPPR2_CODE -DFE_HEADER=\"k1ioppr2.h\" -I/opt/rtapps/epics/base/include/os/Linux -I/opt/rtapps/epics/base/include -I/opt/rtapps/epics/modules/sncseq/include -I/opt/rtapps/epics/extensions/include -I/usr/lib/rmnet -I/usr/lib/rfm2g -Isrc/include -I/opt/rtcds/rtscore/tags/advLigoRTS-2.6.3/src/include -I/opt/rtcds/rtscore/tags/advLigoRTS-2.6.3/src/include/drv -I/usr/lib64 -DRFM_EPICS -DNO_FM10GEN_C_CODE -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -DOSITHREAD_USE_DEFAULT_STACK -D_X86_ -DUNIX -D_BSD_SOURCE -Dlinux -D_REENTRANT -g -fPIC -DNO_RTL=1 /opt/rtcds/rtscore/tags/advLigoRTS-2.6.3/src/drv/crc.c -o build/k1ioppr2epics/crc.o cc -c -DK1IOPPR2_CODE -DFE_HEADER=\"k1ioppr2.h\" -I/opt/rtapps/epics/base/include/os/Linux -I/opt/rtapps/epics/base/include -I/opt/rtapps/epics/modules/sncseq/include -I/opt/rtapps/epics/extensions/include -I/usr/lib/rmnet -I/usr/lib/rfm2g -Isrc/include -I/opt/rtcds/rtscore/tags/advLigoRTS-2.6.3/src/include -I/opt/rtcds/rtscore/tags/advLigoRTS-2.6.3/src/include/drv -I/usr/lib64 -DRFM_EPICS -DNO_FM10GEN_C_CODE -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -DOSITHREAD_USE_DEFAULT_STACK -D_X86_ -DUNIX -D_BSD_SOURCE -Dlinux -D_REENTRANT -g -fPIC -DNO_RTL=1 /opt/rtcds/rtscore/tags/advLigoRTS-2.6.3/src/drv/fmReadCoeff.c -o build/k1ioppr2epics/fmReadCoeff.o cc -c -DK1IOPPR2_CODE -DFE_HEADER=\"k1ioppr2.h\" -I/opt/rtapps/epics/base/include/os/Linux -I/opt/rtapps/epics/base/include -I/opt/rtapps/epics/modules/sncseq/include -I/opt/rtapps/epics/extensions/include -I/usr/lib/rmnet -I/usr/lib/rfm2g -Isrc/include -I/opt/rtcds/rtscore/tags/advLigoRTS-2.6.3/src/include -I/opt/rtcds/rtscore/tags/advLigoRTS-2.6.3/src/include/drv -I/usr/lib64 -DRFM_EPICS -DNO_FM10GEN_C_CODE -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -DOSITHREAD_USE_DEFAULT_STACK -D_X86_ -DUNIX -D_BSD_SOURCE -Dlinux -D_REENTRANT -g -fPIC -DNO_RTL=1 /opt/rtcds/rtscore/tags/advLigoRTS-2.6.3/src/drv/sync.c -o build/k1ioppr2epics/sync.o cc -c -DK1IOPPR2_CODE -DFE_HEADER=\"k1ioppr2.h\" -I/opt/rtapps/epics/base/include/os/Linux -I/opt/rtapps/epics/base/include -I/opt/rtapps/epics/modules/sncseq/include -I/opt/rtapps/epics/extensions/include -I/usr/lib/rmnet -I/usr/lib/rfm2g -Isrc/include -I/opt/rtcds/rtscore/tags/advLigoRTS-2.6.3/src/include -I/opt/rtcds/rtscore/tags/advLigoRTS-2.6.3/src/include/drv -I/usr/lib64 -DRFM_EPICS -DNO_FM10GEN_C_CODE -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -DOSITHREAD_USE_DEFAULT_STACK -D_X86_ -DUNIX -D_BSD_SOURCE -Dlinux -D_REENTRANT -g -fPIC -DNO_RTL=1 /opt/rtcds/rtscore/tags/advLigoRTS-2.6.3/src/epics/seq/main.c -o build/k1ioppr2epics/main.o g++ -DK1IOPPR2_CODE -DFE_HEADER=\"k1ioppr2.h\" -I/opt/rtapps/epics/base/include/os/Linux -I/opt/rtapps/epics/base/include -I/opt/rtapps/epics/modules/sncseq/include -I/opt/rtapps/epics/extensions/include -I/usr/lib/rmnet -I/usr/lib/rfm2g -Isrc/include -I/opt/rtcds/rtscore/tags/advLigoRTS-2.6.3/src/include -I/opt/rtcds/rtscore/tags/advLigoRTS-2.6.3/src/include/drv -I/usr/lib64 -DRFM_EPICS -DNO_FM10GEN_C_CODE -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -DOSITHREAD_USE_DEFAULT_STACK -D_X86_ -DUNIX -D_BSD_SOURCE -Dlinux -D_REENTRANT -g -fPIC -DNO_RTL=1 -c -o build/k1ioppr2epics/registerRecordDeviceDriver.o build/k1ioppr2epics/registerRecordDeviceDriver.cc g++ -o build/k1ioppr2epics/k1ioppr2epics build/k1ioppr2epics/k1ioppr2.o build/k1ioppr2epics/rfm.o build/k1ioppr2epics/param.o build/k1ioppr2epics/crc.o build/k1ioppr2epics/fmReadCoeff.o build/k1ioppr2epics/sync.o build/k1ioppr2epics/main.o build/k1ioppr2epics/registerRecordDeviceDriver.o -lezca -g -L/opt/rtapps/epics/base/lib/linux-x86_64 -L/opt/rtapps/epics/modules/sncseq/lib/linux-x86_64 -L/opt/rtapps/epics/extensions/lib/linux-x86_64 -lseq -lseqDev -lpv -lsoftDevIoc -lrecIoc -ltestDevIoc -lrecIoc -lmiscIoc -lrsrvIoc -ldbtoolsIoc -lasIoc -ldbIoc -lregistryIoc -ldbStaticIoc -lca -lCom -lpthread -lreadline -lcurses -lrt sed 's/%SYS%/IOP/g;s/%SUBSYS%//g' build/k1ioppr2epics/k1ioppr2.db > build/k1ioppr2epics/k1ioppr21.db mkdir -p target/k1ioppr2epics/db cp build/k1ioppr2epics/k1ioppr2epics target/k1ioppr2epics /bin/rm -f target/k1ioppr2epics/db/*/autoBurt.req /bin/rm -f target/k1ioppr2epics/db/*/auto.ini for ifo in K1 ; do \ system=`echo k1ioppr2 | tr a-z A-Z | cut -c1-3`; \ ifo0=`echo $ifo | sed 's/[0-9]/0/g'`; \ mkdir -p target/k1ioppr2epics/db/$ifo; \ echo "#!/bin/sh" > target/k1ioppr2epics/startup$ifo; \ echo "if fuser -s ioc$ifo.log; then" >> target/k1ioppr2epics/startup$ifo; \ echo "echo Another copy of Epics process running already\!" >> target/k1ioppr2epics/startup$ifo; \ echo "exit 1" >> target/k1ioppr2epics/startup$ifo; \ echo "fi" >> target/k1ioppr2epics/startup$ifo; \ echo ./k1ioppr2epics k1ioppr2epics$ifo.cmd \> ioc$ifo.log 2\>\&1 \& >> target/k1ioppr2epics/startup$ifo ; \ echo echo k1ioppr2epics $ifo IOC Server started >> target/k1ioppr2epics/startup$ifo ; \ chmod +x target/k1ioppr2epics/startup$ifo ; \ /bin/rm -f target/k1ioppr2epics/k1ioppr2epics$ifo.cmd ; \ echo "dbLoadDatabase \"base.dbd\"" >> target/k1ioppr2epics/k1ioppr2epics$ifo.cmd; \ echo 'registerRecordDeviceDriver(pdbbase)' >> target/k1ioppr2epics/k1ioppr2epics$ifo.cmd ; \ echo '[default]' >> target/k1ioppr2epics/db/$ifo/auto.ini; \ echo 'gain=1.00' >> target/k1ioppr2epics/db/$ifo/auto.ini; \ echo 'datatype=4' >> target/k1ioppr2epics/db/$ifo/auto.ini; \ echo 'ifoid=0' >> target/k1ioppr2epics/db/$ifo/auto.ini; \ echo 'slope=6.1028e-05' >> target/k1ioppr2epics/db/$ifo/auto.ini; \ echo 'acquire=1' >> target/k1ioppr2epics/db/$ifo/auto.ini; \ echo 'offset=0' >> target/k1ioppr2epics/db/$ifo/auto.ini; \ echo 'units=V' >> target/k1ioppr2epics/db/$ifo/auto.ini; \ echo 'dcuid=4' >> target/k1ioppr2epics/db/$ifo/auto.ini; \ echo 'datarate=16' >> target/k1ioppr2epics/db/$ifo/auto.ini; \ echo '' >> target/k1ioppr2epics/db/$ifo/auto.ini; \ for i in build/k1ioppr2epics/k1ioppr21.db ; do \ cat $i | sed s/%IFO%/$ifo/g\;s/%IFO0%/$ifo0/g\;s/%SYS%/$system/g > target/k1ioppr2epics/db/$ifo/`basename $i`; \ grep record target/k1ioppr2epics/db/$ifo/`basename $i` | egrep 'record\(ao|record\(stringout' | sed 's/.*"\(.*\)\".*/\1/g' | awk '{ printf "RO %s\n", $0 }' >> target/k1ioppr2epics/db/$ifo/autoBurt.req; \ grep record target/k1ioppr2epics/db/$ifo/`basename $i` | egrep 'record\(stringin' | sed 's/.*"\(.*\)\".*/\1/g' | awk '{ printf "%s\n", $0 }' >> target/k1ioppr2epics/db/$ifo/autoBurt.req; \ grep record target/k1ioppr2epics/db/$ifo/`basename $i` | egrep 'record\(ao' | sed 's/.*"\(.*\)\".*/\1/g' | awk '{ printf "%s.HSV\n%s.LSV\n%s.HIGH\n%s.LOW\n", $0, $0, $0, $0 }' >> target/k1ioppr2epics/db/$ifo/autoBurt.req; \ \ grep record target/k1ioppr2epics/db/$ifo/`basename $i` | egrep 'record\(bo|record\(bi' | sed 's/.*"\(.*\)\".*/\1/g' >> target/k1ioppr2epics/db/$ifo/autoBurt.req; \ grep record target/k1ioppr2epics/db/$ifo/`basename $i` | egrep 'record\(bo|record\(bi' | sed 's/.*"\(.*\)\".*/\1/g' | awk '{ printf "%s.OSV\n%s.ZSV\n", $0, $0 }' >> target/k1ioppr2epics/db/$ifo/autoBurt.req; \ \ grep record target/k1ioppr2epics/db/$ifo/`basename $i` | egrep -v 'record\(ao|record\(string|record\(bi|record\(bo'| sed 's/.*"\(.*\)\".*/\1/g' >> target/k1ioppr2epics/db/$ifo/autoBurt.req; \ grep record target/k1ioppr2epics/db/$ifo/`basename $i` | egrep -v 'record\(ao|record\(string|record\(bi|record\(bo' | sed 's/.*"\(.*\)\".*/\1/g' | awk '{ printf "%s.HSV\n%s.LSV\n%s.HIGH\n%s.LOW\n", $0 , $0, $0, $0 }' >> target/k1ioppr2epics/db/$ifo/autoBurt.req; \ \ grep record target/k1ioppr2epics/db/$ifo/`basename $i` | sed 's/.*"\(.*\)\".*/\1/g' | egrep -v 'VME_Reset|SEVERITY|MAJOR_COUNT|MINOR_COUNT|SETPOINT_ID|FILTER_PARAM|GDS_MON|FESTAT|STATUS_COUNT|FILTER_ID|MTRXSTAT|MTRX_STAT_ERR|_MSG|_TIME_STRING|_STAT_ERR_CNT|BURT|LOAD_CONFIG|VME_RES|LOAD_NEW_COEFF|DIAG_RESET|SYNC_RESET|SW1|SW2|SW1R|SW2R|SW1S|SW2S|RSET|TRAMP|LIMIT|OUTPUT|EXCMON|OUT16|GAIN|OFFSET|OVERFLOW|_1_|_2_|_3_|_4_|_5_|_6_|_7_|_8_|_9_|TOTAL$|Name' | awk '{ printf "[%s]\n", $0 }' >> target/k1ioppr2epics/db/$ifo/auto.ini; \ echo "dbLoadRecords \"db/${ifo}/`basename $i`\"" >> target/k1ioppr2epics/k1ioppr2epics$ifo.cmd; \ echo -n 'epicsEnvSet PREFIX '>> target/k1ioppr2epics/k1ioppr2epics$ifo.cmd; \ grep _GRD_RB_STAT0 target/k1ioppr2epics/db/$ifo/`basename $i` | head -1 | sed 's/[^"]*"\([^"]*\)_GRD_RB_STAT0.*/\1/g' >> target/k1ioppr2epics/k1ioppr2epics$ifo.cmd; \ done ; \ done for ifo in K1 ; do \ echo "iocInit" >> target/k1ioppr2epics/k1ioppr2epics$ifo.cmd ; \ for i in 'k1ioppr2,("ifo=K1, site=kamioka, sys=IOP, sysnum=19, sysfile=K1IOPPR2 ")' ; do \ echo "seq &$i" | sed s/%IFO%/$ifo/g\;s/%SITE%/`if test $ifo = L1 ; then echo llo ; else echo lho ; fi`/g >> target/k1ioppr2epics/k1ioppr2epics$ifo.cmd; \ done ; \ done for i in ; do \ echo "seq &$i" | sed s/%IFO%/H1/g\;s/%SITE%/lho/g >> target/k1ioppr2epics/k1ioppr2epicsH1.cmd; \ done for i in ; do \ echo "seq &$i" | sed s/%IFO%/H2/g\;s/%SITE%/lho/g >> target/k1ioppr2epics/k1ioppr2epicsH2.cmd; \ done for i in ; do \ echo "seq &$i" | sed s/%IFO%/L1/g\;s/%SITE%/llo/g >> target/k1ioppr2epics/k1ioppr2epicsL1.cmd; \ done echo 'This is generated directory. Please make changes in CVS and reinstall from scratch.' > target/k1ioppr2epics/README.making_changes echo 'Changes made to files in this directory will be lost.' >> target/k1ioppr2epics/README.making_changes echo >> target/k1ioppr2epics/README.making_changes echo 'Built on date' `date` >> target/k1ioppr2epics/README.making_changes make[1]: Leaving directory `/opt/rtcds/rtscore/tags/advLigoRTS-2.6.3' make[1]: Entering directory `/opt/rtcds/rtscore/tags/advLigoRTS-2.6.3/src/fe/k1ioppr2' make -C /lib/modules/3.0.8/build SUBDIRS=/opt/rtcds/rtscore/tags/advLigoRTS-2.6.3/src/fe/k1ioppr2 modules make[2]: Entering directory `/usr/src/linux-3.0.8' CC [M] /opt/rtcds/rtscore/tags/advLigoRTS-2.6.3/src/fe/k1ioppr2/k1ioppr2.o Building modules, stage 2. MODPOST 1 modules CC /opt/rtcds/rtscore/tags/advLigoRTS-2.6.3/src/fe/k1ioppr2/k1ioppr2.mod.o LD [M] /opt/rtcds/rtscore/tags/advLigoRTS-2.6.3/src/fe/k1ioppr2/k1ioppr2.ko make[2]: Leaving directory `/usr/src/linux-3.0.8' make[1]: Leaving directory `/opt/rtcds/rtscore/tags/advLigoRTS-2.6.3/src/fe/k1ioppr2'