~madteam/mg5amcnlo/series2.0

« back to all changes in this revision

Viewing changes to madgraph/interface/madgraph_interface.py

merge lp:~maddevelopers/madgraph5/transfer_on_exit 

Show diffs side-by-side

added added

removed removed

Lines of Context:
444
444
        logger.info("   timeout VALUE")
445
445
        logger.info("      (default 20) Seconds allowed to answer questions.")
446
446
        logger.info("      Note that pressing tab always stops the timer.")
447
 
 
 
447
        logger.info("   cluster_temp_path PATH")
 
448
        logger.info("      (default None) [Used in Madevent Output]")
 
449
        logger.info("      Allow to perform the run in PATH directory")
 
450
        logger.info("      This allow to not run on the central disk. This is not used")
 
451
        logger.info("      by condor cluster (since condor has it's own way to prevent it).")
 
452
       
448
453
#===============================================================================
449
454
# CheckValidForCmd
450
455
#===============================================================================
859
864
 
860
865
    def check_set(self, args, log=True):
861
866
        """ check the validity of the line"""
862
 
        
 
867
 
863
868
        if len(args) == 1 and args[0] == 'complex_mass_scheme':
864
869
            args.append('True')
865
870
        
1770
1775
                       'text_editor':None,
1771
1776
                       'fortran_compiler':None,
1772
1777
                       'auto_update':7,
1773
 
                       'cluster_type': 'condor'}
 
1778
                       'cluster_type': 'condor',
 
1779
                       'cluster_temp_path': None,
 
1780
                       'cluster_queue': None,
 
1781
                       }
1774
1782
    
1775
1783
    options_madgraph= {'group_subprocesses': 'Auto',
1776
1784
                          'ignore_six_quark_processes': False,
1779
1787
                          'stdout_level':None}
1780
1788
    options_madevent = {'automatic_html_opening':True,
1781
1789
                         'run_mode':2,
1782
 
                         'cluster_queue':'madgraph',
1783
1790
                         'nb_core': None,
1784
1791
                         }
1785
1792
 
3837
3844
        
3838
3845
        args = self.split_arg(line)
3839
3846
        # Check the validity of the arguments
3840
 
        self.check_set(args, log=False)
 
3847
        try:
 
3848
            self.check_set(args, log=False)
 
3849
        except Exception:
 
3850
            return stop
3841
3851
        
3842
3852
        if args[0] in self.options_configuration and '--no_save' not in args:
3843
3853
            self.exec_cmd('save options --auto')