Giter VIP home page Giter VIP logo

install-methods's Introduction

Module Installation Methods

This is a collection of READMEs generated during installation of software applications on Uppmax clusters. It is incomplete in terms of modules available on Uppmax, and the individual READMEs may also be incomplete in terms of what was actually done to install the modules. We are publicising these in the hopes that they can be helpful.

Example workflow of a basic installation

  1. Clone the install methods git repo (git clone https://github.com/UPPMAX/install-methods.git)
  2. Add the repo to your $PATH and source the uppmax_functions.sh file to get access to the functions.
  3. Run run_makeroom with at least -t and -v, to generate a .sh (makeroom_toolname_version.sh) file that will create the directory structure needed in /sw
  4. Run the .sh file created in the directory you are standing to create the directory structure (/sw/category/toolname/ and /sw/mf/common/category) and template files.
  5. Put the source code for the program in /sw/category/toolname/version/src
  6. Compile and/or install the tool in /sw/category/toolname/version/cluster/bin etc.
  7. Edit the readme file, explaining how you did the installation, in /sw/category/toolname/toolname-version_install-README.md
  8. Edit the template module file /sw/category/toolname/mf/version to do what you want when the module loads.
  9. Copy the module file to the live location, /sw/mf/common/category/[section]/toolname
  10. Run all_mflink toolname version to create links for all clusters to the module file in /sw/mf/common/category/[section]/toolname
  11. Run fixup /sw/category/toolname/version /sw/mf/common/category/[section]/toolname to make sure the ownership and permissions are ok.

Scripts

gather-READMEs.sh - bash script to scan installation directories, looking for README files having a particular filename format that we create during installation of tools

fixup - bash script fixing up permissions and group membership within installation trees; our local installation group is sw. With the -g option, this script will chmod g+s directories in the tree, too.

uppmax-functions.sh - bash helper functions for SLURM job viewing and various module-related tasks, mostly to do with setting up mf files for loading modules; the latter require appexpert privileges. Source these from .bashrc.

Installation directories

The directories contain software installations in major subject areas.

apps/

General applications.

apps/bioinfo/

Bioinformatics applications.

libs/

Libraries.

comp/

Compilers, interpreters, build tools.

Database directories

These directories cover installations of databases updated either manually, or via update scripts.

data_uppnex/

Installation instructions for databases under /sw/data/uppnex/. Database directories containing *-install-README.md files are updated manually. Database directories containing *-db-README.md files and scripts (currently, Kraken, diamond_databases and RTG) are updated monthly via crontab entries.

Blast database updates are included here, and involve multiple scripts, crontab entries and a test directory. These are updated monthly via crontab entries.

data_other/

Installation instructions for databases under other locations, currently just BUSCO lineage sets, which are kept in the module installation directory. These are updated monthly via crontab entries.

install-methods's People

Contributors

dahlo avatar dianaiusan avatar douglasgscofield avatar netzach 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.