Пример #1
0
PATH = SeisflowsPaths()


# run test
if __name__ == '__main__':

    if 'SYSTEM' not in PAR:
        PAR.SYSTEM = 'serial'

    if 'PREPROCESS' not in PAR:
        PAR.PREPROCESS = None

    if 'SOLVER' not in PAR:
        PAR.SOLVER = None

    if 'POSTPROCESS' not in PAR:
        PAR.POSTPROCESS = None

    if 'OPTIMIZE' not in PAR:
        PAR.OPTIMIZE = 'base'

    if 'WORKFLOW' not in PAR:
        PAR.WORKFLOW = 'test_optimize'

    SeisflowsObjects().load()
    import system
    import workflow

    system.submit(workflow)

Пример #2
0
PAR = SeisflowsParameters()
PATH = SeisflowsPaths()

# run test
if __name__ == '__main__':

    if 'SYSTEM' not in PAR:
        PAR.SYSTEM = 'serial'

    if 'PREPROCESS' not in PAR:
        PAR.PREPROCESS = None

    if 'SOLVER' not in PAR:
        PAR.SOLVER = None

    if 'POSTPROCESS' not in PAR:
        PAR.POSTPROCESS = None

    if 'OPTIMIZE' not in PAR:
        PAR.OPTIMIZE = 'base'

    if 'WORKFLOW' not in PAR:
        PAR.WORKFLOW = 'test_optimize'

    SeisflowsObjects().load()
    import system
    import workflow

    system.submit(workflow)
Пример #3
0
PAR = SeisflowsParameters()
PATH = SeisflowsPaths()

# run test
if __name__ == '__main__':

    if 'SYSTEM' not in PAR:
        PAR.SYSTEM = 'serial'

    if 'PREPROCESS' not in PAR:
        PAR.PREPROCESS = None

    if 'SOLVER' not in PAR:
        PAR.SOLVER = None

    if 'POSTPROCESS' not in PAR:
        PAR.POSTPROCESS = None

    if 'OPTIMIZE' not in PAR:
        PAR.OPTIMIZE = None

    if 'WORKFLOW' not in PAR:
        PAR.WORKFLOW = 'test_system'

    SeisflowsObjects().load()
    import system
    import workflow

    system.submit(workflow)
Пример #4
0
PATH = SeisflowsPaths()


# run test
if __name__ == '__main__':

    if 'SYSTEM' not in PAR:
        PAR.SYSTEM = 'serial'

    if 'PREPROCESS' not in PAR:
        PAR.PREPROCESS = None

    if 'SOLVER' not in PAR:
        PAR.SOLVER = None

    if 'POSTPROCESS' not in PAR:
        PAR.POSTPROCESS = None

    if 'OPTIMIZE' not in PAR:
        PAR.OPTIMIZE = None

    if 'WORKFLOW' not in PAR:
        PAR.WORKFLOW = 'test_system'

    SeisflowsObjects().load()
    import system
    import workflow

    system.submit(workflow)