Coder Social home page Coder Social logo

singularity's Introduction

Singularity container for sPHENIX

Singularity container for sPHENIX allow collaborators to run sPHENIX RCF environment with sPHENIX nightly builds on local computers or external high performance computing centers.

This repository include the launcher and local update macro for the sPHENIX Singularity container.

Get Started

  1. On your local system, install Singularity v2.5 or higher version

  2. Download this repository:

git clone [email protected]:sPHENIX-Collaboration/Singularity.git
cd Singularity/
  1. Run the download/update macro updatebuild.sh.
./updatebuild.sh

This macro download the current release of sPHENIX Singularity container and nightly build libs. If there is already a download, only updates will be transmitted.

Currently we use the RCF rftpexp sftp servers for the download, which will prompt for RCF user password and will be slow (due to number of files). The total download size is about 20 GB. Optimizations with webpage based package download is expected later.

  1. Enter the Singularity container
singularity shell -B afs:/afs rhic_sl7_ext.simg
source /opt/sphenix/core/bin/sphenix_setup.sh -n   # setup sPHENIX environment in the singularity container shell

This bring up a shell environment which is identical to sPHENIX RCF. Meanwhile, it use your local file system for non-system files, e.g. it directly work on your code or data directories. Singularity container also support running in the command mode or background mode.

  1. Run the sPHENIX simulation tutorial

  2. To get daily build update, run the download/update macro updatebuild.sh to sync build files again.

singularity's People

Contributors

blackcathj avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.