Skip to content

Latest commit

 

History

History
executable file
·
57 lines (37 loc) · 1.01 KB

File metadata and controls

executable file
·
57 lines (37 loc) · 1.01 KB

Basic Info

This is a concurrent computing server based on process pool, which is used to solve any order inverse matrix for clients in parallel.

Compile

Compile three projects separately.

cd Client
g++ -o client client.cpp
cd ProcessPoolServer
g++ -o process_pool_server process_pool_server.cpp
cd ComputingService/build
cmake ..
make

Use

Copy the binary "client" to the client machine.

Copy the binary "process_pool_server" and "ComputingSrv" to the client machine.

Make sure that the location of "ComputingSrv" is right. Otherwise, change the file_name in process_pool_server.cpp and then compile again.

Then you must make sure that server and client can "ping":

Client machine:

ping serverIP

If it can "ping", then do the following steps:

  1. In server machine:
./process_pool_server IP Port
  1. In client machine:
./client serverIP serverPort

Project mind map

waitting...