Presentation is loading. Please wait.

Presentation is loading. Please wait.

Manifold Lab 1 Setting the environment Compiling/running programs.

Similar presentations


Presentation on theme: "Manifold Lab 1 Setting the environment Compiling/running programs."— Presentation transcript:

1 Manifold Lab 1 Setting the environment Compiling/running programs

2 Summary Setting manifold environment How to compile/run manifold programs Compiling/running HelloWorld program

3 Copy needed manifold files and some examples to your directory – Copy manifold files contained in /u/students/cs/1998/cs98sa2/manifold.tar to your $HOME directory cp /u/students/cs/1998/cs98sa2/manifold.tar $HOME – Unzip manifold.tar file to your $HOME directory: tar –xf manifold.tar – Manifold files are also available for download at course web site in zip and tar format.ziptar

4 How to compile/run manifold programs In order to compile a manifold program included in a file with name “test.m” type: gmake P=test If the compilation is successful an executable file named test will be produced in current directory Before running the program, you must start pvm The steps to start pvm are: – Type pvm – When the pvm> prompt is appeared type quit (This takes you back to the $ prompt while leaving pvm running on the background). Type test to run it Before logging off the system stop pvm (i.e. type pvm and when the pvm> prompt is appeared type halt)

5 Compiling/running HelloWorld program Login to one of the linux machines of B103 lab: cs4034, cs4038, cs4042, cs4046 (.in.cs.ucy.ac.cy) – Note: The full list of linux machines of B103 lab can be found herehere Change directory to manifold/stask under your $HOME directory Compile and run program hello.m Running the program should produce: “Hello World”


Download ppt "Manifold Lab 1 Setting the environment Compiling/running programs."

Similar presentations


Ads by Google