ProductsAbaqus/StandardAbaqus/Explicit CommandaStudy.execute (token, execOptions= , additional data)
Tokens
Optional data
Additional data for DISTRIBUTEDRequired data
Optional data
Defining queues and queue interfacesBefore being used for a distributed parametric study, queue interfaces must be defined within the design_startup portion of the Abaqus environment file. For example, to define a queue interface for an existing queue short on the remote computer server, the following entry in the environment file is required: def onDesignStartup():
from par_Session import Queue
import os
# convenience assignment
SCRATCH = '/scratch/' + os.environ['USER']
# create remote queue interface
Queue(name='short_interface', hostName='server',
driver='abaqus', queueName='short', directory=SCRATCH)
If, in addition, a local queue is required, the entry must be expanded to: def onDesignStartup():
from par_Session import Queue
import os
# convenience assignment
SCRATCH = '/scratch/' + os.environ['USER']
# create remote queue interface
Queue(name='short_interface', hostName='server',
driver='abaqus', queueName='short', directory=SCRATCH)
# create local queue interface
Queue(name='local_interface', driver='abaqus',
queueName='local')
queue_name="local"
local="echo "./%S 1>%L 2>&1" | batch"
| |||||||||