Skip to content

Latest commit

 

History

History
82 lines (57 loc) · 2.43 KB

getting_started.md

File metadata and controls

82 lines (57 loc) · 2.43 KB

Getting Started

#/*****************************************************

** PIDX Parallel I/O Library **

** Copyright (c) 2010-2014 University of Utah **

** Scientific Computing and Imaging Institute **

** 72 S Central Campus Drive, Room 3750 **

** Salt Lake City, UT 84112 **

** **

** PIDX is licensed under the Creative Commons **

** Attribution-NonCommercial-NoDerivatives 4.0 **

** International License. See LICENSE.md. **

** **

** For information about this project see: **

** or contact: pascucci@sci.utah.edu **

** For support: PIDX-support@visus.net **

** **

*****************************************************/


Prerequisites

Download and install cmake from::

http://www.cmake.org/cmake/resources/software.html

Get source code from::

https://github.com/sci-visus/PIDX

Compilation

From shell::

cd <path/to/pidx>
mkdir -p build 
cd build
cmake ../ -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/install/path/PIDX
make && make install

Optional Build Settings

Explicitly control whether to build static or shared library::

-DBUILD_SHARED_LIBS=[ON|OFF]

Enable PNetCDF::

-DPIDX_OPTION_PNETCDF=[ON|OFF]

Enable Profiling::

-DPIDX_BUILD_PROFILE=[ON|OFF]


Your Project

CMake: FindPIDX.cmake is provided in root installation directory after running make install. It configures PIDX_INCLUDE_DIR and PIDX_LIBRARIES for use by your application.

Makefile: Compile with -I/install/path/PIDX (add to CFLAGS).

Link with -L/install/path/PIDX/lib -lpidx (add to LDFLAGS).


Documentation

A few simple function calls are all that's necessary to instrument your application to utilize PIDX I/O:

Please see the examples in PIDX/test for a demonstration.