Giter Club home page Giter Club logo

ansible-role-disvis-powerfit's Introduction

License Build Status

Role and Dockerfile for disvis and powerfit application

Roles and Dockerfiles to install the disvis or powerfit application:

The application can be chosen from a role variable.

Introduction

The repository contains ansible-roles that are published in ansible galaxy: https://galaxy.ansible.com/indigo-dc/disvis-powerfit/

The directories docker-disvis and docker-powerfit are linked to dockerhub with automatic build of those 2 images. These images can run disvis or powerfit either in CPUs, or in GPUs, the NVIDIA driver version is show below in the the ansible-role default variable nvidia_driver_version

Requirements

The role LIP-Computing.ansible-role-nvidia should be run before in order to install the nvidia driver and is hosted in the repository:

Check the README to install and run the role

Role Variables

The variables that can be passed to this role and a brief description about them are as follows.

  1. Haddocking application: disvis or powerfit
    • haddock_app: Default = disvis
  2. URL with opencl headers

Install the Playbook

To install the role:

$ ansible-galaxy install indigo-dc.disvis-powerfit

Run the playbook

An example of playbook for the disvis:

---
- hosts: localhost
  roles:
    - { role: indigo-dc.disvis-powerfit haddock_app: disvis }

Or execute:

$ ansible-playbook /etc/ansible/roles/indigo-dc.disvis-powerfit/tests/disvis.yml

An example of playbook for the powerfit:

---
- hosts: localhost
  roles:
    - { role: indigo-dc.disvis-powerfit, haddock_app: powerfit }

Or execute:

$ ansible-playbook /etc/ansible/roles/indigo-dc.disvis-powerfit/tests/powerfit.yml

Run the disvis application

The example runs disvis on the CPU with 2 threads:

$ cd /home
$ mkdir out
$ export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu:/usr/local/lib64
$ export EX_DIR=/usr/local/disvis/test-cases/PRE5-PUP2-complex
$ disvis ${EX_DIR}/O14250.pdb ${EX_DIR}/Q9UT97.pdb ${EX_DIR}/restraints.dat -p 2 -a 20.0 -vs 2 -d /home/out

To run in the GPU:

$ cd /home
$ mkdir out
$ export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu:/usr/local/lib64
$ export EX_DIR=/usr/local/disvis/test-cases/PRE5-PUP2-complex
$ disvis ${EX_DIR}/O14250.pdb ${EX_DIR}/Q9UT97.pdb ${EX_DIR}/restraints.dat -g -a 20.0 -vs 2 -d /home/out

Run the powerfit application

The example runs powerfit on the CPU with 2 threads:

$ cd /home
$ ./run-powerfitCPU.sh

To run in the GPU:

$ cd /home
$ ./run-powerfitGPU.sh

License

Apache v2

Author Information

Mario David: [email protected]

LIP Lisbon: http://www.lip.pt

Indigo DataCloud: https://www.indigo-datacloud.eu/

Acknowledgments

ansible-role-disvis-powerfit's People

Contributors

mariojmdavid avatar mtrellet avatar orviz avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ansible-role-disvis-powerfit's Issues

Packages not found in Ubuntu 14.04

Hi @mariojmdavid,

Some of the packages that are installed in this role are not available in Ubuntu 14.04, so this role does not work.
As it is one of the supported OS versions for INDIGO, it must be fixed.

The packages are:
libclfft-bin
libclfft-dev
libclfft2
python-pyfftw

Thanks.

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.