# This program is free software you can redistribute it and/or modify it
# under the terms of the license (GNU LGPL) which comes with this package.
+from simgrid import Actor, Engine, Host, this_actor
import sys
-from simgrid import *
class Waiter:
if __name__ == '__main__':
e = Engine(sys.argv)
+ if len(sys.argv) < 2:
+ raise AssertionError("Usage: exec-async.py platform_file [other parameters]")
e.load_platform(sys.argv[1])