Lab 3: Writing a Naiad Application
-
Upload
zubair-nabi -
Category
Technology
-
view
614 -
download
0
description
Transcript of Lab 3: Writing a Naiad Application
3: Writing a Naiad Application
Zubair Nabi
April 19, 2013
Zubair Nabi 3: Writing a Naiad Application April 19, 2013 1 / 6
Introduction
Source code available at: http://research.microsoft.com/en-us/projects/naiad/
But the code is in C# while we want to stick to Linux
Mono1 to the rescue
Mono enables .NET applications to be run atop Linux
1http://www.mono-project.com/Main_PageZubair Nabi 3: Writing a Naiad Application April 19, 2013 2 / 6
Introduction
Source code available at: http://research.microsoft.com/en-us/projects/naiad/
But the code is in C# while we want to stick to Linux
Mono1 to the rescue
Mono enables .NET applications to be run atop Linux
1http://www.mono-project.com/Main_PageZubair Nabi 3: Writing a Naiad Application April 19, 2013 2 / 6
Introduction
Source code available at: http://research.microsoft.com/en-us/projects/naiad/
But the code is in C# while we want to stick to Linux
Mono1 to the rescue
Mono enables .NET applications to be run atop Linux
1http://www.mono-project.com/Main_PageZubair Nabi 3: Writing a Naiad Application April 19, 2013 2 / 6
Introduction
Source code available at: http://research.microsoft.com/en-us/projects/naiad/
But the code is in C# while we want to stick to Linux
Mono1 to the rescue
Mono enables .NET applications to be run atop Linux
1http://www.mono-project.com/Main_PageZubair Nabi 3: Writing a Naiad Application April 19, 2013 2 / 6
Building the code
Jump to the root Naiad folder (should contain Naiad.sln)
Build: xbuild
Zubair Nabi 3: Writing a Naiad Application April 19, 2013 3 / 6
Building the code
Jump to the root Naiad folder (should contain Naiad.sln)
Build: xbuild
Zubair Nabi 3: Writing a Naiad Application April 19, 2013 3 / 6
Running an existing example
Jump to: NaiadExamples\bin\Debug
Running wordcount: mono NaiadExamples.exe wordcount
Zubair Nabi 3: Writing a Naiad Application April 19, 2013 4 / 6
Running an existing example
Jump to: NaiadExamples\bin\Debug
Running wordcount: mono NaiadExamples.exe wordcount
Zubair Nabi 3: Writing a Naiad Application April 19, 2013 4 / 6
Adding another example
Download:http://newt.lums.edu.pk/ccw/OnlineTermCount.cs
Add it to the examples folder
Need to add references to NaiadExamples.csproj andProgram.cs and then rebuild using xbuild
Zubair Nabi 3: Writing a Naiad Application April 19, 2013 5 / 6
Adding another example
Download:http://newt.lums.edu.pk/ccw/OnlineTermCount.cs
Add it to the examples folder
Need to add references to NaiadExamples.csproj andProgram.cs and then rebuild using xbuild
Zubair Nabi 3: Writing a Naiad Application April 19, 2013 5 / 6
Adding another example
Download:http://newt.lums.edu.pk/ccw/OnlineTermCount.cs
Add it to the examples folder
Need to add references to NaiadExamples.csproj andProgram.cs and then rebuild using xbuild
Zubair Nabi 3: Writing a Naiad Application April 19, 2013 5 / 6
Reference(s)
Announcing the Naiad source code release:http://bigdataatsvc.wordpress.com/2012/10/09/announcing-the-naiad-source-code-release/
Zubair Nabi 3: Writing a Naiad Application April 19, 2013 6 / 6