An open API service indexing awesome lists of open source software.

https://github.com/bartoszbartmanski/singularitycarnival

Repository for CARNIVAL singularity images based on Ubuntu 20.04.
https://github.com/bartoszbartmanski/singularitycarnival

singularity-container

Last synced: about 1 month ago
JSON representation

Repository for CARNIVAL singularity images based on Ubuntu 20.04.

Awesome Lists containing this project

README

          

# SingularityCARNIVAL

Repository for [CARNIVAL](https://github.com/saezlab/CARNIVAL/)
singularity images based on Ubuntu 20.04.

## Download

To download an image from sylabs library:
```
singularity pull library://bartosz_bartmanski/default/carnival:
```
For example:
```
singularity pull library://bartosz_bartmanski/default/carnival:2.2.0
```

## Usage

To run the example script that uses lpSolve contained in `/example/` directory
within the container, execute the following:
```
./carnival_2.2.0.sif
```
which will produce `example_output.Rds` amongst other intermediate files.

To use [CPLEX](https://www.ibm.com/analytics/cplex-optimizer) ILP solver
```
singularity exec -B :,./:/data/ carnival_2.2.0.sif /example/other_solvers.R cplex /cplex /data/cplex_example.Rds
```
where `` is the cplex installation path e.g.
`/opt/ibm/ILOG/CPLEX_Studio201/cplex/bin/x86-64_linux/`.

To use [Gurobi](https://www.gurobi.com/) ILP solver:
```
singularity exec -B :,./:/data/ --env "LD_LIBRARY_PATH=/linux64/lib" carnival_2.2.0.sif /example/other_solvers.R gurobi /linux64/bin/gurobi_cl /data/gurobi_example.Rds
```
where `` is the gurobi installation path e.g.
`/opt/gurobi911/`

## Build

To create a new image:
```
sudo singularity build carnival_.sif carnival.def
```
For example:
```
sudo singularity build carnival_2.2.0.sif carnival.def
```