Launching Mathematica on Windows
Launching Mathematica Locally
To run Mathematica
using a network license, both the client machine and the license server must be on the network, and MathLM
must be running.
To launch Mathematica:
Alternatively, you can open an Explorer window, go to the Program Files\Wolfram Research\Mathematica\6.0 directory, and double-click the Mathematica
To launch only the Mathematica kernel:
Alternatively, you can open an Explorer window, go to the Program Files\Wolfram Research\Mathematica\6.0 directory, and double-click the MathKernel icon.
To launch the Mathematica kernel inside a command prompt window:
Open a command prompt window and change directory to the top-level Mathematica
installation directory. Type .\math
and press Enter
Launching Mathematica from a File Server
You can also run Mathematica
directly from a file server, without installing files locally. To do this, install Mathematica
on the file server and make the installation directory accessible to the client machines. Running Mathematica
from a file server differs from running a local copy in several ways. These differences and appropriate steps for working around them are listed here.
- The Mathematica fonts will not be available for use by other applications. It is therefore required that you manually install the fonts on your system. The fonts are found in SystemFiles\Fonts\Windows in the Mathematica layout. To install these fonts so they can be used by all other Windows applications, open the Fonts control panel, choose under the menu, and specify the location of the fonts in the Add Fonts dialog box that appears.
- The MathLink® libraries will not be available for use by other applications. Therefore, you need to copy the MathLink libraries to the appropriate locations on your system. For 32-bit Windows systems, the MathLink libraries consist of seven files: ml32i1.dll, ml32i2.dll, ml32i3.dll, mlmap32.mlp, mlshm32.mlp, mltcp32.mlp, and mltcpip32.mlp, which are located in SystemFiles\Links\MathLink\DeveloperKit\Windows\SystemAdditions in the Mathematica layout. Copy these files to the Windows\System folder on Windows Me, the WINNT\System32 folder on Windows NT/2000, or the Windows\System32 folder on Windows XP/Vista. For 64-bit Windows platforms, the MathLink libraries consist of twelve files: ml32i1.dll, ml32i2.dll, ml32i3.dll, mlmap32.mlp, mlshm32.mlp, mltcp32.mlp, and mltcpip32.mlp, which are located in SystemFiles\Links\MathLink\DeveloperKit\Windows\SystemAdditions, and ml64i2.dll, ml64i3.dll, mlshm64.mlp, mltcp64.mlp, mltcpip64.mlp, which are located in SystemFiles\Links\MathLink\DeveloperKit\Windows-x86-64\SystemAdditions. Copy the first seven files to the Windows\Syswow64 folder and the other five files to the Windows\System32 folder.
- The proper file associations will not be set up for Mathematica. You can set these associations manually by using the Folder Options dialog box under the menu of the Explorer window (under Windows NT/2000/XP). You will need to specify the MIME type as application/mathematica and the file extension as .nb.
- A menu entry for Mathematica will not be created automatically. You can add this manually by editing the menu settings in the dialog box that appears when you choose under the menu.
Mathematica Command-Line Options
Following are several useful command-line options for the Mathematica
kernel. See Launching Mathematica on Windows: Locally
for instructions on running the kernel.
Prints diagnostic information to stderr
on connecting to the license manager. This is useful for debugging problems related to the license server.
Specifies that the kernel should be run in MathLink
mode. See www.wolfram.com/solutions/mathlink
for additional information about MathLink
Specifies that no banner or In/Out prompts should be printed. This mode is useful for running a sequence of commands from a batch file.
Specifies a password to use instead of the password or passwords stored in the mathpass file. The password should have the form "!servername
" or "machinename mathid licensenumber password
Specifies the name of a file that has a valid password.
Takes a command to be run on startup as an argument.
The option -mathlink
can also be used as a command-line option for the Mathematica