Recipe for Running Mozart

Obtaining and unpacking Mozart:

1. On the p690, copy the tar file /home/philippe/mozart21july2003.tar to your home directory:

cd
cp /home/philippe/mozart21july2003.tar .



2. Make a directory (it should be under your home directory) called mozart21july2003. Untar the file into this directory:

mkdir mozart21july2003
cd mozart21july2003
tar xvf ../mozart21july2003.tar



3. Set the DISPLAY variable to your current workstation:

DISPLAY=yourworkstation.ocean.dal.ca:0.0;export DISPLAY

(where yourworkstation is the name of your workstation)

If you are going to be running Mozart, you will want to have an extra window for editing the input files:

xterm &



4. If you want to compile and run Mozart all in one, use Philippe's script mozart.0.0. Just type it in as a command:

./mozart.0.0

OR, if you just want to compile Mozart, but not run it yet, type the names of these scripts:

./mozarthere
./mozartclean



5. If you've already compiled Mozart and you just want to run it, type:

./mozartmpi8



Notes about the pre-packaged Mozart setup

Philippe has organized the mozart21july2003 directory as a working directory, with development source code, input files, original source code, etc. in subdirectories below the working directory. His scripts (mozart.0.0, mozartclean, mozarthere, mozartmpi8) assume this structure. When you run mozarthere to compile Mozart, it copies the source code, makefiles, and include files to the working directory and then compiles it. The mozartclean script moves source code to a subdirectories for development source code and moves input files to subdirectories for input file development.

IMPORTANT! When you use the mozartmpi8 script to run Mozart, it will first copy input files from the directory mozart.di to the current working directory. This will overwrite any changes in the input files that you have made in the current directory. So if you need to make changes to the input files and then re-run Mozart using mozartmpi8, you will need to edit the corresponding input files in the directory mozart.di. However, this only applies if you are using mozartmpi8 to run Mozart after editing the input files. If you are running Mozart directly from the command line using the command "poe ./m.sp4.32 -procs 8 -hostfile ~/host.list", edit input files in the current directory. This also applies if you are changing input files while you are running Mozart and you use the IOS menu to re-read the inputs.



Running the Interactive Mozart

Once you have Mozart up and running, you'll see two windows on your screen: a menu window on the left, and a large square display window on the right.

Buttons to push:

IOS
ALL
exit
GRIDS
Synode
coloring
exit
ALE
alefan
LMN2E:colors
exit
P-F-FEM2d
SLLt
Set-adp
Set-F
TS-ALE

.... program runs for a while... When menu comes back, click

exit



To make plots at this point, click

PLOTS
m-MN (to show material colors - this opens a new window)
m-MNL (to show multi-node lines - this is plotted in m-MN window)
p-nodes (to plot every processor's data in a set of tiled windows - to exit from this plot, go to run window and enter 1)
m-quickl1 (plots contours of vx, vz in a new window - to exit from this plot, go to run window and enter 1)
m-quickl2 (plots horizontal velocities in a new window - to exit from this plot, go to run window and enter 1)
N-fastest (doesn't seem to do anything)
R-nodeline (this seems to hang the program - don't click this)


When you are finished looking at plots, click

exit



Quitting a MOZART run

In the main menu, click on

STOP