Skip to content

oss-tsukuba/gfarm-spack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gfarm-spack

Spack repository for Gfarm file system.

About Spack, Gfarm, and gfarm2fs

Spack is a package manager for supercomputers, Linux, and macOS. It makes installing scientific software easy. Gfarm is a distributed file system for large-scale cluster computing and wide-area data sharing, providing the fine-grained replica location control. gfarm2fs is a Linux FUSE client for Gfarm file system. Visit each link for the detail information.

Packages

This repository provides the following packages:

  • gfarm
  • gfarm2fs

gfarm package

The gfarm package provides the Gfarm file system programs.

Variants

gfarm package supports the following variants:

name default Allowed values Description
infiniband none Specifies to use RDMA through InfiniBand. You can specify the custome prefix for InifiniBand (i.e. infiniband=/usr/local).
xmlattr off on, off Enables XML extended attribute feature.

gfarm2fs package

The gfarm2fs provides the Linux FUSE client for Gfarm file system.

Variants

gfarm2fs package supports the following variants:

name default Allowed values Description
acl off on, off Support acl feature

Usage

  1. Install this Spack repository to your environment.

    git clone git@github.com/oss-tsukuba/gfarm-spack
    spack repo add gfarm-spack
  2. Install a package you would like to use.

    spack install gfarm

    or

    spack install gfarm+xmlattr infiniband=/usr/local

    or

    spack install gfarm2fs

    or

    spack install gfarm2fs gfarm+xmlattr
  3. Load a package to your environment.

    spack load gfarm gfarm2fs

    If you are using Module system, run the following command:

    source <(spack module tcl loads gfarm gfarm2fs)
    
  4. Now, you can use Gfarm file system in your Spack environment.

Current Limitations

Need to install libfuse v2 devel package on the system

Currently, gfarm2fs package requires to install libfuse v2 devel package as dependencies manually. Run the following command to install the package on your Linux distribution:

Ubuntu

sudo apt install libfuse-dev

CentOS

sudo yum install fuse-devel

After installing the package, create/update ~/.spack/linux/packages.yaml config file with the following values:

---
packages:
  libfuse:
    buildable: no
    externals:
    - spec: libfuse
      prefix: /usr/

This let Spack use libfuse package installed on the system.