Difference between revisions of "Running VisIt on OS X"

m (Running VisIT on OS X moved to Running VisIt on OS X: Fixed capitalization of VisIt)
(Running)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
VisIT is used mostly in Unix envinroments.  Starting VisIT with OS X is straightforward, but it works in a very different manner than a typical Mac user usually expects.
+
VisIt is used mostly in Unix environments.  Starting VisIt with OS X is straightforward as it is simply a MacOS X application bundle.
  
First download the [http://www.llnl.gov/visit/executables.html binary] The file name ends in .gz, that is a compressed file using the gzip compression library. Double click on the .gz file from Finder, the file will be uncompressed and a new folder will be created named visit.
+
First download the [http://www.llnl.gov/visit/executables.html Darwin binary]. Binaries are provided the following platforms:
 +
* 32-bit Intel ''(Mac 10.5 and later)''
 +
* 64-bit Intel ''(Mac 10.6 and later)''
  
Currently there is no way to just click on something and make visit run. To actually run visit you will need to use the Terminal application. This is located in Applications, Utilities, Terminal.app.  When run, this application is the text shell at the heart of most Unix applications.  
+
Click on the ''Download'' links to download the Mac application bundle stored as a 'DMG'' file.
 +
[[Image:VisItMac_download.png]]
  
First start the Terminal.app. Next find the visit start script.  If the uncompressed visit folder  is in the download folder of your home directory you will need to change directories to enter this folder.  From the terminal type the following:
+
Double-click the ''DMG'' file so your Mac opens it and exposes the VisIt application bundle. Drag the ''VisIt'' application to your desktop to copy it to your Mac.
<source lang="java">
 
cd Downloads
 
</source>
 
(note that the terminal has auto file completion.  you can type Dow and then press 'tab' and the file name will complete.)
 
Once in the Downloads folder, change to the visit subdirectory. type:
 
  
<source lang="java">
+
[[Image:VisItMac_dmg.png]]
  
cd visit
+
=Running=
</source>
+
To run VisIt, simply double-click the ''VisIt'' application on your desktop.
Next change to the bin subdirectory:
+
 
<source lang="java">
+
When you run VisIt for the first time, you will have the option to install any network configurations for computing centers such as [https://computing.llnl.gov/?set=resources&page=OCF_resources LLNL], ORNL, LBL, and Sandia. If you do not use computing resources at those sites, you can skip the network configuration.
cd bin
+
 
</source>
+
==Running from Terminal==
now actually run the visit application from the terminal application. type
+
If you run VisIt from the Terminal application, you will have to reference the ''visit'' launch script within the ''VisIt.app'' application bundle. You can put that script in your path to make it easier to invoke.
<source lang="java">
+
 
./visit
+
Open the file called ''/Users/myname/.cshrc'' and add the following line to the end of the file (be sure to replace '''myname''' with your login name):
</source>
+
<code><pre>
At this point you should be able to see a start up screen.
+
set path=($path ~/Desktop/VisIt.app/Contents/Resources/bin)
 +
</pre></code>
 +
 
 +
Once you have added the ''visit'' command to your path, you can simply type '''visit''' at the prompt to launch VisIt when you run from the Terminal.
 +
 
 +
[[Category: User Documentation]]

Latest revision as of 00:07, 6 April 2012

VisIt is used mostly in Unix environments. Starting VisIt with OS X is straightforward as it is simply a MacOS X application bundle.

First download the Darwin binary. Binaries are provided the following platforms:

  • 32-bit Intel (Mac 10.5 and later)
  • 64-bit Intel (Mac 10.6 and later)

Click on the Download links to download the Mac application bundle stored as a 'DMG file. VisItMac download.png

Double-click the DMG file so your Mac opens it and exposes the VisIt application bundle. Drag the VisIt application to your desktop to copy it to your Mac.

VisItMac dmg.png

Running

To run VisIt, simply double-click the VisIt application on your desktop.

When you run VisIt for the first time, you will have the option to install any network configurations for computing centers such as LLNL, ORNL, LBL, and Sandia. If you do not use computing resources at those sites, you can skip the network configuration.

Running from Terminal

If you run VisIt from the Terminal application, you will have to reference the visit launch script within the VisIt.app application bundle. You can put that script in your path to make it easier to invoke.

Open the file called /Users/myname/.cshrc and add the following line to the end of the file (be sure to replace myname with your login name):

set path=($path ~/Desktop/VisIt.app/Contents/Resources/bin)

Once you have added the visit command to your path, you can simply type visit at the prompt to launch VisIt when you run from the Terminal.