Skip to content

Commit

Permalink
Merge pull request #8 from indigo-dc/devel
Browse files Browse the repository at this point in the history
add powerfit examples, updated READMEs
  • Loading branch information
mariojmdavid committed Jun 2, 2016
2 parents abdbafc + 9540b77 commit d0e30a4
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 6 deletions.
19 changes: 18 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ $ 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
To run in the GPU:

```
$ cd /home
Expand All @@ -112,6 +112,23 @@ $ 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
-------

Expand Down
9 changes: 4 additions & 5 deletions docker-powerfit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,12 @@ The docker containes the opencl application hosted in:
* https://github.com/haddocking/powerfit

Read section "Options" for examples to run the application.

THIS PART TO be completed

To run the powerfit in CPUs, you can instantiate the container:

```
$ docker run -it indigodatacloudapps/powerfit /bin/bash
#
# cd /home
# ./run-powerfitCPU.sh
```

To run the powerfit in GPU, you can instantiate the container and import the
Expand All @@ -58,7 +56,8 @@ $ docker run \
--device=/dev/nvidia-uvm:/dev/nvidia-uvm \
-it \
indigodatacloudapps/powerfit /bin/bash
#
# cd /home
# ./run-powerfitGPU.sh
```

License
Expand Down

0 comments on commit d0e30a4

Please sign in to comment.