Example #1
0
def main(args):
    suffix = args.module.rsplit('.', 1)[-1]
    if suffix in ('so', 'pyd', 'pyx'):
        utils.compiler(args.setup)
    compute_julia = utils.importer(args.module, args.function)
    jla, time = compute_julia(args.cr, args.ci, args.N, 2.0, 4., args.cutoff)
    print "Compute time: %fs" % time
Example #2
0
def main(args):
    suffix = args.module.rsplit('.', 1)[-1]
    if suffix in ('so', 'pyd', 'pyx'):
        utils.compiler(args.setup)
    compute_julia = utils.importer(args.module, args.function)
    jla, time = compute_julia(args.cr, args.ci, args.N, 2.0, 4., args.cutoff)
    print "Compute time: %fs" % time
Example #3
0
def main(args):
    suffix = args.module.rsplit('.', 1)[-1]
    if suffix in ('so', 'pyd', 'pyx'):
        utils.compiler(args.setup)
    compute_julia = utils.importer(args.module, args.function)
    julia = Julia(compute_julia=compute_julia)
    jui = JuliaUI(model=julia)
    jui.configure_traits()