1 / 4

Manifold - Lab 1

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.

joelle
Download Presentation

Manifold - Lab 1

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Manifold - Lab 1 In this lecture we will discuss about: Setting Manifold environment Compiling/running programs Giorgos Hadjipollas EPL 603 – Software Engineering

  2. Summary • Setting manifold environment • How to compile/run manifold programs • Compiling/running HelloWorld program EPL 603 – Software Engineering

  3. 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

  4. 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

More Related