Differences between revisions 3 and 4
Revision 3 as of 2019-03-27 16:03:28
Size: 909
Comment:
Revision 4 as of 2019-03-29 15:21:20
Size: 3010
Comment:
Deletions are marked like this. Additions are marked like this.
Line 22: Line 22:
 * Move to Fscan directory(/home/controls/public_html/fsca/Fscan)  * Move to Fscan directory({{{/home/controls/opt/Fscan}}})
Line 25: Line 25:
source /home/controls/public_html/fscan/Fscan/environment.sh source /users/DET/tools/Fscan/etc/environment.sh
Line 29: Line 29:
./testmultiFscanGenerator.tcl testKagraDailyFscanGenerator.rsc /home/controls/public_html/fscan/Fscan/segments/test_segments.txt -R ./testmultiFscanGenerator.tcl testKagraDailyFscanGenerator.rsc /home/controls/opt/Fscan/test_segments.txt -R
Line 31: Line 31:
 Results are exported to the "daily" directory  Results are exported to the "{{{~/public_html/fscan/daily}}}" directory
Line 35: Line 35:

== Code Modification for KAGRA ==
 * multiFscanGenerator.tcl
 {{{
--- multiFscanGenerator.tcl 2019-03-27 14:58:01.287737201 +0900
+++ multiFscanGenerator_kagra.tcl 2019-03-27 16:54:47.367739644 +0900
@@ -292,7 +292,8 @@ set moveSFTsFromSuffix "";
 
 set crab 0; #if crab stuff is to be run then rsc file sets crab to 1, default is not to run.X
 
-set submitLogFileDir "/usr1/pulsar"; # directory location for log files given in the condor submit files, for use with fscanDriver.py -o option.
+set submitLogFileDir "/home/controls/opt/Fscan/logs"; # directory location for log files given in the condor submit files, for use with fscanDriver.py -o option.
 
 
 ##### MAIN CODE STARTS HERE #####
 }}}
 * fscanDriver.py
 {{{
--- fscanDriver.py 2019-03-27 14:58:01.287737201 +0900
+++ fscanDriver_kagra.py 2019-03-29 14:15:32.386858803 +0900
@@ -602,7 +602,11 @@ if (createSFTs):
      sft_freqBand = 2
   else:
      sft_freqBand = freqBand + 1;
- makeDAGCommand = 'MakeSFTDAG -f %s -G %s -d %s -x %d -k %d -T %d -F %d -B %d -p %s -N %s -m 1 -o %s -X %s -Z -g %s -v %d -w %d' % (sftDAGFile,tagString,inputDataType,extraDatafindTime,filterKneeFreq,timeBaseline,startFreq,sft_freqBand,pathToSFTs,channelName,subLogPath,miscDesc,segmentFile,sftVersion,windowType)
+ if ifo == 'K1':
+ makeDAGCommand = os.environ['KAGRA_FSCANBIN_PATH']+'/lalapps_MakeSFTDAG_kagra -f %s -G %s -d %s -x %d -k %d -T %d -F %d -B %d -p %s -N %s -m 1 -o %s -X %s -Z -g %s -v %d -w %d' % (sftDAGFile,tagString,inputDataType,extraDatafindTime,filterKneeFreq,timeBaseline,startFreq,sft_freqBand,pathToSFTs,channelName,subLogPath,miscDesc,segmentFile,sftVersion,windowType)
+ else:
+ makeDAGCommand = 'MakeSFTDAG -f %s -G %s -d %s -x %d -k %d -T %d -F %d -B %d -p %s -N %s -m 1 -o %s -X %s -Z -g %s -v %d -w %d' % (sftDAGFile,tagString,inputDataType,extraDatafindTime,filterKneeFreq,timeBaseline,startFreq,sft_freqBand,pathToSFTs,channelName,subLogPath,miscDesc,segmentFile,sftVersion,windowType)
+
   if (useHoT):
      makeDAGCommand = makeDAGCommand + ' -H'
   if (makeSFTIFO != None):
 }}}

Fscan

Installation

Installation of LALSuite

apt-get install lscsoft-lalsuite

LALSuite

Installation of Fscan

  1. Download Fscan code from GitHub

  2. Copy to /home/controls/public_html

How to use

  • Move to Fscan directory(/home/controls/opt/Fscan)

  • Before using Fscan, we must set the environmental variables by
    source /users/DET/tools/Fscan/etc/environment.sh
  • Fscan job is submitted to Condor when the following command line is executed
    ./testmultiFscanGenerator.tcl testKagraDailyFscanGenerator.rsc /home/controls/opt/Fscan/test_segments.txt -R

    Results are exported to the "~/public_html/fscan/daily" directory

Setting

Code Modification for KAGRA

  • multiFscanGenerator.tcl
    --- multiFscanGenerator.tcl       2019-03-27 14:58:01.287737201 +0900
    +++ multiFscanGenerator_kagra.tcl 2019-03-27 16:54:47.367739644 +0900
    @@ -292,7 +292,8 @@ set moveSFTsFromSuffix "";
     
     set crab 0; #if crab stuff is to be run then rsc file sets crab to 1, default is not to run.X
     
    -set submitLogFileDir "/usr1/pulsar"; # directory location for log files given in the condor submit files, for use with fscanDriver.py -o option.
    +set submitLogFileDir "/home/controls/opt/Fscan/logs"; # directory location for log files given in the condor submit files, for use with fscanDriver.py -o option.
     
     
     ##### MAIN CODE STARTS HERE #####
  • fscanDriver.py
    --- fscanDriver.py       2019-03-27 14:58:01.287737201 +0900
    +++ fscanDriver_kagra.py 2019-03-29 14:15:32.386858803 +0900
    @@ -602,7 +602,11 @@ if (createSFTs):
          sft_freqBand = 2
       else:
          sft_freqBand = freqBand + 1;
    -  makeDAGCommand = 'MakeSFTDAG -f %s -G %s -d %s -x %d -k %d -T %d -F %d -B %d -p %s -N %s -m 1 -o %s -X %s -Z -g %s -v %d -w %d' % (sftDAGFile,tagString,inputDataType,extraDatafindTime,filterKneeFreq,timeBaseline,startFreq,sft_freqBand,pathToSFTs,channelName,subLogPath,miscDesc,segmentFile,sftVersion,windowType)
    +  if ifo == 'K1':
    +    makeDAGCommand = os.environ['KAGRA_FSCANBIN_PATH']+'/lalapps_MakeSFTDAG_kagra -f %s -G %s -d %s -x %d -k %d -T %d -F %d -B %d -p %s -N %s -m 1 -o %s -X %s -Z -g %s -v %d -w %d' % (sftDAGFile,tagString,inputDataType,extraDatafindTime,filterKneeFreq,timeBaseline,startFreq,sft_freqBand,pathToSFTs,channelName,subLogPath,miscDesc,segmentFile,sftVersion,windowType)
    +  else:
    +    makeDAGCommand = 'MakeSFTDAG -f %s -G %s -d %s -x %d -k %d -T %d -F %d -B %d -p %s -N %s -m 1 -o %s -X %s -Z -g %s -v %d -w %d' % (sftDAGFile,tagString,inputDataType,extraDatafindTime,filterKneeFreq,timeBaseline,startFreq,sft_freqBand,pathToSFTs,channelName,subLogPath,miscDesc,segmentFile,sftVersion,windowType)
    +
       if (useHoT):
          makeDAGCommand = makeDAGCommand + ' -H'
       if (makeSFTIFO != None):

KAGRA/Subgroups/DET/Fscan (last edited 2019-12-12 08:55:19 by shoichi.oshino)