Advanced BioPSE NCRR How to Install and Configure J. Davison de St. Germain Chief Software Engineer SCI Institute 801-581-4078 December 2003 J. Davison.

Slides:



Advertisements
Similar presentations
Computer Software 3 Section A Software Basics CHAPTER PARSONS/OJA
Advertisements

STScI Tiger Upgrade CPT Project Manager: Jim Grice Technical Manager: Mark Calvin.
Raymond R. Balise Health Research and Policy
Installing SAS 9.3 Raymond R. Balise Health Research and Policy.
Installing geant4 v9.5 using Windows Daniel Brandt, 06 April 2012 Installing Geant4 v9.5 for Windows A step-by-step guide for Windows XP/Vista/7 using.
Installing SAS 9.3 TS1M1 Raymond R. Balise Health Research and Policy.
® IBM Software Group © 2003 IBM Corporation How to Download and Install RMC 7.5 David Trent RMC Product Manager.
SET UP COMPUTER ** PLEASE BE AWARE SCREENSHOTS MAY NOT MATCH **
G51FSE Version Control Naisan Benatar. Lecture 5 - Version Control 2 On today’s menu... The problems with lots of code and lots of people Version control.
Julie McEnery1 Installing the ScienceTools The release manager automatically compiles each release of the Science Tools, it creates a set of wrapper scripts.
A crash course in njit’s Afs
Introduction to The Linaro Toolchain Embedded Processors Training Multicore Software Applications Literature Number: SPRPXXX 1.
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.
One to One instructions Installing and configuring samba on Ubuntu Linux to enable Linux to share files and documents with Windows XP.
Linux Operations and Administration
Input/Output Controller (IOC) Overview Andrew Johnson Computer Scientist, AES Controls Group.
Chromium OS is an open-source project that aims to build an operating system that provides a fast, simple, and more secure computing experience for people.
How to Download and Install a Sharp Print Driver on a Mac.
1 Copyright 2006 Aplix Corporation. All rights reserved. May, 2006 Tokyo Jamboree #8 Cross-Development on Mac André Krützfeldt.
BioPSE NCRR SCIRun: Getting Started Installation and Configuration J. Davison de St. Germain (801)
Tutorial 11 Installing, Updating, and Configuring Software
Linux Last Update Copyright Kenneth M. Chipps Ph.D. 1.
Trilinos 101: Getting Started with Trilinos November 7, :30-9:30 a.m. Mike Heroux Jim Willenbring.
Intro to By Debra Dimas Special thanks to David Fogliatti and Armand Amarento of Oceanside HS in San Diego.
Internet of Things with Intel Edison Compiling and running Pierre Collet Intel Software.
Advanced BioPSE NCRR SCIRun GUI Guidelines J. Davison de St. Germain Chief Software Engineer SCI Institute December 2003 J. Davison de St.
(1) A Beginner’s Quick Start to SIMICS. (2) Disclaimer This is a quick start document to help users get set up quickly Does not replace the user guide.
Geant4 Installation Supported platforms:  Scientific Linux with gcc 4.1.2/4.6  Mac Os X 10.7 and 10.8 with gcc 4.21  Windows7 with Visual Studio.
Booting Ubuntu Linux Live CSCI 130 – Fall 2008 Action Lab Dr. W. Jones.
CS 444 Introduction to Operating Systems
NA-MIC National Alliance for Medical Image Computing Slicer Building and Deployment Steve Pieper, PhD.
How to configure, build and install Trilinos November 2, :30-9:30 a.m. Jim Willenbring Mike Phenow.
Installation Tutorial Paola Sivera ESO ACS 2.1 for Linux RH7.2.
Setting up Cygwin Computer Organization I 1 May 2010 ©2010 McQuain Cygwin: getting the setup tool Free, almost complete UNIX environment emulation.
What is a port The Ports Collection is essentially a set of Makefiles, patches, and description files placed in /usr/ports. The port includes instructions.
Intro to Programming Environment 1. Today You Will Learn how to connect to a machine remotely with “nomachine NX client” Learn how to create a new “source.
1 FreeBSD Installation AFNOG X Cairo, Egypt May 2009 Hervey Allen.
 Linux Mint is a computer operating system designed to work on most modern systems, including typical x86 and x64 PC’s. Linux Mint can be thought of.
Porting a large scale enterprise application from Tcl/Tk 8.4 to 8.5 Prashant Thakre, Tushar Gupta {prashant_thakre, Gaurav Bansal.
Installing SAS 1. Requirements If you do not have an old copy of SAS installed on your computer, go directly to Slide 6. Make sure you have uninstalled.
PTA Linux Series Copyright Professional Training Academy, CSIS, University of Limerick, 2006 © Workshop V Files and the File System Part B – File System.
C++ LANGUAGE TUTORIAL LESSON 1 –WRITING YOUR FIRST PROGRAM.
 Programming - the process of creating computer programs.
Windows Installation Tutorial NASA ARSET For Python help, contact: Justin Roberts-Pierel
12 CVS Mauro Jaskelioff (originally by Gail Hopkins)
Getting Started with Trilinos October 14, :30-10:30 a.m. Jim Willenbring.
Enabling Grids for E-sciencE Software installation and setup Viet Tran Institute of Informatics Slovakia.
More Unix Naomi Altman. Directories Directory = folder mkdir - makes a new directory rmdir - removes an empty directory cd mydirectory - moves you into.
Open project in Microsoft Visual Studio → build program in “Release” mode.
1. Starting 1 Let’s Learn Saenthong School, January – February 2016 Teacher: Aj. Andrew Davison, CoE, PSU Hat Yai Campus
Lab 9 Department of Computer Science and Information Engineering National Taiwan University Lab9 - Debugging I 2014/11/4/ 28 1.
How to configure, build and install Trilinos November 2, :30-9:30 a.m. Jim Willenbring.
This PowerPoint is a quick guide to configuration of SheepShaver (v 2.3) for running Mac OS 8.5 to on a Mac Intel under OS X, This is a helper.
Windows Installation Tutorial NASA ARSET For Python help, contact: Justin Roberts-Pierel
Operations Management - Problems Students cannot play HW Requirements Self-RegistrationSW requirements Upload by Paris SW Capacity Internet connection.
An introduction to Cygwin Lili He Booth Engineering Center for Advanced Technology (BECAT) Seminar.
Upgrade on Windows 7. DownloadSoftware Download Software from link provided in Webliography: e/
CMake: Experience in ALICE P. Hristov 19/06/12. History I Recursive makefiles (F.Carminati): – Problems in dependencies – Slow "Recursive Makefiles.
bitcurator-access-webtools Quick Start Guide
Development Environment
Installation of MySQL Objectives Contents Practical Summary
Seamless Guest OS's and more!
Let's Learn Python and Pygame
Install Ruby If you are running on Mac OS X, Ruby is preinstalled.
Chief Software Engineer
BSc in Digital Media, PSUIC
Download and Installation of code::blocks
Windows Installation Tutorial
Cygwin: getting the setup tool
Review of Previous Lesson
Presentation transcript:

Advanced BioPSE NCRR How to Install and Configure J. Davison de St. Germain Chief Software Engineer SCI Institute December 2003 J. Davison de St. Germain Chief Software Engineer SCI Institute December 2003

Advanced BioPSE NCRR Installation Steps 1.Download software RPM (Linux) - Has everything Or... (for source install (Mac, SGI, Linux): Thirdparty We provide: Tcl/Tk, Xerces, MPEG, etc We do not provide: Insight, PETSc, Matlab SCIRun Packages (BioPSE,Teem,Insight,etc) Get example datasets For Source Install only: 2.Install Thirdparty 3.Configure/Compile SCIRun

Advanced BioPSE NCRR Downloading SCIRun Register the 1st time Click on “Enter” Select SCIRun/BioPSE Agree to License Join Mailing List software.sci.utah.edu

Advanced BioPSE NCRR Common to SGI/Mac/Linux Grab the example datasets: - SCIRunData tar.gz (If you downloaded previous datasets, you can get updates instead of downloading everything. Eg: SCIRunData to update.tar.gz )

Advanced BioPSE NCRR Linux Grab the rpm’s! But make sure you get the right one (RH8, RH9, or Mandrake 9). - SCIRun rh8.0.i386.rpm - SCIRun rh9.0.i386.rpm - SCIRun mdk9.0.i586.rpm > rpm -i SCIRun rh9.0.i386.rpm - Must be root to install - Comes with everything you need!

Advanced BioPSE NCRR Mac/SGI/Linux ( Source Distribution ) Grab SCIRun tar.gz - This is the core SCIRun code Grab BioPSE and Teem Packages - These build upon and add functionality to the SCIRun PSE Grab Insight and/or MatlabInterface - More specific packages that add functionality

Advanced BioPSE NCRR Thirdparty Software If more than one user will need the Thirdparty, install it in a global place. - Eg: RPM installs Thirdparty to: /usr/local/SCIRun/Thirdparty If it is just you, your home dir will do. Installation: - Mac:./install.sh install-dir 32 - Linux/SGI: python install install-dir 32|64 (32|64 == Number of bits for build)

Advanced BioPSE NCRR Thirdparty Install (cont) Lots of stuff will scroll by… you can just ignore it… at the very end it will tell you whether everything installed correctly: MPEG - SUCCESS TCL - SUCCESS TK - SUCCESS ITCL - SUCCESS BLT - SUCCESS TEEM - SUCCESS XERCES - SUCCESS ImageMagick - SUCCESS

Advanced BioPSE NCRR Other S/W You Can Get SCIRun supports the following, but they are not in the Thirdparty: Insight - Petsc - ftp.mcs.anl.gov/pub/petsc/petsc.tar.gz ftp.mcs.anl.gov/pub/petsc/petsc.tar.gz Instructions for installing these packages: - software.sci.utah.edu/doc/Installation/ Guide/sec.opt_inst.html

Advanced BioPSE NCRR Machine Recommendations Something fairly modern… - Linux GHz, 512 MB, 2 GB Disk (Modern Nvidia/ATI) - Mac GHz, 512 MB, 2 GB Disk - SGI - MIPS R10000 (or better), 512 MB, 2 GB Disk

Advanced BioPSE NCRR OS Recommendations Mac - Panther gcc Linux - Redhat 8, Redhat 9 - Mandrake 9 - gcc 3.1 SGI - IRIX Compiler: m Windows – Requesting Funding

Advanced BioPSE NCRR Configure Is Your Friend mkdir./SCIRun/darwin32dbg cd darwin32dbg - You can have multiple binary directories (eg: sgi64opt, linux32dbg, etc) all based on the same source tree.../src/configure --enable-package=“BioPSE Teem” --enable-debug --enable-32bit --with-thirdparty=/path/to/thirdparty CC=gcc CXX=g++

Advanced BioPSE NCRR Common Reasons Configure Fails Thirdparty moved - After compiling the Thirdparty software, you move it someplace else. Missing libraries - Not installed or in unusual place. Conflicting libraries - Have old libraries system libraries that conflict with upgraded libraries. LD_LIBRARY_PATH - Have libraries listed in this environment variable that conflict with standard system libraries. Different compilers used - Compiled Thirdparty with a different compiler than you compiled SCIRun with. Or some system libraries were compiled with a different compiler/OS.

Advanced BioPSE NCRR Debugging Configure Edit config.log and search for the problem. - It will give you a compile line, - And the program it tried to compile. Try it by hand to see what is going on (see next slide).

Advanced BioPSE NCRR Config.log configure:9917: checking for required Tcl components configure:9958: checking for tcl library and headers (not-optional) configure:10027: g++ -o conftest - I/usr/sci/projects/SCIRun/Thirdparty/1.20/Darwin/gcc bit/include -I/usr/sci/projects/SCIRun/Thirdparty/1.20/Darwin/gcc bit/src/tcl/generic -g -fno-common -dynamic -fcoalesce-templates -Wno-long-double - L/usr/sci/projects/SCIRun/Thirdparty/1.20/Darwin/gcc bit/lib - L/usr/sci/projects/SCIRun/Thirdparty/1.20/Darwin/gcc bit/lib conftest.cc -ltcl >&5 | #line "configure" | /* confdefs.h. */ | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | /* end confdefs.h. */ | | #include | | int | main () | { | ; | return 0; | } configure:12327: result: not found

Advanced BioPSE NCRR Compiling SCIRun Once configure is done…  gmake Can be run from anywhere in the object tree. Or...  gmake -j# Where # is the number of processors to use to compile. Helps to speed compilation up significantly… if you have multiple processors to spare. Or...  gmake lib/libPackages_BioPSE_Core_Datatypes.so Useful to compile only what you are currently working on.

Advanced BioPSE NCRR Compiling (cont) Files worth knowing about: - configVars.mk - Almost everything is defined in here: (Directory paths to thirdparty, top of src tree, top of obj tree, compiler options, etc.) - Makefile - Standard(ish) make file (uses configVars.mk) - Sub.mk files - We use a single make file for the whole tree. Each directory has a sub.mk file in it that will be pulled into the make. The sub.mk file specifies what to build in the given directory and any sub-directories that should be traversed by the make system.

Advanced BioPSE NCRR Documentation Use the docs. They cover all of this in more detail… But more importantly… - Let us know if you find any problems with them.

Advanced BioPSE NCRR Questions? (Hint: If you can display an xterm remotely on my computer, we can usually solve your problem quickly.)

Advanced BioPSE NCRR