Giter Club home page Giter Club logo

vol-provenance's Introduction

README

Build .so file
==================
Change HDF5_DIR to your hdf5 install path, type make to generate the dynamic shared library file libh5prov.so.


Link to application
=================
Set these environment variables:
HDF5_VOL_CONNECTOR="provenance under_vol=0;under_info={};path=$YOUR_TRACE_FILE_PATH;level=2;format="
# Trace file path including the path and the file name.
# Level 1 for prints only, level 2 for file only, level 3 for file and prints.
# Leave format blank for now

HDF5_PLUGIN_PATH=$PATH_TO_SO_FILE_DIR.
#the path that holds libh5prov.so.

Then make your hdf5 application as usual, no need to change it's code or Makefile.


Trace format
==================
Trace file is plain text. By default, it has two column, function name index and function duration in usec. You need to check the dictionary file (func_dic_733.txt) for the names.

If you want other info in the trace, change the prov_write() function sprintf line. 
For example:
	    sprintf(pline, "[%s][User:%s][PID:%d][TID:%llu][Func:%s][%luus]\n", time, helper_in->user_name, helper_in->pid, helper_in->tid, msg, duration);
		//msg is captured function name


Running testcase application (VPIC)
==================
Makefile contains the testcase section that complies VPIC and links h5prov to it. Default "make" builds the library and testcase. To run a simplified test case:
./vpicio_uni_h5 ./my_data.dat 2 2 1 ./my_trace.log

vol-provenance's People

Contributors

mierl avatar qkoziol avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.