Cover Page, Margins: Left 1 In

Cover Page, Margins: Left 1 In

ORNL/TM-0000/00

Jaguar/JaguarPF Optimized Library Interface (JOLI)

August 13, 2009

Prepared by

Yashema Mack, Dr. Rebecca Hartman-Baker

Graduate Student Intern, Computational Scientist

DOCUMENT AVAILABILITY
Reports produced after January 1, 1996, are generally available free via the U.S. Department of Energy (DOE) InformationBridge.
Web site
Reports produced before January 1, 1996, may be purchased by members of the public from the following source.
National Technical Information Service
5285 Port Royal Road
Springfield, VA22161
Telephone 703-605-6000 (1-800-553-6847)
TDD 703-487-4639
Fax 703-605-6900
E-mail
Web site
Reports are available to DOE employees, DOE contractors, Energy Technology Data Exchange (ETDE) representatives, and International Nuclear Information System (INIS) representatives from the following source.
Office of Scientific and Technical Information
P.O. Box 62
Oak Ridge, TN37831
Telephone 865-576-8401
Fax 865-576-5728
E-mail
Web site
This report was prepared as an account of work sponsored by an agency of the United States Government. Neither the United States Government nor any agency thereof, nor any of their employees, makes any warranty, express or implied, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness of any information, apparatus, product, or process disclosed, or represents that its use would not infringe privately owned rights. Reference herein to any specific commercial product, process, or service by trade name, trademark, manufacturer, or otherwise, does not necessarily constitute or imply its endorsement, recommendation, or favoring by the United States Government or any agency thereof. The views and opinions of authors expressed herein do not necessarily state or reflect those of the United States Government or any agency thereof.

ORNL/TM-0000/00

Jaguar/JaguarPF Optimized Library Interface (JOLI)

Summer Research Report

Authors

Yashema Mack, Graduate Student Intern

Dr. Rebecca Hartman-Baker, Computational Scientist

August 2009

National Center for Computational Sciences

Oak Ridge National Laboratory

One Bethel Valley Road

P.O. Box 2008, MS-6008

Oak Ridge, TN 37831-6008

Y. Mack was sponsored by Research Alliance in Math and Science

Dr. R. Hartman-Baker is sponsored by National Center for Computational Sciences

Contract No.

Abstract

The project entailed creating a web interface to efficiently access databases that document the libraries National Center for Computational Sciences (NCCS) users link against. NCCS records what libraries the users link against, in order to make decisions related to software library management on the supercomputers. There is no simple interface to the library usage data, however, making it difficult to obtain useful information from the databases. This project will enable the output of statistical analysis reports on library usage, so that NCCS can easily obtain the data necessary for making decisions. Examples of information sought from the database include the popularity of libraries and the usage rate of specific libraries (e.g. petsc, petsc-complex); the number of users still engaging in the use of deprecated packages, and their identities; which versions of software users are accessing and utilizing; and comparisons of the usage rate of NCCS-installed software versus the same packages provided by the vendor (e.g., BLAS).

Introduction

Jaguar/JaguarPF Optimized Library Interface (JOLI) is a web interface that enables the automated use of library access in such a way to where the output generated can ensure the information contained within the database is accurate, efficient, and useable based on the information within the database. It is important to understand what data is enclosed within the database in order to come to ornamental conclusions such as what libraries the National Center for Computational Sciences(NCCS) users link against, how people use the machines, what libraries are accessed more frequently than others, what libraries are never used, and what libraries are being accessed for application sciences. In order to better manage the software infrastructure on the machines and make rational decisions regarding the maintenance of software library management, JOLI, a user friendly and easily modifiable interface, will vividly compile active results in a format that can be straightforwardly accessed for the purpose of creating statistical analysis reports.

Methodology

In order to produce the output that could actually be used to generate data for statistical analysis, there were a couple of questions that needed to be answered. Who are the users accessing the databases; what are the most frequently used, least frequently used, and “unsupported” librariesthe users are accessing; who is using a particular package (e.g. PETsc), and the versions of those packages; how many users are still using deprecated packages; who is using deprecated builds of libraries; and who is using software other than the more efficient Cray–provided software. It is important for management to make the right decision when it comes to their users. By providing management with information regarding the most frequently used libraries they can analyze what libraries are most popular, and the least frequently used libraries will provide the data that will allow them to make a proper analysis on what libraries they should do away with. Therefore turning their focus on recommending their users switch their access to a more popular or more frequently used library in the process.

Once I understood what was required of me and the meaning of the project, I decided to do some research to find out what language would be most feasible to write the code in and what text editor would be used to create and display the output. After finding out what text editor was commonly used around the laboratory, I came to the conclusion that VI would be the option for the text editor and PHP would be the code the interface would be written in. I made the decision to use PHP out of my pure lack of knowledge for it, therefore allowing me the opportunity to learn a new language which would be exciting, challenging and great learning experience.

There were some steps I needed to take in order to start to take on such a momentous responsibility. First and foremost, I had to locate where the libraries were within the database. Once I obtained knowledge the libraries were located within the linklinesin the jaguar_link_t and jaguarpf_link_t tables, I was able to view the output of the linklines and the directories they were linked to. Although the projected output was slightly distorted, I created a script in PHP that allowed the output to be displayed in a format that met the requirements of the project criteria. When the database started producing the output I was hoping for, my next step was to figure out how the rest of the tables that incorporated the information I needed to retrieve were linked together in order to produce the information required to enable a thorough user analysis. I, then, queried the database, discovered the connection between the tables, and