Trilinos 101: Getting Started with Trilinos November 7, 2006 8:30-9:30 a.m. Mike Heroux Jim Willenbring.

Slides:



Advertisements
Similar presentations
Mercury Quality Center 9.0 Training Material
Advertisements

Configuration management
Configuration management
ANT: Another Nice Tool Ali Beyad October 1, 2003.
Chapter 5: Common Support Problems
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 8: Implementing and Managing Printers.
1 Proctor Caching and TestNav Configuration. Role-Based Key 2 Role-Based Codes LEA Test Coordinator – School Test Coordinator – Test Administrator/Proctor.
Asynchronous Solution Appendix Eleven. Training Manual Asynchronous Solution August 26, 2005 Inventory # A11-2 Chapter Overview In this chapter,
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 8: Implementing and Managing Printers.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 8: Implementing and Managing Printers.
1 © 2006 Cisco Systems, Inc. All rights reserved. Session Number Presentation_ID Cisco Technical Support Presentation Using the Cisco Technical Support.
1 Chapter Overview Introduction to Windows XP Professional Printing Setting Up Network Printers Connecting to Network Printers Configuring Network Printers.
Reproducible Environment for Scientific Applications (Lab session) Tak-Lon (Stephen) Wu.
Julie McEnery1 Installing the ScienceTools The release manager automatically compiles each release of the Science Tools, it creates a set of wrapper scripts.
Linux Operations and Administration
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.
CprE 288 – Quick intro for compiling C in Linux
IBM Software Group AIM Enterprise Platform Software IBM z/Transaction Processing Facility Enterprise Edition © IBM Corporation 2005 TPF Users Group.
SCRAM Software Configuration, Release And Management Background SCRAM has been developed to enable large, geographically dispersed and autonomous groups.
Apache Server The Apache Server Apache is a WWW server that implements the HTTP protocol. Apache runs as a daemon. This means that it is a resident.
Donald Stark National Center for Atmospheric Research (NCAR) The Developmental Testbed Center (DTC) Wednesday 29 June, 2011 GSI Fundamentals (1): Setup.
SUSE Linux Enterprise Server Administration (Course 3037) Chapter 4 Manage Software for SUSE Linux Enterprise Server.
SKA/KAT SPIN Presentation Software Engineering (!?) Robert Crida.
May 10, 2012 Lloyd Moore, President/Owner. Quick Start Video Building Mobility 1.2 SDK Emulator Quirks Installing On A Device Summary Overview.
Software Tools and Processes Training and Discussion October 16, :00-4:30 p.m. Jim Willenbring.
By Anthony W. Hill & Course Technology1 Common End User Problems.
Geo CE-XM ch 4 Edited 10/14/05 1 The XM is the newest of the rovers, and unlike other units, it comes with software installed on the unit as well as using.
 To explain the importance of software configuration management (CM)  To describe key CM activities namely CM planning, change management, version management.
Apache Web Server v. 2.2 Reference Manual Chapter 1 Compiling and Installing.
The gLite API – PART I Giuseppe LA ROCCA INFN Catania ACGRID-II School 2-14 November 2009 Kuala Lumpur - Malaysia.
Trilinos 101: Getting Started with Trilinos November 6, :30-9:30 a.m. Jim Willenbring Mike Heroux (Presenter)
Microsoft FrontPage 2003 Illustrated Complete Finalizing a Web Site.
Design and Programming Chapter 7 Applied Software Project Management, Stellman & Greene See also:
Isecur1ty training center Presented by : Eng. Mohammad Khreesha.
© Blackboard, Inc. All rights reserved. Deploying a complex building block Andre Koehorst Learning Lab Universiteit Maastricht, the Netherlands July 18.
Renesas Technology America Inc. 1 SKP8CMINI Tutorial 2 Creating A New Project Using HEW.
Module 7 Configure User and Computer Environments By Using Group Policy.
How to configure, build and install Trilinos November 2, :30-9:30 a.m. Jim Willenbring Mike Phenow.
Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy’s National Nuclear.
_______________________________________________________________________________________________________________ PHP Bible, 2 nd Edition1  Wiley and the.
GumTree Development Environment Setup Windows Only Compatible with Eclipse 3.2 M3 (Last update: 16/11/05)
Test Harness & Website Mike Phenow Trilinos User Group Meeting November 4 th, :30 am.
 Load balancing is the process of distributing a workload evenly throughout a group or cluster of computers to maximize throughput.  This means that.
Overview of the Automated Build & Deployment Process Johnita Beasley Tuesday, April 29, 2008.
Dissecting the Windows CE Build Process James Y. Wilson Principal Engineer, Windows Embedded MVP CalAmp, Inc. James Y. Wilson Principal Engineer, Windows.
Trilinos Framework Update Roscoe A. Bartlett James M. Willenbring Michael N. Phenow Trilinos User Group Monday, October 31st, : :30 am Building.
WinCvs. WinCVS WinCvs is a window based version control system. Use WinCvs when  You want to save every version of your file you have ever created. CVS.
Configuring and Troubleshooting Identity and Access Solutions with Windows Server® 2008 Active Directory®
Renesas Technology America Inc. 1 SKP8CMINI Tutorial 2 Creating A New Project Using HEW.
Getting Started with Trilinos October 14, :30-10:30 a.m. Jim Willenbring.
Yannick Patois - Datagrid Software Repository Presentation - March, n° 1 Datagrid Software Repository Presentation CVS, packages and automatic.
Trilinos Framework: Next Steps Thursday November 9, :45-9:30 a.m. Jim Willenbring Mike Phenow.
Build Tools 1. Building a program for a large project is usually managed by a build tool that controls the various steps involved. These steps may include:
How to configure, build and install Trilinos November 2, :30-9:30 a.m. Jim Willenbring.
JRA1 Meeting – 09/02/ Software Configuration Management and Integration EGEE is proposed as a project funded by the European Union under contract.
Copyright © 2012 Pearson Education, Inc. or its affiliate(s). All rights reserved
1 © 2004 Cisco Systems, Inc. All rights reserved. Session Number Presentation_ID Cisco Technical Support Seminar Using the Cisco Technical Support Website.
CACI Proprietary Information | Date 1 PD² SR13 Client Upgrade Name: Semarria Rosemond Title: Systems Analyst, Lead Date: December 8, 2011.
CACI Proprietary Information | Date 1 PD² v4.2 Increment 2 SR13 and FPDS Engine v3.5 Database Upgrade Name: Semarria Rosemond Title: Systems Analyst, Lead.
Apache Web Server v. 2.2 Reference Manual Chapter 2 Starting Apache.
HOW TO FIX MSVCR100. DLL IS MISSING ERROR? missing-error.
Chapter 2: System Structures
Software Testing With Testopia
Bomgar Remote support software
Operation System Program 4
Introduction to the New SSA OnePoint Online Website
Training Module Introduction to the TB9100/P25 CG/P25 TAG Customer Service Software (CSS) Describes Release 3.95 for Trunked TB9100 and P25 TAG Release.
Presentation transcript:

Trilinos 101: Getting Started with Trilinos November 7, :30-9:30 a.m. Mike Heroux Jim Willenbring

Overview Trilinos Web Page Obtaining Trilinos Tools for Users –Mailman –Bugzilla Configuring –General configure options –Platform and machine specific configure options –Troubleshooting Building and Installing Testing Improving Efficiency (of the build process) Linking to Trilinos Libraries

The Trilinos Home Page Highlights of the web page –Download page –User documentation Getting started page Installation guide User guide FAQ Individual package documentation ‘runtests’ make target documentation External package capability

Instructions for obtaining Trilinos are available in –the Trilinos User Guide –the Installation Guide Download from the website Obtain a copy from the CVS repository Not available for all users Obtaining Trilinos

Tools for Users Mailman –Users are encouraged to sign up for Users lists for Trilinos and individual packages of interest Announce lists for Trilinos and individual packages of interest –See for the complete list of mail listshttp://software.sandia.gov/mailman/listinfo For general questions

Tools for Users (cont.) Bugzilla –Issue tracking tool –An account is required to file a “bug” –Can be used to report bugs or request new features –Please provide as much detail as possible (For example: Platform, OS, compiler versions, configure options, version of Trilinos, etc.)

Configuring Trilinos Find an in depth discussion in the Trilinos User Guide Trilinos Installation manual

Configuring Trilinos (cont.) Trilinos uses Autoconf and Automake Don’t just try “configure, make, make install” –Most platforms need more options –Even if the build is successful, the default set of packages and options probably will not suit your needs If you don’t want to build everything, then don’t –Takes a long time to configure and build –Run into problems while building a package that is not needed

Configuring Trilinos (cont.) To see all Trilinos options type –./configure --help=recursive General Configure options –Determine which Trilinos packages should be built (--enable- ) –Consider using --disable-default-packages –Serial or MPI?

Configuring Trilinos (cont.) Platform and machine specific options –Common options online –Example configure invocation scripts Examples only – customizations will be necessary Can be found in the Trilinos directory structure in the Trilinos/sampleScripts/ directory For example redstorm_mpi_reddish1 Users are encouraged to submit their scripts

Configuring Trilinos (cont.) Example invoke configure file for reddish: module load PrgEnv-pgi module load mpich../configure --enable-mpi \ CXX=mpicxx CC=mpicc F77=mpif77 \ CPPFLAGS="-tp k8-64 -lacml -lpgmp -lpgthread" \ --with-blas="-L/usr/pgi-6.0/linux86-64/6.0/lib -lacml -lpgmp - lpgthread" \ --with-lapack="-L/usr/pgi-6.0/linux86-64/6.0/lib -lacml" \ --enable-ml \ --disable-default-packages #The lines before../configure load the proper environment

Configuring Trilinos (cont.) Platform and machine specific options module load PrgEnv-pgi module load mpich../configure --enable-mpi \ CXX=mpicxx CC=mpicc F77=mpif77 \ CPPFLAGS="-tp k8-64 -lacml -lpgmp -lpgthread" \ --with-blas="-L/usr/pgi-6.0/linux86-64/6.0/lib -lacml -lpgmp - lpgthread" \ --with-lapack="-L/usr/pgi-6.0/linux86-64/6.0/lib -lacml" \ --enable-ml \ --disable-default-packages

Configuring Trilinos (cont.) Troubleshooting –Most errors are due to system configurations –Look for errors in the invoke-configure –Autoconf is not able to detect spelling errors. ) –Line continuation problems (ex --enable-mpi \ ) –Look at the correct config.log file (created at configure time) Default error output is very, very poor – often misleading The config.log at the Trilinos level is not the correct config.log file. Go to the package level config.log file. For example: configure: error: /bin/sh '../../../packages/epetra/configure' failed for packages/epetra indicates that one should look at packages/epetra/config.log

Troubleshooting using config.log The config.log file is very long –To find what you need, search for the string “Cache” ## ## ## Cache variables. ## ## ## –The error that caused the configure failure can be found above this point, but typically not directly above

Working Through a config.log File Here is a common configure error –error: Cannot find lapack library, specify a path using --with-ldflags=-I (ex. --with-dlflags=- I/usr/path/lib) or a specific library using --with- lapack=DIR/LIB (ex. --with- lapack=/usr/path/lib/libcxml.a) Look for last successful configure check –In this case it would be a BLAS check –Directly beneath that check will be the failed check –Could be Missing library (undefined symbol) Incorrect path ??

Building and Installing Trilinos To build Trilinos type make To install Trilinos type make install

Testing Tests can be run individually after compilation ‘runtests’ make targets –To run the test suite (the tool will only attempt to run tests that were built), after "make“, type make runtests-serial –Can run tests for individual packages

Testing ‘runtests’ make targets –For MPI use make runtests-mpi Must specify TRILINOS_MPI_GO in the environment or as an argument to make make runtests-mpi TRILINOS_MPI_GO="'mpiexec -np 2'" –Trilinos/commonTools/test/utilities/runtests –help Installation Tests –Make a good “linking” test – /examples –Not all of these work yet

Improving Efficiency All of these techniques are discussed in the Trilinos User Guide –Build only the packages that are needed –After Trilinos has been ported to a machine --disable-tests --disable-examples ---disable-libcheck –Cannot use --disable-libcheck with makefile.export –make –j n n is the number of jobs to create Not supported by all versions of “make” –--cache-file=config.cache Be sure to blow away if errors occur Can put removal command in invoke-configure

Linking to Trilinos Libraries Makefile.export system makes linking easy –Files created in the include directory during install –Makefile.export. files Useful macros _INCLUDES _LIBS –Makefile.export..macros files More macros including _CXXFLAGS _CXX –Use the macros in application makefiles

Linking to Trilinos Libraries Example: TRILINOS_PREFIX=/common/Trilinos/7.0.2 include $(TRILINOS_PREFIX)/include/Makefile.export.epetra.macrosMakefile.export.epetra.macros include $(TRILINOS_PREFIX)/include/Makefile.export.epetraMakefile.export.epetra INCDIR=$(EPETRA_INCLUDES) LIBDIR=$(EPETRA_LIBS) CXXFLAGS=$(INCDIR) $(EPETRA_CXXFLAGS) $(EPETRA_DEFS) CXX= $(EPETRA_CXX) Typically must include several Makefile.export files

Common Pitfalls --with-gnumake Compiler/library version mismatches –__gxx__personality –gfortran or g77 –Upgrading system and not recompiling 3PL’s Linking to BLAS/LAPACK Typo’s in configure arguments

Where to Find Help Getting started link Help link from Trilinos home page Online FAQ section Trilinos User Guide

Where to Find Help (cont.) Submitting a bug report –Please provide as much detail as possible –Attach the appropriate config.log For general questions Trilinos Home Page

Discussion Questions, comments?