P. 1
MSC Nastran 2012 Installation and Operations Guide

MSC Nastran 2012 Installation and Operations Guide

|Views: 847|Likes:
Published by MSC.Software
MSC Nastran 2012 Installation Guide
MSC Nastran 2012 Installation Guide

More info:

Published by: MSC.Software on Sep 27, 2012
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

06/16/2013

pdf

text

original

The examples that follow use the Linux/UNIX syntax. Nevertheless, unless specifically noted otherwise,
the discussion and examples are applicable to Windows. The only change needed in the examples to
make them applicable to Windows is to replace the colon (‘:’) separator character with a semi-colon (‘;’)
separator character. Alternatively, you may use a comma (‘,’) as a separator character on any platform.
The nastran command uses the following hierarchy to determine the list of hosts to use:
1.The nastran command “hosts” keyword on the command line
2.System-dependent environment variable.
AIX: MP_HOSTFILE
HP UNIX: DMPI_HOSTFILE.
3.The nastran command “hosts” keyword in an RC file.
4.AIX: The MP_RMPOOL environment variable.
5.The local host.
Consider the following examples:

Note:

No attempt is made to copy DBset files between the local and master/slave systems. If this
is required, you must handle this yourself and set the “dbs” keyword appropriately.

Main Index

149

CHAPTER 5

Using the Advanced Functions of MSC Nastran

This job will run on the local host.

This job will run on the first four available nodes from the set “node1”, “node2”, “node3”, “node4”,
“node5”.

This job will read the file “my.host.list”.
The nastran command provides a simple host allocation method. If a host listed by the “hosts” keyword
is unavailable, it will be skipped and the next host considered. As long as at least the number of
processors specified by the “dmparallel” keyword are available on one or more of the listed hosts, the
job will be allowed to run.

Hosts (AIX)

The “hosts” keyword can now coexist with the LoadLeveler queue submittal process if your distributed
jobs must be submitted via IBM’s LoadLeveler. To submit a job via LoadLeveler, the “hosts” keyword
must use the syntax “host=@queue_name”.

Example:

In this example, four hosts will be assigned by LoadLeveler after the nastran command submits the job
to queue “ll”.
To use this feature, you must define queue submittal commands in an RC file using the “submit”
keyword.

prod_ver nastran example dmparallel=4

prod_ver nastran example dmparallel=4 hosts=node1:node2:node3:node4:node5

prod_ver nastran example dmparallel=4 hosts=my.host.list

Note:

This uses features of the nastran command’s standard queue submittal process, but you do
not set the queue keyword.

prod_ver nastran example dmp=4 hosts=@ll

Main Index

MSC Nastran 2012 Installation and Operations Guide

150

Example:

The previous example nastran command will submit a job to the “ll” queue using the site’s “ll_submit”
command.

.

Pool Request (AIX)

A pool request can be specified using the “hosts” keyword with either of the following forms:

where pooli or pool is a number. The second form assigns all tasks to the specified pool number. See your
system administrator for information on the pools available at your site.

This job runs two tasks each on pools 1 and 2.

This job runs all tasks on pool 3.
If you are using LoadLeveler Version 2.1 or greater to process your pool request you may also need to
use the “maxnode” keyword. This is required if you want more than one DMP task to run on a single host.
This job runs eight tasks on four hosts from pool 1. This assumes that the hosts have at least two
processors.

submit=ll=ll_submit %job%

Note:

You may also need to modify the /bin/nast2012.dmp file if job queuing
information must be embedded in the job stream.

A hypothetical example is included.

THE SAMPLE QUEUING INFORMATION MAY NOT WORK WITH YOUR SITE’S
QUEUING REQUIREMENTS

hosts=@pool1:@pool2:...:@pooln
hosts=@pool

prod_ver nastran example dmparallel=4 hosts=@1:@1:@2:@2

prod_ver nastran example dmparallel=4 hosts=@3

Main Index

151

CHAPTER 5

Using the Advanced Functions of MSC Nastran

nastran Command “hosts” Keyword (Distributed Jobs Under LSF)

The “hosts” keyword will default to the value set by LSF when running as a distributed job and no other
value for “hosts” was set on the command line or in an RC file.

Example:

This job will use four hosts selected by LSF. Note, the number of tasks appears twice: once for use by
LSF, and once for use by MSC Nastran.

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->