Getting Started Paul Johnson University of Kansas Swarmfest 2005 Torino, Italy 2005/6/1.

Slides:



Advertisements
Similar presentations
Technotronics GCECT '091 Decode C This is a C Programming event, where you will be given problems to solve using C only. You will be given a Linux system.
Advertisements

MC365 Ant. Today We Will Cover: Overview of Ant Installing Ant Using the Ant command line tool Various Ant commands available Using Ant in Eclipse.
Object-Oriented Enterprise Application Development Tomcat 3.2 Configuration Last Updated: 03/30/2001.
Install Software in Ubuntu. Do you have Internet? Everything is on the Internet and Free!
Low level CASE: Source Code Management. Source Code Management  Also known as Configuration Management  Source Code Managers are tools that: –Archive.
Platforms, installation, configuration; accessing example collections Course material prepared by Greenstone Digital Library Project University of Waikato,
CS0007: Introduction to Computer Programming Setting Up Java.
The Basic Java Tools A text editor to write Java program source code. A compiler to translate source code into bytecode. An interpreter to translate.
NDT Tools Tutorial: How-To setup your own NDT server Rich Carlson Summer 04 Joint Tech July 19, 2004.
Installing Linux softwares Sirak Kaewjamnong. 2 Software packets  When Linux developers create their software they typically bundle all the executable.
1 Introduction to Tool chains. 2 Tool chain for the Sitara Family (but it is true for other ARM based devices as well) A tool chain is a collection of.
Getting Started With Java Downloading and installing software Running your first program Dr. DwyerFall 2012.
Introduction Purpose This training course introduces the free GNU tools that can be used for debugging embedded system application software in the Renesas.
M1G Introduction to Programming 2 4. Enhancing a class:Room.
May 10, 2012 Lloyd Moore, President/Owner. Quick Start Video Building Mobility 1.2 SDK Emulator Quirks Installing On A Device Summary Overview.
Enabling the ARM Learning in INDIA ARM DEVELOPMENT TOOL SETUP.
Android. The Eclipse IDE Installation Requirements: Eclipse Java Windows All must match (32-bit OR 64-bit) If you have a 64-bit OS & 32-bit browser,
Introduction to NS2 -Network Simulator- -Prepared by Changyong Jung.
Introduction Purpose This course describes the process of installing the KPIT GNU toolchain on your PC. Objective Learn how easy it is to get information.
CENT 305 Information Systems Security Linux Introduction.
Websites 101 Technology Committee UPSOM. Web Class – Goals  Make a simple web page (or series of pages)  Upload that page to the internet  Feel comfortable.
CSC 215 : Procedural Programming with C C Compilers.
Guideline: How to build AMSS source code? History: 01/02/ Make Draft 05/02/2010 – Release /02/2010 – Updated.
How to Install and Run Prepared by: Shubhra Kanti Karmaker Santu Lecturer CSE Department BUET.
INFSOM-RI Juelich, 10 June 2008 ETICS - Maven From competition, to collaboration.
Day 7 Installing Software RPM tar, mtools make, ssh.
A Practical Guide to Fedora and Red Hat Enterprise Linux Unit 8: Installing Software in Linux Chapter 13: Downloading and Installing Software By Fred R.
Clement Allen, PhD Florida A&M University SUMMER 2006.
CIS3931 – Intro to JAVA 26-May-05 Using JAVA in a Windows environment.
Active-HDL Interfaces Debugging C Code Course 10.
Editing & Compiling: UNIX vs. IDE and an Intro to Architecture.
Setting up Cygwin Computer Organization I 1 May 2010 ©2010 McQuain Cygwin: getting the setup tool Free, almost complete UNIX environment emulation.
The course. Description Computer systems programming using the C language – And possibly a little C++ Translation of C into assembly language Introduction.
1 MSTE Visual SourceSafe For more information, see:
Yannick Patois - Datagrid Software Repository Presentation - March, n° 1 Datagrid Software Repository Presentation CVS, packages and automatic.
All the dSoftArk Tools Getting started!. Tools dSoftArk is a semi-realistic, agile, development project –Industrial strength software (programming, TDD,
1 Getting Started with C++ Part 1 Windows. 2 Objective You will be able to create, compile, and run a very simple C++ program on Windows, using Microsoft.
Lab 9 Department of Computer Science and Information Engineering National Taiwan University Lab9 - Debugging I 2014/11/4/ 28 1.
Cygwin Tutorial 1. What is Cygwin? Cygwin offers a UNIX like environment on top of MS-Windows. Gives the ability to use familiar UNIX tools without losing.
L071 Introduction to C Topics Compilation Using the gcc Compiler The Anatomy of a C Program Reading Sections
 CSC 215 : Procedural Programming with C C Compilers.
Cygwin: getting the setup tool
Tips for using Java with Internet Explorer
Precept I : Lab Environment, Unix, Bash, Emacs
Downloading & Installing the BIT115 Software & Programs
CSC 215 : Procedural Programming with C
Introduction to the Command Line for Data Analysts Gus Cavanaugh
CST 1101 Problem Solving Using Computers
Editor, Compiler, Linker, Debugger, Makefiles
Lecture 13 RPM and its advantages.
Adding Assignments and Learning Units to Your TSS Course
Chapter 2 Setup.
CMPE 152: Compiler Design ANTLR 4 and C++
CSC235 - Visual Studio Getting Started.
Install Ruby If you are running on Mac OS X, Ruby is preinstalled.
5 Tips for Upgrading Reports to v 6.3
Computer Systems Programming
Software Installation
Download and Installation of code::blocks
Class Projects and Environment
Cygwin Tutorial 1.
Install MySQL Community Server and MySQL Workbench
Cygwin Tutorial 1.
Video Notes.
Cygwin: getting the setup tool
Carthage ios 8 onwards Dependency manager that streamlines the process of integrating the libraries into the project.
Review of Previous Lesson
Java Code Review with CheckStyle
Chloe Riley | Research Commons Librarian |
Presentation transcript:

Getting Started Paul Johnson University of Kansas Swarmfest 2005 Torino, Italy 2005/6/1

Basic Facts ● Free & Open Source Software Library ● Library: routines you can use ● GNU software framework & tools – gcc : GNU compiler collection – Make & related tools ● Compile a program: use “make” command to trigger process that – translates *.h and *.m into *.o, – executable program

Where do you stand? ● Novice Programmer? Swarm's a good way to learn – Get a good book on C: ● Kochan, Programming in ANSI C ● Kernighan & Richie: The C Programming Language – Work hard on 1 st part of Swarm Tutorial ● Intermediate: learn ideas of Object-Oriented Programming ● Java users: still need to master Obj-C Swarm

Motivate Yourself by Example Programs ● Find working / published examples ● Dedicate yourself to understanding (& fixing ! ) them ● Read every line of code ● Explore variations

First, you must install Swarm libraries ● Building requires installation of many programs you might not have ● Easier to install a “pre-built” binary package for your operating system

Linux With the RPM package manager, install ● hdf5 ● blt ● swarm ● jdk (from Sun javasoft) ● swarm-jdk (optional) ● swarm-debuginfo (optional) ● swarm-static (optional)

Windows ● Download setup.exe ● Run setup.exe, choose “download packages” – browse through selected packages – do not de-select any! – add some, such as “wget” or “vim” ● Run setup.exe again, choose “install from local directory” ● Choose target directory WITH NO SPACES, such as c:\cygwin c:\cygwin ● OK to update Cygwin against other repositories

Gathering Tools ● Make sure you have a good editor: – Emacs ● gdb : The GNU debugger

Web sites to remember Swarm Development Group: (old) (new) My Swarm HQ: Swarm packages for Linux users Links to many resources (discussed next) Wiki has potential as “clearinghouse” for Swarm info (but requires user effort)

Gather Manuals Put copies in ~/swarm/docs ● The “Objective-C” book in pdf form ● The reference guide for Swarm – Don't take the source code for the guide – Look for a bland name like “set-html-2.2.tar.gz” ● Swarm User Guide – A [immodesty alert] pretty good discussion of Swarm in Objective-C – Look for it in html or postscript or pdf format ● SwarmOnlineFaq ● Keep a copy of the Swarm Source code, even if you don't compile Swarm

Join Lists ● swarm-support and swarm-modelling (via

Swarmapps ● Swarmapps-objc is a tar.gz file containing the Swarm Tutorial as well as other demonstration programs. ● Most recent official release: – swarmapps-objc tar.gz

Read through the Swarm Tutorial ● Steps from elementary C to the design of Swarm models. ● Recently added elements – “batch” processing of simulations – parameter classes & command line arguments – data collection

Shop for working programs ● Swarm changes, programs change, not all work all of the time ● Get programs from authors or on the web ● Swarm ftp site has – apps/objc/sdgapps/objc/contrib – apps/java/sdg apps/java/contrib ● Make sure a program compiles & runs before you exert any effort on it. ● If you find a program is out of date, contact the author directly. Don't be bashful.

Small Working Examples ● Marcus Daniels (SDG) wrote many small programs that illustrate usage of specific Swarm elements. ● Best way to learn “how to” use a particular thing. ● Best way to get help and report bugs ● These and others are collected in the WorkingExampleCode directory referred to in SwarmFAQ