Configure MPI programs in eclipse

39 Comments

Al Salamu 3alykom Wa Ra7matULLAH

if u r familiar with the distributed computing, then u have used,seen or even heard about MPICH

well, here are the steps u follow to make and run an MPICH program

1-download and install the MPICH executable form their website

2-include the headers and add the lib files

3-write ur program and build it

4-and after solving the errors that will reveal in ur code 😀 go to the mpich bin directory -All programs in the start menu if u r a windows user- and open the mpirun program and browse for the executable u have built, configure the number of processes to run and finally run in

well…

More

Advertisements

Troubleshooting in ACM-ICPC Contest

2 Comments

i’ve participated in many contests as organizer, specifically in the technical stuff which is mainly two portions

  • The IDE which is mainly “eclipse
  • The contest communication tool which can’t be except “pc2”

and in the last contest i’ve participated in it’s technical preparations i faced a number of troubles

lets take them one by one

1.Teams don’t connect to the Server which is a Linux Machine

  • Solution : before you open the server edit the “pc2server” file and edit this line
  • java -Djava.security.policy=policy.ini $PC2CN $*
  • to be
  • java -Djava.rmi.server.hostname=”10.106.0.35″ -Djava.security.policy=policy.ini $PC2CN $*
  • of course change the ip according to your server ip

and make this edit in all the executables you will run {team, board, judge…..}

More