The sequence to compile and execute the program: 1. Create a specification file pi.x. 2. Call rpcgen with the -a and -C options to compile pi.x to generate a set of files including pi.h, pi_clnt.c, pi_svc.c, pi_client.c, pi_server.c and etc. (see pi.log for details) Comment: if using different architectures, you need to compile both client and server using rpcgen, cc, and then run them on the remote server and client separately. 3. Modify the server skeleton pi_server.c and client skelton program pi_client.c to satisfy your needs (in this case to calculate pi). 4. Compile the client side program and link it with client stub: gcc pi_client.c pi_clnt.c -o pi_client -lnsl 5. Compile the server side program and link it with server stub: gcc pi_server.c pi_svc.c -o pi_server -lnsl 6. Copy the server executable program pi_server to the remote machine and run. 7. or Execute rsh serverhost $cwd/pi_server & 8. Run the client executable program pi_client on local host with the server host name. In this case, the server host is eagle.cc.emory.edu and local host is panther.gsu.edu.