60 likes | 258 Views
Manifold - Lab 1. In this lecture we will discuss about: Setting Manifold environment Compiling/running programs. Giorgos Hadjipollas. Summary. Setting manifold environment How to compile/run manifold programs Compiling/running HelloWorld program. How to compile/run manifold programs.
E N D
Manifold - Lab 1 In this lecture we will discuss about: Setting Manifold environment Compiling/running programs Giorgos Hadjipollas EPL 603 – Software Engineering
Summary • Setting manifold environment • How to compile/run manifold programs • Compiling/running HelloWorld program EPL 603 – Software Engineering
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 • type pvm and when the pvm> prompt is appeared typehalt EPL 603 – Software Engineering
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 here • Manifold files are available for download at course web site in zip and tar format. • Unzip manifold.tar file to your $HOME directory: tar –xf manifold.tar • Change directory to manifold/stask under your $HOME directory • Compile and run program hello.m • Running the program should produce: “Hello World” EPL 603 – Software Engineering