CMU & ECE Specific Computing References

This page provides a listing of campus specific tips and hints regarding computational requirements and support at Carnegie Mellon University and in the Department of Electrical and Computer Engineering.

Software Availability

The software needed for this course can be found on a variety of platforms in a variety of campus clusters. Andrew software availability changes each semester. An up to date listing of what software can be found where is located at http://www.cmu.edu/acs/softweb/cluster.software.html.

Note that different versions of software are available on different platforms. MATLAB Version 5 is available on Sun workstations and in some PC clusters. Version 4.2c is available on most platforms and is simultaneously available on the Sun workstations with Version 5.

ECE Computing Services currently supports MATLAB (Version 4.2c), Maple, and Mathematica.

Software Support

Andrew computing services can be contacted via email (advisor@andrew.cmu.edu). Send them questions regarding software usage, Andrew hardware problems, and Andrew account questions. ECE computing services can be contacted via email (gripe@ece.cmu.edu). Send email to ECE facilities regarding ECE hardware problems and ECE account questions.

Additional email support can be obtained from each of the three software vendors. Take a look at their web pages (on the software.html page) for detailed questions and answers to most common questions and problems. While each of these vendors provide speedy responses, the web resources are generally quicker (and are referred to in the vendor's email response!).

Getting Started

These instructions are geared towards the UNIX based machines on campus. To start programs using Windows or Macintosh based machines, use the graphical user interface to find the particular program that you wish to start.

The following instructions pertain to starting the actual software provided by each respective vendor -- not the software links nor the symbolic capabilities of any of these packages. The symbolic interface (for MATLAB to interface with the Maple symbolic engine) is only available on UNIX machines. Additionally, note that the Version 5 and Version 4 command syntax are slightly different. The symbolic toolbox is started when MATLAB is started, as directed below. The MATLAB to Mathematica link is not currently installed on Andrew or ECE systems.

 

  • MATLAB: This program is unique with respect to the three software packages used in this course. While it is highly graphical, the interface itself is command line or script driven in nature. To start the program, it is recommended that you start the software by typing
    xterm -e matlab &
    at the UNIX prompt. To start the program in the current window or from remote terminal emulation, just type matlab. The & at the end of the command above allows the program to run in the background. We will use the ampersand to run other programs and edit scripts without having to interrupt or exit MATLAB.

    Version 5.1 is the default software version on the Andrew Sun workstations. Versions 5.1 and 4.2c (available on most other platforms) are generally compatible. Some of the higher level programming commands in version 5.1 are not available in version 4.2c. To start version 4.2c on an Andrew Sun workstation, type matlab4. Version 5 changes and improvements are highlighted at http://www.mathworks.com/products/matlab/ml5_struct.shtml.

 

  • Maple: To start this program on a machine with a graphical user interface, type xmaple &. This will start the interface and run the program in the background. If the program is being run from remote terminal emulation, typing maple at the UNIX prompt will start a text based version of the program.

 

  • Mathematica: To start this program on a machine with a graphical user interface, type mathematica &. This will start the interface and run the program in the background. If the program is being run from remote terminal emulation, typing mathematica at the UNIX prompt will start a text based version of the program.

When performing large symbolic computations, the two symbolic mathematical software are excellent methods of checking and executing computations. Often, it is necessary to use the results of symbolic computations with numerical values. Several approaches can be taken: cut and paste, exporting and importing, symbolic links, and retyping. Use caution to ensure that what you are copying and what you are pasting say the same thing in both languages, and that nothing is lost in the translation. 

X-Windows

It may become necessary to use the graphical interface of one machine and the software or capabilities of another machine. X-Windows (or some derivative), the user interface on most campus UNIX workstations, permits sharing of windows across machines. For example, if one was sitting in the ECE Undergraduate cluster, but wants to use Maple on a Sun workstation, telnet to the Sun workstation and type maple. The text version of Maple would soon start running without the interface. A common way to run programs from another machine and have the graphical display appear on the terminal in front of the user is to xhost the other machine. In the example that follows, the user is attempting to run software from a Sun workstation while not sitting in front of a Sun workstation.


This page was last updated on Thursday, January 15, 1998.

Send questions, comments, ideas, suggestions, or concerns to jsilvey@ece.cmu.edu.

18-205 Web Resources 1998
Carnegie Mellon University
Department of Electrical and Computer Engineering