Skip to content

Commit 821b19f

Browse files
authored
Merge pull request #372 from CamStan/master
Merge dev branch into master for release 0.9.0 TEST_CHECKPATCH_ALLOW_FAILURE=yes
2 parents 5553275 + b0e529d commit 821b19f

File tree

248 files changed

+21974
-11373
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

248 files changed

+21974
-11373
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Thank you for reporting an issue.
33
44
*IMPORTANT* - Please search our issue tracker *before* making a new issue.
55
If you cannot find a similar issue, then create a new issue.
6-
https://github.com/LLNL/UnifyCR/issues
6+
https://github.com/LLNL/UnifyFS/issues
77
88
Please fill in as much of the template as possible.
99
-->
@@ -15,7 +15,7 @@ Type | Version/Name
1515
Operating System |
1616
OS Version |
1717
Architecture |
18-
UnifyCR Version |
18+
UnifyFS Version |
1919

2020
### Describe the problem you're observing
2121

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
### Checklist:
2626
<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
2727
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
28-
- [ ] My code follows the UnifyCR code style requirements.
28+
- [ ] My code follows the UnifyFS code style requirements.
2929
- [ ] I have updated the documentation accordingly.
3030
- [ ] I have read the **CONTRIBUTING** document.
3131
- [ ] I have added tests to cover my changes.

.gitignore

Lines changed: 12 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@ log
4747
*_unittest
4848

4949
# project files
50-
server/src/unifycrd
51-
util/unifycr/src/unifycr
50+
server/src/unifyfsd
51+
util/unifyfs/src/unifyfs
5252

5353
# generated package files
54-
client/unifycr-config
55-
client/unifycr.pc
56-
extras/unifycr.conf
54+
client/unifyfs-config
55+
client/unifyfs.pc
56+
extras/unifyfs.conf
5757
libtool
5858
m4/libtool.m4
5959
m4/ltoptions.m4
@@ -64,24 +64,13 @@ meta/src/Mlog2/.dirstamp
6464
t/sys/.dirstamp
6565

6666
# test files
67-
client/unifycr-runtime-config.h
68-
examples/src/app-btio-gotcha
69-
examples/src/app-btio-static
70-
examples/src/app-mpiio-gotcha
71-
examples/src/app-mpiio-static
72-
examples/src/sysio-read-gotcha
73-
examples/src/sysio-read-static
74-
examples/src/app-tileio-gotcha
75-
examples/src/app-tileio-static
76-
examples/src/sysio-write-gotcha
77-
examples/src/sysio-write-static
78-
examples/src/sysio-writeread-gotcha
79-
examples/src/sysio-writeread-static
80-
examples/src/sysio-writeread2-gotcha
81-
examples/src/sysio-writeread2-static
82-
examples/src/app-hdf5-create-gotcha
83-
examples/src/app-hdf5-writeread-gotcha
67+
client/unifyfs-runtime-config.h
68+
examples/src/*-gotcha
69+
examples/src/*-posix
70+
examples/src/*-static
8471
t/sys/open.t
8572
t/test-results/
86-
t/unifycr_unmount.t
73+
t/unifyfs_unmount.t
8774
t/test_run_env.sh
75+
deps
76+
install

.gitlab-ci.yml

Lines changed: 132 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,132 @@
1+
stages:
2+
- build
3+
- test-unit
4+
- test-integ
5+
6+
cache:
7+
paths:
8+
- spack_ci/
9+
10+
##### Templates #####
11+
12+
.quartz-template: &quartz_template
13+
tags:
14+
- quartz
15+
- shell
16+
variables:
17+
LLNL_SERVICE_USER: "unifysrv"
18+
retry:
19+
max: 1
20+
when:
21+
- unknown_failure
22+
- stuck_or_timeout_failure
23+
24+
.butte-template: &butte_template
25+
tags:
26+
- butte
27+
- shell
28+
variables:
29+
LLNL_SERVICE_USER: "unifysrv"
30+
retry:
31+
max: 1
32+
when:
33+
- unknown_failure
34+
- stuck_or_timeout_failure
35+
36+
.build-template: &build_template
37+
stage: build
38+
script:
39+
- ./autogen.sh
40+
- mkdir -p unifyfs-build unifyfs-install && cd unifyfs-build
41+
- ../configure --prefix=$CI_PROJECT_DIR/unifyfs-install --enable-fortran --disable-silent-rules
42+
- make V=1
43+
- make V=1 install
44+
artifacts:
45+
name: "${CI_JOB_NAME}-${CI_PIPELINE_ID}"
46+
untracked: true
47+
expire_in: 1 hour
48+
paths:
49+
- unifyfs-build/
50+
- unifyfs-install/
51+
52+
.unit-test-template: &unit_test_template
53+
stage: test-unit
54+
script:
55+
- cd unifyfs-build/t && make check
56+
after_script:
57+
- rm -rf /tmp/unify* /tmp/tmp.* /tmp/mdhim* /tmp/na_sm
58+
59+
.quartz-batch-variables:
60+
variables: &quartz_batch_variables
61+
LLNL_SLURM_SCHEDULER_PARAMETERS: "-N $NNODES -p pbatch -t $WALL_TIME"
62+
LLNL_SERVICE_USER: "unifysrv"
63+
CI_PROJDIR: "$CI_PROJECT_DIR"
64+
UNIFYFS_INSTALL: "$CI_PROJECT_DIR/unifyfs-install"
65+
CI_NPROCS: "$NPROCS"
66+
67+
.butte-batch-variables:
68+
variables: &butte_batch_variables
69+
LLNL_LSF_SCHEDULER_PARAMETERS: "-nnodes $NNODES -q pbatch -W $WALL_TIME"
70+
LLNL_SERVICE_USER: "unifysrv"
71+
CI_PROJDIR: "$CI_PROJECT_DIR"
72+
UNIFYFS_INSTALL: "$CI_PROJECT_DIR/unifyfs-install"
73+
CI_NPROCS: "$NPROCS"
74+
75+
##### Jobs #####
76+
77+
before_script:
78+
# HERE BE DRAGONS!: Since on HPC and running as user, Spack might already
79+
# exist and can get complicated if we install it again.
80+
#
81+
# check for sourced spack || check for unsourced spack in $HOME/spack and
82+
# source it || check for cached spack, clone if none, and source it
83+
- which spack || ((cd $HOME/spack && git describe) && . $HOME/spack/share/spack/setup-env.sh) || (((cd spack_ci && git describe) || git clone https://github.com/CamStan/spack spack_ci) && . spack_ci/share/spack/setup-env.sh)
84+
- SPACK_ARCH=$(spack arch)
85+
- spack install leveldb && spack load leveldb arch=$SPACK_ARCH
86+
- spack install [email protected] && spack load [email protected] arch=$SPACK_ARCH
87+
- spack install flatcc && spack load flatcc arch=$SPACK_ARCH
88+
- spack install margo^mercury+bmi~boostsys && spack load argobots arch=$SPACK_ARCH && spack load mercury arch=$SPACK_ARCH && spack load margo arch=$SPACK_ARCH
89+
90+
build-quartz:
91+
<<: *quartz_template
92+
<<: *build_template
93+
94+
build-butte:
95+
<<: *butte_template
96+
<<: *build_template
97+
98+
unit-test-quartz:
99+
<<: *quartz_template
100+
<<: *unit_test_template
101+
dependencies:
102+
- build-quartz
103+
104+
unit-test-butte:
105+
<<: *butte_template
106+
<<: *unit_test_template
107+
dependencies:
108+
- build-butte
109+
110+
#integ-test-quartz:
111+
# <<: *quartz_template
112+
# stage: test-integ
113+
# tags:
114+
# - quartz
115+
# - batch
116+
# variables: *quartz_batch_variables
117+
# script:
118+
# - cd t/ci && prove -v RUN_CI_TESTS.sh
119+
# dependencies:
120+
# - build-quartz
121+
122+
integ-test-butte:
123+
<<: *butte_template
124+
stage: test-integ
125+
tags:
126+
- butte
127+
- batch
128+
variables: *butte_batch_variables
129+
script:
130+
- cd t/ci && prove -v RUN_CI_TESTS.sh
131+
dependencies:
132+
- build-butte

.travis.yml

Lines changed: 49 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,61 @@
11
language: c
22
sudo: required
3+
dist: xenial
4+
5+
addons:
6+
apt:
7+
update: true
8+
packages:
9+
- autoconf
10+
- automake
11+
- build-essential
12+
- cmake
13+
- gfortran
14+
- libhdf5-openmpi-dev
15+
- libopenmpi-dev
16+
- libtool-bin
17+
- m4
18+
- openmpi-bin
319

420
before_install:
521
# The default environment variable $CC is known to interfere with
622
# MPI projects.
723
- test -n $CC && unset CC
8-
- sudo apt-get -qq update
9-
- sudo apt-get install --yes -qq build-essential autoconf libtool cmake
10-
- sudo apt-get install --yes -qq libopenmpi-dev openmpi-bin
11-
- sudo apt-get install --yes -qq libhdf5-openmpi-dev
1224
- (cd $HOME/spack; git describe) || git clone https://github.com/spack/spack $HOME/spack
25+
# Create packages.yaml to prevent building dependencies that time out
26+
- |
27+
test -f $HOME/spack/etc/spack/packages.yaml || cat > $HOME/spack/etc/spack/packages.yaml << ' EOF'
28+
packages:
29+
autoconf:
30+
buildable: False
31+
paths:
32+
33+
automake:
34+
buildable: False
35+
paths:
36+
37+
cmake:
38+
buildable: False
39+
paths:
40+
[email protected]: /usr/local/cmake-3.12.4
41+
libtool:
42+
buildable: False
43+
paths:
44+
45+
m4:
46+
buildable: False
47+
paths:
48+
49+
EOF
50+
51+
install:
1352
- $HOME/spack/bin/spack install environment-modules
14-
- $HOME/spack/bin/spack install leveldb
15-
- $HOME/spack/bin/spack install [email protected]
16-
- $HOME/spack/bin/spack install flatcc
17-
# insall margo with spack
18-
- git config --global http.sslVerify false
19-
- git clone https://xgitlab.cels.anl.gov/sds/sds-repo.git $HOME/sds-repo.git
20-
- $HOME/spack/bin/spack repo add $HOME/sds-repo.git
21-
- $HOME/spack/bin/spack install margo
22-
- git config --global http.sslVerify true
23-
# prepare build environment
2453
- . $HOME/spack/share/spack/setup-env.sh
54+
- spack install leveldb
55+
- spack install [email protected]
56+
- spack install flatcc
57+
- spack install margo^mercury+bmi~boostsys
58+
# prepare build environment
2559
- spack load environment-modules
2660
- source <(spack module tcl loads leveldb [email protected] flatcc mercury argobots margo)
2761
- eval $(./scripts/git_log_test_env.sh)
@@ -39,7 +73,7 @@ script:
3973
# Force git to update the shallow clone and include tags so git-describe works
4074
- git fetch --unshallow --tags
4175
- sh autogen.sh
42-
- ./configure || cat config.log
76+
- ./configure --enable-fortran || cat config.log
4377
- make -k && make distcheck
4478
- ./scripts/checkpatch.sh || test "$TEST_CHECKPATCH_ALLOW_FAILURE" = yes
4579

LICENSE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ Copyright 2017, UT-Battelle, LLC.
77
LLNL-CODE-741539
88
All rights reserved.
99

10-
This is the license for UnifyCR. For details, see
11-
https://github.com/LLNL/UnifyCR.
10+
This is the license for UnifyFS. For details, see
11+
https://github.com/LLNL/UnifyFS.
1212

1313
Permission is hereby granted, free of charge, to any person obtaining a copy
1414
of this software and associated documentation files (the "Software"), to deal

Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ CONFIG = ordered
55
#ACLOCAL_AMFLAGS = -I m4
66

77
pkgconfigdir = @pkgconfigdir@
8-
pkgconfig_DATA = client/unifycr.pc
8+
pkgconfig_DATA = client/unifyfs.pc
99

1010
CLEANFILES =
1111

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# UnifyCR: A Distributed Burst Buffer File System - 0.1.0
1+
# UnifyFS: A Distributed Burst Buffer File System - 0.1.0
22

33
Node-local burst buffers are becoming an indispensable hardware resource on
44
large-scale supercomputers to buffer the bursty I/O from scientific
@@ -8,26 +8,26 @@ across different batch jobs. In addition, burst buffers need to cope with a
88
variety of challenging I/O patterns from data-intensive scientific
99
applications.
1010

11-
UnifyCR is a user-level burst buffer file system under active development.
12-
UnifyCR supports scalable and efficient aggregation of I/O bandwidth from burst
13-
buffers while having the same life cycle as a batch-submitted job. While UnifyCR
14-
is designed for N-N write/read, UnifyCR compliments its functionality with the
11+
UnifyFS is a user-level burst buffer file system under active development.
12+
UnifyFS supports scalable and efficient aggregation of I/O bandwidth from burst
13+
buffers while having the same life cycle as a batch-submitted job. While UnifyFS
14+
is designed for N-N write/read, UnifyFS compliments its functionality with the
1515
support for N-1 write/read. It efficiently accelerates scientific I/O based on
1616
scalable metadata indexing, co-located I/O delegation, and server-side read
1717
clustering and pipelining.
1818

1919
## Documentation
20-
Full UnifyCR documentation is contained [here](https://unifycr.readthedocs.io).
20+
Full UnifyFS documentation is contained [here](https://unifyfs.readthedocs.io).
2121

22-
Use [Build & I/O Interception](http://unifycr.readthedocs.io/en/dev/build-intercept.html)
23-
for instructions on how to build and install UnifyCR.
22+
Use [Build & I/O Interception](http://unifyfs.readthedocs.io/en/dev/build-intercept.html)
23+
for instructions on how to build and install UnifyFS.
2424

2525
## Build Status
26-
The current status of the UnifyCR dev branch is:
26+
The current status of the UnifyFS dev branch is:
2727

28-
[![Build Status](https://api.travis-ci.org/LLNL/UnifyCR.png?branch=dev)](https://travis-ci.org/LLNL/UnifyCR)
29-
[![Read the Docs](https://readthedocs.org/projects/unifycr/badge/?version=dev)](https://unifycr.readthedocs.io)
28+
[![Build Status](https://api.travis-ci.org/LLNL/UnifyFS.png?branch=dev)](https://travis-ci.org/LLNL/UnifyFS)
29+
[![Read the Docs](https://readthedocs.org/projects/unifyfs/badge/?version=dev)](https://unifyfs.readthedocs.io)
3030

3131
## Contribute and Develop
3232
Contributing guidelines can be found in our
33-
[documentation](https://unifycr.readthedocs.io/en/dev/style-guides.html).
33+
[documentation](https://unifyfs.readthedocs.io/en/dev/style-guides.html).

0 commit comments

Comments
 (0)