Esempio n. 1
0
	def log_path(self):
		host = stfu_pipe.get_hostname()
		#FIXME add more hosts as you need them
		if 'phy.syr.edu' in host: return '/usr1/' + os.environ['USER']
		if 'caltech.edu' in host: return '/usr1/' + os.environ['USER']
		if 'phys.uwm.edu' in host: return '/people/' + os.environ['USER']
		if 'aei.uni-hannover.de' in host: return '/local/user/' + os.environ['USER']
Esempio n. 2
0
 def get_remote_jobs(self):
     host = stfu_pipe.get_hostname()
     #FIXME add more hosts as you need them
     if 'ligo.caltech.edu' or 'ligo-la.caltech.edu' or 'ligo-wa.caltech.edu' or 'phys.uwm.edu' or 'aei.uni-hannover.de' or 'phy.syr.edu' in host:
         remote_ifos = "V1"
         remote_jobs = "ligo_data_find_Q_RDS_full_data,wpipeline_FG_RDS_full_data,wpipeline_FG_SEIS_RDS_full_data,ligo_data_find_Q_RDS_playground,wpipeline_FG_RDS_playground,wpipeline_FG_SEIS_RDS_playground,ligo_data_find_Q_RDS_gps_only,wpipeline_FG_RDS_gps_only,wpipeline_FG_SEIS_RDS_gps_only,ligo_data_find_Q_RDS_time_slides,wpipeline_FG_RDS_time_slides,wpipeline_FG_SEIS_RDS_time_slides"
         return remote_ifos, remote_jobs
     return '', ''
Esempio n. 3
0
 def log_path(self):
     host = stfu_pipe.get_hostname()
     #FIXME add more hosts as you need them
     if 'phy.syr.edu' in host: return '/usr1/' + os.environ['USER']
     if 'caltech.edu' in host: return '/usr1/' + os.environ['USER']
     if 'phys.uwm.edu' in host: return '/people/' + os.environ['USER']
     if 'aei.uni-hannover.de' in host:
         return '/local/user/' + os.environ['USER']
Esempio n. 4
0
	def get_remote_jobs(self):
		host = stfu_pipe.get_hostname()
		#FIXME add more hosts as you need them
		if 'ligo.caltech.edu' or 'ligo-la.caltech.edu' or 'ligo-wa.caltech.edu' or 'phys.uwm.edu' or 'aei.uni-hannover.de' or 'phy.syr.edu' in host:
			remote_ifos = "V1"
			remote_jobs = "ligo_data_find_Q_RDS_full_data,wpipeline_FG_RDS_full_data,wpipeline_FG_SEIS_RDS_full_data,ligo_data_find_Q_RDS_playground,wpipeline_FG_RDS_playground,wpipeline_FG_SEIS_RDS_playground,ligo_data_find_Q_RDS_gps_only,wpipeline_FG_RDS_gps_only,wpipeline_FG_SEIS_RDS_gps_only,ligo_data_find_Q_RDS_time_slides,wpipeline_FG_RDS_time_slides,wpipeline_FG_SEIS_RDS_time_slides"
			return remote_ifos, remote_jobs
		return '', ''
Esempio n. 5
0
	def web_dir(self):
		host = stfu_pipe.get_hostname()
		#FIXME add more hosts as you need them
		if 'caltech.edu' in host: return os.path.abspath(os.environ['HOME']) + '/public_html/followups/' + self.time_now
		if 'phys.uwm.edu' in host: return os.path.abspath(os.environ['HOME']) + '/public_html/followups/' + self.time_now
		if 'phy.syr.edu' in host: return os.path.abspath(os.environ['HOME']) + '/public_html/followups/' + self.time_now
		if 'aei.uni-hannover.de' in host: return os.path.abspath(os.environ['HOME']) + '/WWW/LSC/followups/' + self.time_now
		print sys.stderr, "WARNING: could not find web directory, returning empty string"
		return ''
Esempio n. 6
0
	def web_url(self):
		host = stfu_pipe.get_hostname()
		#FIXME add more hosts as you need them
		if 'ligo.caltech.edu' in host: return "https://ldas-jobs.ligo.caltech.edu/~" +os.environ['USER'] + '/followups/' + self.time_now
		if 'ligo-la.caltech.edu' in host: return "https://ldas-jobs.ligo-la.caltech.edu/~" +os.environ['USER'] + '/followups/' + self.time_now
		if 'ligo-wa.caltech.edu' in host: return "https://ldas-jobs.ligo-wa.caltech.edu/~" +os.environ['USER'] + '/followups/' + self.time_now
		if 'phys.uwm.edu' in host: return "https://ldas-jobs.phys.uwm.edu/~" + os.environ['USER'] + '/followups/' + self.time_now
		if 'phy.syr.edu' in host: return "https://sugar-jobs.phy.syr.edu/~" + os.environ['USER'] + '/followups/' + self.time_now
		if 'aei.uni-hannover.de' in host: return "https://atlas3.atlas.aei.uni-hannover.de/~" + os.environ['USER'] + '/LSC/followups/' + self.time_now
		print sys.stderr, "WARNING: could not find web server, returning empty string"
                return ''
Esempio n. 7
0
 def set_qscan_executable(self):
     host = stfu_pipe.get_hostname()
     if 'phy.syr.edu' in host:
         self.cp.set(
             "fu-condor", "qscan",
             stfu_pipe.home_dirs() +
             "/rgouaty/opt/omega/omega_r3270_glnxa64_binary/bin/wpipeline")
     else:
         self.cp.set(
             "fu-condor", "qscan",
             stfu_pipe.home_dirs() +
             "/romain/opt/omega/omega_r3270_glnxa64_binary/bin/wpipeline")
Esempio n. 8
0
 def web_dir(self):
     host = stfu_pipe.get_hostname()
     #FIXME add more hosts as you need them
     if 'caltech.edu' in host:
         return os.path.abspath(
             os.environ['HOME']) + '/public_html/followups/' + self.time_now
     if 'phys.uwm.edu' in host:
         return os.path.abspath(
             os.environ['HOME']) + '/public_html/followups/' + self.time_now
     if 'phy.syr.edu' in host:
         return os.path.abspath(
             os.environ['HOME']) + '/public_html/followups/' + self.time_now
     if 'aei.uni-hannover.de' in host:
         return os.path.abspath(
             os.environ['HOME']) + '/WWW/LSC/followups/' + self.time_now
     print sys.stderr, "WARNING: could not find web directory, returning empty string"
     return ''
Esempio n. 9
0
 def web_url(self):
     host = stfu_pipe.get_hostname()
     #FIXME add more hosts as you need them
     if 'ligo.caltech.edu' in host:
         return "https://ldas-jobs.ligo.caltech.edu/~" + os.environ[
             'USER'] + '/followups/' + self.time_now
     if 'ligo-la.caltech.edu' in host:
         return "https://ldas-jobs.ligo-la.caltech.edu/~" + os.environ[
             'USER'] + '/followups/' + self.time_now
     if 'ligo-wa.caltech.edu' in host:
         return "https://ldas-jobs.ligo-wa.caltech.edu/~" + os.environ[
             'USER'] + '/followups/' + self.time_now
     if 'phys.uwm.edu' in host:
         return "https://ldas-jobs.phys.uwm.edu/~" + os.environ[
             'USER'] + '/followups/' + self.time_now
     if 'phy.syr.edu' in host:
         return "https://sugar-jobs.phy.syr.edu/~" + os.environ[
             'USER'] + '/followups/' + self.time_now
     if 'aei.uni-hannover.de' in host:
         return "https://atlas3.atlas.aei.uni-hannover.de/~" + os.environ[
             'USER'] + '/LSC/followups/' + self.time_now
     print sys.stderr, "WARNING: could not find web server, returning empty string"
     return ''
Esempio n. 10
0
	def set_qscan_executable(self):
		host = stfu_pipe.get_hostname()
		if 'phy.syr.edu' in host:
			self.cp.set("fu-condor","qscan",stfu_pipe.home_dirs()+"/rgouaty/opt/omega/omega_r3270_glnxa64_binary/bin/wpipeline")
		else:
			self.cp.set("fu-condor","qscan",stfu_pipe.home_dirs()+"/romain/opt/omega/omega_r3270_glnxa64_binary/bin/wpipeline")