Commit e6d0e5c1 authored by Kim, Jungwon's avatar Kim, Jungwon
Browse files

Initial commit for the SC17 paper version

parents
Loading
Loading
Loading
Loading

CMakeLists.txt

0 → 100644
+28 −0
Original line number Diff line number Diff line
cmake_minimum_required(VERSION 2.8)

find_package(MPI REQUIRED)

project(PAPYRUS)

set(PAPYRUS_VERSION_MAJOR 1)
set(PAPYRUS_VERSION_MINOR 0)
set(PAPYRUS_VERSION_PATCH 0)

cmake_host_system_information(RESULT MACHINE QUERY HOSTNAME)

if(${MACHINE} MATCHES "summitdev*")
    message(STATUS "Configuration for SUMMITDEV")
    include(conf/summitdev.cmake)
elseif(${MACHINE} MATCHES "cori*|nid*")
    message(STATUS "Configuration for CORI")
    include(conf/cori.cmake)
else()
    message(STATUS "Configuration for DEFAULT")
    include(conf/default.cmake)
endif()

include(CTest)

add_subdirectory(include)
add_subdirectory(kv)

LICENSE.txt

0 → 100644
+27 −0
Original line number Diff line number Diff line

Copyright (c) 2017, UT-Battelle, LLC
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright
  notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
  notice, this list of conditions and the following disclaimer in the
  documentation and/or other materials provided with the distribution.
* Neither the name of Oak Ridge National Laboratory, nor UT-Battelle, LLC, nor
  the names of its contributors may be used to endorse or promote products
  derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

README.md

0 → 100644
+13 −0
Original line number Diff line number Diff line
**Papyrus is a programming system written at Oak Ridge National Laboratory that provides features for scalable, aggregate, persistent memory in an extreme-scale system for typical HPC usage scenarios.**

Authors: Jungwon Kim (kimj@ornl.gov), Kittisak Sajjapongse (kittisaks@computer.org), Seyong Lee (slee2@ornl.gov), and Jeffrey S. Vetter (vetter@ornl.gov)

# How to build
You can build Papyrus with CMake and Make:
$ cmake <papyrus_source_directory> -DCMAKE_INSTALL_PREFIX=<papyrus_install_directory>
$ make install

# Repository contents
The public interface is in include/papyrus/*.h.

The Key-Value Store in is kv/.

build.sh

0 → 100755
+5 −0
Original line number Diff line number Diff line
rm -rf build install
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=../install ..
make -j install

conf/cori.cmake

0 → 100644
+6 −0
Original line number Diff line number Diff line
set(CMAKE_C_COMPILER "CC")
set(CMAKE_CXX_COMPILER "CC")
set(CMAKE_C_FLAGS "-craympich-mt")
set(CMAKE_CXX_FLAGS "-craympich-mt -std=c++11")
set(MPIEXEC "srun")
set(MPIEXEC_NUMPROC_FLAG "-n")