3
################################################################################
5
# Copyright (c) 2009 The MadGraph5_aMC@NLO Development team and Contributors
7
# This file is a part of the MadGraph5_aMC@NLO project, an application which
8
# automatically generates Feynman diagrams and matrix elements for arbitrary
9
# high-energy processes in the Standard Model and beyond.
11
# It is subject to the MadGraph5_aMC@NLO license which should accompany this
14
# For more information, visit madgraph.phys.ucl.ac.be and amcatnlo.web.cern.ch
16
################################################################################
17
"""This is the main executable, a simple frontend to set up the PYTHONPATH
18
and call immediately the command line interface scripts"""
23
root_path = os.path.split(os.path.dirname(os.path.realpath( __file__ )))[0]
25
exe_path = os.path.join(root_path,'bin','mg5_aMC')
27
print '\033[91mWarning: The script ./bin/mg5 will be removed in future versions; use ./bin/mg5_aMC instead.\033[0m'
30
os.system('%s %s' %( str(exe_path) , ' '.join(sys.argv) ))