• Skip to Main Content
  • Go to the Website's Home
  • Go to Website News
  • Go to About this site
  • Skip to Audience Navigation Menu
  • About
    • Welcome to the College
    • Facts and Figures
    • Message from the Dean
    • Visit Us
    • College Administration
    • News Center
  • Research
    • Research Home
    • Departments
    • Centers & Labs
    • Faculty Directory
    • Opportunities for Undergraduates
  • Admissions
    • Undergraduate Admissions
    • Undergraduate Recruiting
    • Graduate Admissions
  • Academics
    • Departments
    • Undergraduate Programs and Degrees
    • Graduate Programs and Degrees
    • Course Guide/Bulletin
    • Teaching
    • Support Services
  • Departments
    • Aerospace Engineering
    • Atmospheric, Oceanic and Space Sciences
    • Biomedical Engineering
    • Chemical Engineering
    • Civil and Environmental Engineering
    • Electrical Engineering and Computer Science
    • Industrial and Operations Engineering
    • Interdisciplinary Professional Programs
    • Materials Science and Engineering
    • Mechanical Engineering
    • Naval Architecture and Marine Engineering
    • Nuclear Engineering and Radiological Sciences
  • Support the College
    • Giving
    • Involve Yourself
    • Corporate Relationships
  •   

College of Engineering

Center for Advanced Computing

  • Welcome
  • About
  • Getting Started
    • Getting Started
    • Learning About HPC
    • CAC Training Courses
  • Resources
    • Resources
    • Systems
    • Software
    • Storage
    • Networking
    • Visualization
    • Teragrid
  • Academics
  • Contact Us
  • Frequently Asked Questions
Follow Us On Twitter

Contact Information

[Contact] Center for Advanced Computing
College of Engineering
cac-support@umich.edu Link

Center for Advanced Computing  /  Resources  /  Software  /  Nastran

Nastran

Nastran is available on the CAC Linux clusters in both serial and distributed memory parallel (DMP) solvers. To use Nastran run:

module load nastran

This will set up the environment necessary to use the Nastran tools and solvers on the cluster. If you want to use the DMP solver (multi node parallel) you will need to add the module command to your privatemodules/default file.

 

A sample serial script follows:

#!/bin/sh
#PBS -N ser.nastran
#PBS -M uniquename@umich.edu
#PBS -m bae
#PBS -l nodes=1:ppn=1,mem=1gb,walltime=4:00:00
#PBS -q route
#PBS -V

echo " i ran on :"
cat $PBS_NODEFILE

WORKDIR=/tmp/$PBS_JOBID
mkdir -p $WORKDIR
echo $WORKDIR

#copy inputs, you also need to copy any INCLUDE files
#in your .dat file. We do that here by using the wild card *
cp ~/inputs/sq_truss_continuum* $WORKDIR/

#move to WORKDIR
cd $WORKDIR

nastran batch=no sq_truss_continuum_fra_BOLT.dat

#copy results back
mkdir -p ~/outputs/
cp $WORKDIR/outputs.file ~/results/
rm -rf $WORKDIR

A DMP (MPI) job is simmilar. Nastran is smart enough to copy your .dat file to all nodes in the job but not any INCLUDE files. Thus the following sample script is more complicated.

#!/bin/sh
#PBS -N mpi.nastran
#PBS -M uniquename@umich.edu
#PBS -m bae
#PBS -l nodes=5:ppn=2,mem=1gb,walltime=4:00:00
#PBS -q route
#PBS -V

echo " i ran on :"
cat $PBS_NODEFILE

#find the number of nodes
CPUS=`cat $PBS_NODEFILE | wc -l`

#make the node list for nastran
for x in `cat $PBS_NODEFILE`
do
NODES=$NODES:$x
done

#edit for which .dat to run
nastran batch=no hpmpi=yes hosts=$NODES dmparallel=$CPUS sq_truss_continuum_fra_BOLT.dat


You should edit both scripts to match your input names, any INCLUDE files and the resources you wish to use. You should also edit your email address. You can view other nastran options by running:

nastran -o help all

If you have any questions contact us at cac-support@umich.edu.

CSS 2.1 Valid
University of Michigan
  • Home
  • Contact Us
  • Site Map
  • Site Feedback
  • Accessibility
  • Emergency Procedures
  • Jump to top of the page
© 2009 College of Engineering, University of Michigan