Building Cantera on a Windows PC. D. G. Goodwin Caltech February, 2004



Similar documents
Installing C++ compiler for CSc212 Data Structures

Installing the Cygwin UNIX Emulator on Windows 7

Virtual Office Remote Installation Guide

PuTTY/Cygwin Tutorial. By Ben Meister Written for CS 23, Winter 2007

Installing the Android SDK

A survival guide to Radiance on Windows. When you have (almost) no choice :-(

Cygwin: getting the setup tool

Lexia Network Installation Instructions

Software Setup for developing realtime application with LEGO mindstorms NXT

There s a variety of software that can be used, but the approach described here uses freely available Cygwin software: (1) Cygwin/X (2) Cygwin/openssh

Installing (1.8.7) 9/2/ Installing jgrasp

MY WORLD GIS. Installation Instructions

An introduction to Cygwin

Print Audit 6 Network Installation Guide

1. Installation Overview

These instructions were tested on OS X Earlier or later versions may have slight or major differences in how things work and appear.

GETTING FESTIVAL TO RUN ON WINDOWS XP WITH CYGWIN

Iron Speed Designer Installation Guide

Cincom Smalltalk. Installation Guide P SIMPLIFICATION THROUGH INNOVATION

A+ Guide to Managing and Maintaining Your PC, 7e. Chapter 2 Introducing Operating Systems

Driver Upgrade Instructions

Building graphic-rich and better performing native applications. Pro. Android C++ with the NDK. Onur Cinar

Network Printing In Windows 95/98/ME

Speech and Debate Timekeeper User Manual

Cygwin Installation s Guide

How to Tunnel Remote Desktop using SSH (Cygwin) for Windows XP (SP2)

Remote Access. Connecting to your computer from home

FileMaker Pro 11. Running FileMaker Pro 11 on Terminal Services

IBM SPSS Statistics Version 22. Windows Installation Instructions (Concurrent License)

CDUfiles User Guide. Chapter 1: Accessing your data with CDUfiles. Sign In. CDUfiles User Guide Page 1. Here are the first steps to using CDUfiles.

NAS 253 Introduction to Backup Plan

SIMIAN systems. Setting up a Sitellite development environment on Windows. Sitellite Content Management System

The MAC address, short for Media Access Control address, is a number in hexadecimal format that uniquely identifies every machine on a network.

OPERATING SYSTEMS Software in the Background. Chapter 2

AES Crypt User Guide

How to install and run. in Microsoft Windows Environment

Mapping ITS s File Server Folder to Mosaic Windows to Publish a Website

How to use Dropbox. What is Dropbox. Please read the University of Melbourne Guidelines on Dropbox and University Information prior to use.

1. Scope of Service. 1.1 About Boxcryptor Classic

Internet Guide. Prepared for 55 John Street

Installing Microsoft Outlook on a Macintosh. This document explains how to download, install and configure Microsoft Outlook on a Macintosh.

enter the administrator user name and password for that domain.

The IDL Virtual Machine

Firmware Update Instruction Manual

SHORETEL CALL MANAGER Installation Instructions:

Getting Started with VMware Horizon View (Remote Access)

Coyote SP - Installation Notes

Using Remote Web Workplace Version 1.01

Voyager Reporting System (VRS) Installation Guide. Revised 5/09/06

Installing Eclipse C++ for Windows

Standard Client Configuration Requirements

Installation Overview

Deploying BitDefender Client Security and BitDefender Windows Server Solutions

Installation Guidelines (MySQL database & Archivists Toolkit client)

Moxa Device Manager 2.3 User s Manual

FlexSim LAN License Server

PowerPoint Add-in Version 1.4 ( )

Promap V4 ActiveX MSI File

Installation...2 Installation of Athena Visual Studio...2 Authorization...3 Authorization for Corporate License Users...3 Authorization for

Chapter 1: Getting Started

Version Control with Subversion and Xcode

Option 1 Using the Undelete PushInstall Wizard.

Installing the Microsoft Network Driver Interface

VPN: Virtual Private Network Setup Instructions

Windows XP Managing Your Files

Test Note Phone Manager Deployment Windows Group Policy Sever 2003 and XP SPII Clients

JAVS Scheduled Publishing. Installation/Configuration... 4 Manual Operation... 6 Automating Scheduled Publishing... 7 Windows XP... 7 Windows 7...

How To Configure CU*BASE Encryption

WEB INTERFACE FOR CDS/ISIS. GENISISweb VERSION Deepali Talagala, General Secretary, Sri Lanka Library Association Colombo

How To Upgrade Your Microsoft SQL Server for Accounting CS Version

Migrating helpdesk to a new server

LPR for Windows 95/98/Me/2000/XP TCP/IP Printing User s Guide. Rev. 03 (November, 2001)

Installation Guide. Research Computing Team V1.9 RESTRICTED

FAQ. How does the new Big Bend Backup (powered by Keepit) work?

Original brief explanation

Download & Install Service Packs

Windows Offline Files

Working with your NTU off campus

RecoveryVault Express Client User Manual

XF Extracellular Flux Analyzer. Installation and Troubleshooting Guide

ilaw Installation Procedure

USB HSPA Modem. User Manual

Install Apache on windows 8 Create your own server

Cisco Cable DVB/DAVIC Management Program

Disabling Microsoft SharePoint in order to install the OneDrive for Business Client

Operating System Today s Operating Systems File Basics File Management Application Software

Moxa Device Manager 2.0 User s Guide

Installing LearningBay Enterprise Part 2

Distributing SMS v2.0

DIAL-UP INTERNET ACCESS

How To Set Up An Outlook Mailbox On A Windows 2007 (For Free) With A Free Account On A Blackberry Or Ipad (For A Free) Or Ipa (For An Ipa) With An Outlook 2007 (Free) Or

Installing Intel Parallel Studio XE Composer Edition for Fortran Windows 2016

SuperOffice AS. CRM Online. Installing the Citrix Online Web plug-in

Installation of Jana2000/2006 for Windows

Online Backup Linux Client User Manual

Installing Cobra 4.7

Browser Client 2.0 Admin Guide

Speeding up PDF display in Acrobat

Transcription:

Building Cantera 1.5.3 on a Windows PC D. G. Goodwin Caltech February, 2004

This presentation covers How to build the Cantera kernel from the source code using Visual C++ / Visual Fortran How to build the Cantera Python interface How to build the Cantera MATLAB toolbox

Getting Ready

Things you will need before you start A PC with Windows XP or 2000 Compilers Microsoft Visual C++ 6.0 Compaq Digital Fortran 6.0 other compilers may work too but have not been tested Free downloads The cygwin unix-like environment for Windows Python Numeric Extensions for Python (NumPy)

Why is cygwin needed? Cantera is designed to work on multiple platforms, including linux, unix, and Mac OS X On the other platforms, the GNU make utility is used to build Cantera Impractical to maintain an entirely separate build procedure for Windows By installing cygwin, Windows PCs can use standard unix-like command-line tools, including make

Why is Python needed? Python is an easy-to-use, cross-platform scripting language much more powerful than DOS or cmd.exe much easier to use than sh or perl The Cantera build procedure writes and runs some Python scripts Cantera also uses Python during operation to parse Cantera input files ( CTI Files ) (If you take an hour or so to learn Python, you ll find lots of uses for it too)

Why is NumPy needed? Adds fast MATLAB-like array functions to Python Required to build the Cantera Python interface

Installing cygwin Get it from http://www.cygwin.com by running setup.exe When asked whether you want DOS or unix files, choose DOS You only need a minimal installation make, sed, and bash are required everything else is optional

Installing Python Information about Python is at http://www.python.org Run this to install Python: http://www.python.org/ftp/python/2.3.3/python- 2.3.3.exe

Installing NumPy Go to http://sourceforge.net/projects/numpy Under latest file releases, select numpy Download and run Numeric-23.1.win32-py2.3.exe

Get the Cantera source code Go to http://sourceforge.net/projects/cantera Under latest file releases, select package cantera Get file cantera-1.5.3-src.zip Extract its contents somewhere other than where you plan to install Cantera (e.g., not in c:\cantera)

Configuring the Installation Double-click the cygwin icon on the desktop to open a cygwin shell window cd to the directory where you extracted the Cantera source code, and type configure to run the configuration script Hint: to refer to a DOS drive letter in cygwin, do it like this: /cygdrive/c, /cygdrive/d etc.

Choosing the Installation Directory By default, Cantera will be installed in c:\cantera To change this default, edit the configure script before running it Change variable CANTERA_INSTALL_DIR to the desired installation location

Now open the Cantera Visual Studio project file file cantera.dsw in directory win32

Set the active configuration set the active configuration to all Win32 Release

Build project all

Finish the Installation When the build of project all finishes, return to the cygwin window type make win to build the Python interface and MATLAB toolbox type make win-install to install everything you should now have a functional Cantera installation

The installation directory should look like this when make win-install finishes

Finishing Up Cantera needs to know where to find the Python interpreter, since it uses Python to process.cti input files To edit the system search path, select System on the Control Panel to pull up this dialogue box Press the Environment Variables button

Edit the PATH environment variable Add C:\PYTHON23 (or wherever you installed Python 2.3) to the PATH environment variable (user or system) Use a semicolon between paths

If you will use MATLAB, put the Cantera Toolbox on the MATLAB path Add these two folders to the MATLAB path Folder 1D adds support for one-dimensional reacting flows

Setting the Path in Matlab choose Set Path on the File menu the Cantera Toolbox If desired, the Cantera toolbox can be moved to the folder containing other toolboxes (or anywhere else)

Now try it out! If you have done everything described here, you should have a functioning Cantera 1.5.3 installation! (Congratulations.) Running the Python and MATLAB demonstration scripts is a good way to test your installation