Ejemplo n.º 1
0
 def error_check(self, options):
     StatMergerArgs.error_check(self, options)
     if options["high"] != -1:
         options["high"] += 1
         high_rank = options["high"]  # use this for all tasks we can't find the rank of
     new_loglevel = init_logging(options["loglevel"], options["logfile"])  # Initialize the logging module
     options["loglevel"] = new_loglevel
Ejemplo n.º 2
0
 def error_check(self, options):
     StatMergerArgs.error_check(self, options)
     if options["high"] != -1:
         options["high"] += 1
         high_rank = options["high"] # use this for all tasks we can't find the rank of
     new_loglevel = init_logging(options["loglevel"], options["logfile"])    #Initialize the logging module
     options["loglevel"] = new_loglevel
Ejemplo n.º 3
0
 def error_check(self, options):
     if options["exe"] == "NULL":
         sys.stderr.write('\nYou must specify an executable with the -x or --exe= options\n')
         self.print_usage()
     if not os.path.exists(options["exe"]):
         sys.stderr.write('\nFailed to find executable "%s".\n' % options["exe"])
         self.print_usage()
     StatMergerArgs.error_check(self, options)
Ejemplo n.º 4
0
 def error_check(self, options):
     if options["exe"] == "NULL":
         sys.stderr.write('\nYou must specify an executable with the -x or --exe= options\n')
         self.print_usage()
     if not os.path.exists(options["exe"]):
         sys.stderr.write('\nFailed to find executable "%s".\n' % options["exe"])
         self.print_usage()
     StatMergerArgs.error_check(self, options)