How to configure, build and install Trilinos November 2, 2004 8:30-9:30 a.m. Jim Willenbring Mike Phenow.

Slides:



Advertisements
Similar presentations
Mercury Quality Center 9.0 Training Material
Advertisements

Digital Certificate Installation & User Guide For Class-2 Certificates.
Installation & User Guide
Configuration management
Software change management
Configuration management
Support Portal Walk-Through. This guide was designed to walk you through the most important aspects of our support portal. Our support portal is a centralized.
Information Services Portal Login/Logout. LOGIN PAGE Please refer to the following pages for scenarios 1, 2 and 3 Please refer to the ‘Guest User’ User.
Purchasing Goods and Services. Overview In this session you will learn how to utilize the eProcurement Module to create requisitions for purchasing goods.
Tele’Ware Software Application. Helping you manage your clients….
BISD Curriculum & Instruction Department Angie T. Morales, RtI Specialist
Online Resources Introducing F.W. Davison’s New Online Customer Resource Center.
GForge: A collaborative development environment Presentation by: Geoff Gerfin.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 8: Implementing and Managing Printers.
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.
SP Attach for Outlook and SharePoint A better way to send files SP Attach works with Outlook 2007 and above and SharePoint 2010, 2013.
NDT Tools Tutorial: How-To setup your own NDT server Rich Carlson Summer 04 Joint Tech July 19, 2004.
Hosted Exchange The purpose of this Startup Guide is to familiarize you with ExchangeDefender's Exchange and SharePoint Hosting. ExchangeDefender.
How to Download and Install a Sharp Print Driver on a Mac.
Software Tools and Processes Training and Discussion October 16, :00-4:30 p.m. Jim Willenbring.
How to Use the Trilinos Infrastructure for Your Own Project James M. Willenbring Michael N. Phenow Trilinos User Group Wednesday, November 2nd, :00.
Trilinos 101: Getting Started with Trilinos November 7, :30-9:30 a.m. Mike Heroux Jim Willenbring.
 To explain the importance of software configuration management (CM)  To describe key CM activities namely CM planning, change management, version management.
1 1 TRACO Excel Upload. 2 TRACO 2nd step - Excel Upload Contents 1.Security 2.Overview / Aim 3.Basic principles 4.Download existing Services/Rates 5.Handling.
Apache Web Server v. 2.2 Reference Manual Chapter 1 Compiling and Installing.
(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.
Renesas Technology America Inc. 1 SKP8CMINI Tutorial 2 Creating A New Project Using HEW.
Information Services Portal Login/Logout. LOGIN PAGE Please refer to the following pages for scenarios 1, 2 and 3 Please refer to the ‘Guest User’ User.
Downloading and Installing Autodesk Revit 2016
Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy’s National Nuclear.
Forms and Server Side Includes. What are Forms? Forms are used to get user input We’ve all used them before. For example, ever had to sign up for courses.
1 / 22 AliRoot and AliEn Build Integration and Testing System.
NEW FOR 2009 Faster, Easier, Friendlier. Before you start Any student, staff, or faculty member can file an accident/incident report. Accident reporting.
Test Harness & Website Mike Phenow Trilinos User Group Meeting November 4 th, :30 am.
Advanced BioPSE NCRR How to Install and Configure J. Davison de St. Germain Chief Software Engineer SCI Institute December 2003 J. Davison.
Mtivity Client Support System Quick start guide. Mtivity Client Support System We are very pleased to announce the launch of a new Client Support System.
LINCPlus Overview Complete binding preparation module includes features such as security, titles database, reports and job costing options. Integrated.
Trilinos Framework Update Roscoe A. Bartlett James M. Willenbring Michael N. Phenow Trilinos User Group Monday, October 31st, : :30 am Building.
Online Submission and Management Information -- Authors AMS Annual Conference / AMS WMC Click on play to begin show.
Getting Started with Trilinos October 14, :30-10:30 a.m. Jim Willenbring.
Contract Invoice Guide
Trilinos Framework: Next Steps Thursday November 9, :45-9:30 a.m. Jim Willenbring Mike Phenow.
Peirsonpatterson,llp eDisclosure Solution ppdocs.com.
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.
© Ciena Confidential and Proprietary Keycode Manager Welcome Kit - MEN Network Management Licenses Elisabeth Roy January 31st, 2011 V1.0.
1 © 2004 Cisco Systems, Inc. All rights reserved. Session Number Presentation_ID Cisco Technical Support Seminar Using the Cisco Technical Support Website.
Introduction to BearQuest 1- 1 Getting the training you need1-2 Logging on and Getting Access1-3 Starting your Request1-6 Basic Screen Navigation1-8 Course.
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.
OpenPegasus Documentation Discussion What should we change, what should we keep? KS OpenPegasus Developers Conference 27 September 2012.
CLHEP Infrastructure Improvements CHEP 2004 Lynn Garren, FNAL and Andreas Pfeiffer, CERN.
HOW TO FIX MSVCR100. DLL IS MISSING ERROR? missing-error.
Developers Users Committers How do I configure this now? Just one more fix and I am done! CVS Download/Use Software Submit problems/ request features Store.
Introduction to Family Connection
Software Testing With Testopia
Bomgar Remote support software
Volume Licensing Download Center
Introduction to the New SSA OnePoint Online Website
Bringing Home the Bacon: Grant Writing Basics Unit 7 Grant Submission
Distributor Want aka. Dis-WAnt
Broadvine Support Portal
Unit4 Customer Portal Knowledge User Access.
Inside a PMI Online Course
Carthage ios 8 onwards Dependency manager that streamlines the process of integrating the libraries into the project.
STANDARD ACCOUNT: SOLUTION QUICK GUIDE
Presentation transcript:

How to configure, build and install Trilinos November 2, :30-9:30 a.m. Jim Willenbring Mike Phenow

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

The Trilinos Home Page Highlights of the web page –Download page –User documentation Installation guide User guide FAQ Individual package documentation

Instructions for obtaining Trilinos are available in the Trilinos User Guide. Two options –Download from Trilinos website. –Check out a copy from the Trilinos CVS repository. Not available for all users. Send a note to if you have questions about obtaining 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. Example uses –Notify user base about new feature or configure option. –Announce new release. –See for the complete list of mail lists. –Use for general help

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, etc.)

Configuring Trilinos Find an in depth discussion in the Trilinos User Guide: Trilinos Installation manual: Trilinos uses Autoconf and Automake. Don’t just try “configure, make, make install”. –Many platforms need more options. –Even if the build is successful, the default set of packages and options probably will not suit your needs. But…

Don’t Blame the Person who Picked the Defaults Don’t want to build everything. –Takes a long time to configure and build. –Too often people run into problems while building a package that is not needed. Trilinos has many uses.

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

Configuring Trilinos (cont.) Platform and machine specific options –Common options online at: –Example configure invocation scripts. Are meant to be examples only – customizations will almost always be necessary. Can be found in the Trilinos directory structure in the Trilinos/sampleScripts/ directory. For example sgi64_mpi_atlantis. Users are encouraged to submit their scripts.

Configuring Trilinos (cont.) Example invoke configure file for SGI64:../configure --enable-mpi --disable-default-packages \ --enable-ifpack --enable-aztecoo \ --with-mpi-libs=-lmpi \ --prefix=/where/I/want/to/install/Trilinos \ CFLAGS="-O2 -64" FFLAGS="-O2 -64" \ CXXFLAGS="-O LANG:std -LANG:ansi-for-init-scope=ON \ -ptused -DMPI_NO_CPPBIND" \ LDFLAGS=" -64 -L/usr/lib64/mips4/r L/usr/lib64/mips4 \ -L/usr/lib64 "

Configuring Trilinos (cont.) Platform and machine specific options:../configure --enable-mpi --disable-default-packages \ --enable-ifpack --enable-aztecoo \ --with-mpi-libs=-lmpi \ --prefix=/where/I/want/to/install/Trilinos \ CFLAGS="-O2 -64" FFLAGS="-O2 -64" \ CXXFLAGS="-O LANG:std -LANG:ansi-for-init-scope=ON \ -ptused -DMPI_NO_CPPBIND" \ LDFLAGS=" -64 -L/usr/lib64/mips4/r L/usr/lib64/mips4 \ -L/usr/lib64 "

Configuring Trilinos (cont.) Troubleshooting –Look for errors in the invoke configure file. –Autoconf is not able to detect spelling errors. ) –Line continuation problems (ex --enable-mpi \ ) –Look at the correct config.log file. (Created by Autoconf.) 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. Follow these steps to find what you need: –Search for the string “Cache”. That should bring you a point in the file that looks like this: ## ## ## Cache variables. ## ## ## The error that caused the configure failure can be found above this point.

Working Through a config.log File Takes a little bit of practice. Isn’t very hard. Let’s try it. –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) We will now look at how this error can occur.

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

Testing We are in the process of improving the tests that are available to users. For the time being, testing can be carried out in two different ways: –Run the tests manually cd Trilinos/SERIAL/packages/epetra/test/CrsMatrix./CrsMatrix_test.exe –v echo $status –Run the tests through the Trilinos Test Harness. For the next release, we are looking at supporting a “make check” make target.

Improving Efficiency There are a number of ways to speed up the configure and build process (all of which are discussed in the Trilinos User Guide). –Build only the packages that are needed. –After Trilinos has been ported to a machine try disabling tests and/or examples. (You can always build them later.) –If tests and examples are disabled use --disable- libcheck. –On multiprocessor machines, use “make –j n” where n is the number of jobs to create. (This option is not universally supported.)

Linking to Trilinos Libraries # Include Trilinos header that defines pertinent compilation information #include /path_to_trilinos_install1/include/trilinos_make_macros.mak include /path_to_trilinos_install2/include/trilinos_make_macros.mak OLIBS = $(LAPACK_LIBS) $(BLAS_LIBS) # # Compilation rules ….cpp.o: $(CXX) $(CPPFLAGS) -c $(DEFS) -I$(prefix)/include $< all : RBGen.x RBGen.x : RBGen.o RBGenParams.o BurkardtFileIOHandler.o netCDFFileIOHandler.o $(CXX) $(CXXFLAGS) -o $^ -L$(prefix)/lib -lnetcdf -lepetra -lteuchos $(OLIBS) $(FLIBS) …

Where to Find Help Help link from Trilinos home page. Online FAQ section. Trilinos User Guide. Submitting a bug report. –Please provide as much detail as possible. –Attach the appropriate config.log. Send an . for general alternative to

Where to Find Help (cont.) Trilinos Home Page:

Discussion Questions, comments?