You are free to use other computing platforms, including Windows if you like, but you may have to install some of the software we will use. I will be happy to discuss alternatives with you if you are interested.
$ ssh amdahl.physics.purdue.eduand type 'y' if it prompts you with a question the first time you try it. Enter your ITaP user ID and password and you should be ready to go.
Start --> All Programs --> Standard Software --> Telecommunications --> Secure CRT5.0 --> Secure CRT5.0From here you can click on the 'New Session' button, enter the host information picking the default parameters where appropriate and then click on 'Connect'. You can log in using your Purdue login and password.
You will need to export your DISPLAY so that you can pop up windows from the remote host. To allow it to do this you need to do the following:
Start --> PC-Xware Configuration --> Edit host list... --> Enter 'amdahl.physics.purdue.edu' in the 'Host' box --> Add, OK --> Apply, OKThen, from amdahl, follow this example:
jones105@amdahl:~$ who am i jones105 pts/9 Aug 30 15:51 (phys14pc17.ics.purdue.edu) jones105@amdahl:~$ export DISPLAY=phys14pc17.ics.purdue.edu:0.0 jones105@amdahl:~$ xterm &If you get a new terminal window on your screen, then it worked.
jones105@amdahl:~$ stty erase '^?'Once you have logged in you can create a new directory in which to do your work, and edit a new program like this:
jones105@amdahl:~$ mkdir phys564 jones105@amdahl:~$ cd phys564 jones105@amdahl:~$ pico junk.ccThen you can enter a program like this:
#include <iostream> using namespace std; main() { cout << "Hello world!" << endl; }Then you can compile and run it like this:
jones105@amdahl:~$ g++ junk.cc jones105@amdahl:~$ ./a.out Hello world.Congratulations. You are now programming in C++.