Skip to content

Commit

Permalink
Fix typo in ospray readme (OpenVisualCloud#60)
Browse files Browse the repository at this point in the history
Fix typo in ospray readme
Added troubleshooting when glfw error occurs
  • Loading branch information
tszumski authored and dpatel257 committed Apr 9, 2019
1 parent b14a2be commit cc798d1
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
17 changes: 15 additions & 2 deletions doc/ospray+OpenImageIO+mpi.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ There are two options to see result:

On hosts which will only perform calculation i.e worker, image require one parameter with executing sshd, for example:
```bash
docker run --net=host -it xeon_ubuntu1604_ospray-mpi /usr/sbind/sshd -D
docker run --net=host -it xeon_ubuntu1604_ospray-mpi /usr/sbin/sshd -D
```
On host which will show results i.e master,
Image have to be run in GUI interface with params:
Expand All @@ -44,4 +44,17 @@ mpirun -n /*your number of hosts*/ -ppn 1 \
--hdri-light /home/example/rnl_probe.pfm \
-sg:hdri:intensity=1.25 -r pt --osp:mpi
```
NOTICE: Images are not interchangeable, which means workers and master have to be the same image for example "xeon_ubuntu1604_ospray-mpi"
NOTICE-1: Multi-host connection is configured on port 2222, please make sure if it is avaliable on your hosts

NOTICE-2: Images are not interchangeable, which means workers and master have to be the same image for example "xeon_ubuntu1604_ospray-mpi"

NOTICE-3: In case of error:
```
Error 65544: X11: Failed to open display :0
terminate called after throwing an instance of 'std::runtime_error'
what(): Could not initialize glfw!
```
Please add this parameter for master image
```
--volume="/home/<username>/.Xauthority:/root/.Xauthority:rw"
```
11 changes: 11 additions & 0 deletions doc/ospray.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,14 @@ To run example please execute:
```bash
/home/ospray/build/ospExampleViewer /home/example/xfrog-forest.xml
```

NOTICE: In case of error:
```
Error 65544: X11: Failed to open display :0
terminate called after throwing an instance of 'std::runtime_error'
what(): Could not initialize glfw!
```
Please add this parameter for image
```
--volume="/home/<username>/.Xauthority:/root/.Xauthority:rw"
```

0 comments on commit cc798d1

Please sign in to comment.