Commit f036402d by Szeberényi Imre

Update README.md

parent 75484d0f
Dummy players for labs # Dummy players for labs
======================
## Files:
player.h, player.cpp : player.h, player.cpp :
- Player's basic class. Implementing server communication. Player's basic class. Implementing server communication.
main.cpp : main.cpp :
- Implements a simple burglar and cop players. Implements a simple burglar and cop players.
- They are moving randomly and create log messages in \*.log files. They are moving randomly and create log messages in \*.log files.
test.sh : test.sh :
- Test script for the simple players version. Test script for the simple players version.
mpimain.cpp : mpimain.cpp :
- Simple MPI communication example. Simple MPI communication example.
- The silly policeman is moving randomly and shouting to his radio if he sees the robber. The silly policeman is moving randomly and shouting to his radio if he sees the robber.
- The others can hear this, but they don't know where the robber is. The others can hear this, but they don't know where the robber is.
mptest.sh : mptest.sh :
- Test script for the MPI version. Starts a burglar, and starts the MPI processes. Test script for the MPI version. Starts a burglar, and starts the MPI processes.
Compile: ## Compile:
module load mpi module load mpi
make make
Starting the clients: ## Starting the clients:
./test.sh – simple version ./test.sh – simple version
./mpitest.sh – mpi version ./mpitest.sh – mpi version
Starting the graphical server on the local machine: ## Starting the graphical server on the local machine:
1. Creating TCP tunnel between the remote machine (para) and the local host. 1. Creating TCP tunnel between the remote machine (para) and the local host.
a. The server listens on port number 15623. The server listens on port number 15623.
b. The client uses the unique port number UID+17000, where UID is your user id on host para. The client uses the unique port number UID+17000, where UID is your user id on host para.
Using putty: Using putty:
Session->SSH->Tunnels
Session->SSH->Tunnels X Local ports accept connection from othrer hosts
X Local ports accept connection from othrer hosts Source port: your unique port number (UID+17000). (./test.sh will display the port number
Source port: your unique port number (UID+17000). (./test.sh will display the port number) Destination: localhost:15623
Destination: localhost:15623 X Remote
X Remote X Ipv4
X Ipv4 Add
Add
Using ssh
Using ssh
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment