Additional Data for DISTRIBUTED
Required Data
- queues
-
Set queues equal to the queue interface name or a sequence of queue interface names. If a single name is given, it must be enclosed in matching quotation marks. If a sequence of names is given, it must be enclosed in parentheses or brackets and contain queue interface names enclosed in matching quotation marks and separated by commas.
Optional Data
- files
Set files equal to the symbolic constant or a sequence of symbolic constants that identifies the file or files that must be returned to the local computer after remote execution. The sequence items must be separated by commas, and the sequence must be enclosed in parentheses or brackets.
The allowed symbolic constants are:
DAT
,LOG
,FIL
,SEL
,MSG
,STA
,ODB
,IPM
,RES
,ABQ
, andPAC
. The default value is files= (DAT, FIL, LOG, ODB, SEL)
.
Defining Queues and Queue Interfaces
Before 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"