Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ptp-user] Problem with the PTP Target System Configuration on Mac OS X

Dear all,

I'm having trouble to run the provided eclipse MPI template code "MPI PI C Project" on my brand-new Macbook Pro (8 cores) with OS X (latest version).
I wanted to check this easy sample code to see whether it works in eclipse on my Mac before I start parallelising my own programs using mpi.

The point is: On the shell, the code compiles just fine. All libraries are there, include files are found and I can run a command such as
"mpirun -n 5 ./Debug/TEST". The code then runs smoothly.

The code compiles fine in eclipse and on the shell I can run the binary (here: TEST), however when I try to run the binary in eclipse, I'm not quite sure what the problem is and why it does not run.

1. First of all, I am not quite sure which Target System Configuration I should actually pick. The tutorial is outdated and does not help here at all.

To get something running I tried out every possible choice and found out that there seems to be no error when I pick IBM PARALLEL ENVIRONMENT or IBM PLATFORM MPI.
So I picked randomly IBM PARALLEL ENVIRONMENT.

When I then run the code, an ERROR message appears:

f5109c56-8fcb-4f1c-b7a5-ce5aee21dfb6: FAILED
Can't exec "mpirun": No such file or directory at /Users/martin/.eclipsesettings/rms/PLATFORM_MPI/start_job.pl line 155.
#PTP job_id=5502
running command mpirun -np 3 -hostlist i3 /Users/martin/Projects/TEST/Debug/TEST


I don't understand at all, what this cryptic message is trying to tell me. Of course I've looked into this perl script file start_job.pl but I don't know why this script is important, why it is used at all
and why it fails. It seems to me, that the PTP system works in such a way, that -- depending on the choice of Target System Config -- one of these scripts in the directory .eclipsesettings is called which then is apparently supposed to generate either a batch file or something that finally should run the command line "mpirun …..".

Apparently, I don't really understand the logic behind this ptp system, so could anybody explain this to me in plain words ? Why are this odd scripts called and which Target system should I 
actually pick. Should I create my own target system?
My plan is simply to use the default mpi installation on my Mac (or I could also use MPICH) to test my own mli codes with eclipse. But unfortunately, not even the simple sample code runs.

Can anybody help me to get this running?

Beast regards,
Martin.







Back to the top