Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sync hpc/main
Browse files Browse the repository at this point in the history
sync hpc/main
daltonbohning authored Dec 1, 2023
2 parents 03d25d9 + 0d949ad commit 8146f40
Showing 71 changed files with 2,603 additions and 2,757 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -71,3 +71,6 @@ doc/build
# spack files
.spack*
spack.lock

# Code editors
.vscode
32 changes: 26 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -13,11 +13,20 @@ LIST(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake")
# Configuration Options

OPTION(ENABLE_XATTRS "Enable code for extended attributes" ON)
MESSAGE(STATUS "ENABLE_XATTRS: ${ENABLE_XATTRS}")
IF(ENABLE_XATTRS)
ADD_DEFINITIONS(-DDCOPY_USE_XATTRS)

FIND_PACKAGE(LibAttr REQUIRED)
IF(LibAttr_FOUND)
ADD_DEFINITIONS(-DHAVE_LIBATTR)
INCLUDE_DIRECTORIES(${LibAttr_INCLUDE_DIRS})
LIST(APPEND MFU_EXTERNAL_LIBS ${LibAttr_LIBRARIES})
ENDIF(LibAttr_FOUND)
ENDIF(ENABLE_XATTRS)

OPTION(ENABLE_LUSTRE "Enable optimization and features for Lustre" OFF)
MESSAGE(STATUS "ENABLE_LUSTRE: ${ENABLE_LUSTRE}")
IF(ENABLE_LUSTRE)
ADD_DEFINITIONS(-DLUSTRE_SUPPORT)

@@ -48,7 +57,14 @@ IF(ENABLE_LUSTRE)
# - LUSTRE_STAT
ENDIF(ENABLE_LUSTRE)

OPTION(ENABLE_HPSS "Enable optimization and features for HPSSFS-FUSE" OFF)
MESSAGE(STATUS "ENABLE_HPSS: ${ENABLE_HPSS}")
IF(ENABLE_HPSS)
ADD_DEFINITIONS(-DHPSS_SUPPORT)
ENDIF(ENABLE_HPSS)

OPTION(ENABLE_GPFS "Enable GFPS/Spectrum Scale support")
MESSAGE(STATUS "ENABLE_GPFS: ${ENABLE_GPFS}")
IF(ENABLE_GPFS)
FIND_PACKAGE(GPFS REQUIRED)
INCLUDE_DIRECTORIES(${GPFS_INCLUDE_DIRS})
@@ -57,6 +73,7 @@ IF(ENABLE_GPFS)
ENDIF(ENABLE_GPFS)

OPTION(ENABLE_EXPERIMENTAL "Build experimental tools" OFF)
MESSAGE(STATUS "ENABLE_EXPERIMENTAL: ${ENABLE_EXPERIMENTAL}")

## HEADERS
INCLUDE(CheckIncludeFile)
@@ -81,6 +98,7 @@ LIST(APPEND MFU_EXTERNAL_LIBS ${DTCMP_LIBRARIES})

## LIBARCHIVE
OPTION(ENABLE_LIBARCHIVE "Enable usage of libarchive and corresponding tools" ON)
MESSAGE(STATUS "ENABLE_LIBARCHIVE: ${ENABLE_LIBARCHIVE}")
# TODO how would we pass a version from spack?
# libarchive 3.1.2 is available on some systems,
# but pick a newer libarchive to avoid bug with files starting with "._",
@@ -94,6 +112,7 @@ ENDIF(ENABLE_LIBARCHIVE)

## hdf5
OPTION(ENABLE_HDF5 "Enable HDF5 library")
MESSAGE(STATUS "ENABLE_HDF5: ${ENABLE_HDF5}")
IF(ENABLE_HDF5)
FIND_PACKAGE(HDF5 REQUIRED)
INCLUDE_DIRECTORIES(${HDF5_INCLUDE_DIRS})
@@ -103,16 +122,14 @@ IF(ENABLE_HDF5)
ENDIF(ENABLE_HDF5)

OPTION(ENABLE_DAOS "Enable DAOS support")
MESSAGE(STATUS "ENABLE_DAOS: ${ENABLE_DAOS}")
IF(ENABLE_DAOS)
SET(CMAKE_EXE_LINKER_FLAGS -luuid)
FIND_PACKAGE(CART REQUIRED)
INCLUDE_DIRECTORIES(${CART_INCLUDE_DIRS})
message(${CART_INCLUDE_DIRS})
LIST(APPEND MFU_EXTERNAL_LIBS ${CART_LIBRARIES})
LIST(APPEND MFU_EXTERNAL_LIBS ${GURT_LIBRARIES})
FIND_PACKAGE(DAOS REQUIRED)
INCLUDE_DIRECTORIES(${DAOS_INCLUDE_DIRS})
LIST(APPEND MFU_EXTERNAL_LIBS ${DAOS_LIBRARIES})
LIST(APPEND MFU_EXTERNAL_LIBS ${GURT_LIBRARIES})
LIST(APPEND MFU_EXTERNAL_LIBS ${CART_LIBRARIES})
LIST(APPEND MFU_EXTERNAL_LIBS ${DUNS_LIBRARIES})
LIST(APPEND MFU_EXTERNAL_LIBS ${DFS_LIBRARIES})
LIST(APPEND MFU_EXTERNAL_LIBS ${DAOS_COMMON_LIBRARIES})
@@ -179,7 +196,10 @@ ENDIF("${isSystemDir}" STREQUAL "-1")

# Subdirectories
INCLUDE(MFU_ADD_TOOL)
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/src/common)

# use BEFORE to place build directory first when searching for header files
# otherwise the build can use old header files from the install path instead
INCLUDE_DIRECTORIES(BEFORE ${CMAKE_CURRENT_SOURCE_DIR}/src/common)

ADD_SUBDIRECTORY(src)
ADD_SUBDIRECTORY(test)
5 changes: 0 additions & 5 deletions .github/CONTRIBUTING.md → CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -3,17 +3,12 @@
*Thank you for taking the time to contribute!*

## Table of Contents
[Resources](#resources)

[How To Contribute](#how-to-contribute)
* [Reporting an Issue & Feature Suggestions](#reporting-an-issue--feature-suggestions)
* [Pull Requests](#pull-requests)
* [License](#license)
* [Contributor's Declaration](#contributors-declaration)

## Resources
[mpiFileUtils Google Group](https://groups.google.com/forum/#!forum/mpifileutils)

## How To Contribute

### Reporting an Issue & Feature Suggestions
Loading

0 comments on commit 8146f40

Please sign in to comment.