Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-user] PTP under Mac OS X with OpenMPI 1.3

output of mpirun -display-map -np 4 MPIProject 20

[wlan028.hsz-t.ch:08186] Map for job: 1 Generated by mapping mode: byslot
 	Starting vpid: 0	Vpid range: 4	Num app_contexts: 1
 	Data for app_context: index 0	app: MPIProject
 		Num procs: 4
 		Argv[0]: MPIProject
 		Argv[1]: 20
 		Env[0]: OMPI_MCA_rmaps_base_display_map=1
Env[1]: OMPI_MCA_orte_precondition_transports=3ac8a13864411d97-106aa8697373848f
 		Env[2]: OMPI_MCA_rds=proxy
 		Env[3]: OMPI_MCA_ras=proxy
 		Env[4]: OMPI_MCA_rmaps=proxy
 		Env[5]: OMPI_MCA_pls=proxy
 		Env[6]: OMPI_MCA_rmgr=proxy
 		Working dir: /sw/bin (user: 0)
 		Num maps: 0
 	Num elements in nodes list: 2
 	Mapped node:
 		Cell: 0	Nodename: node0	Launch id: -1	Username: NULL
 		Daemon name:
	 		Data type: ORTE_PROCESS_NAME	Data Value: NULL
 		Oversubscribed: False	Num elements in procs list: 2
 		Mapped proc:
 			Proc Name:
 			Data type: ORTE_PROCESS_NAME	Data Value: [0,1,0]
 			Proc Rank: 0	Proc PID: 0	App_context index: 0

 		Mapped proc:
 			Proc Name:
 			Data type: ORTE_PROCESS_NAME	Data Value: [0,1,1]
 			Proc Rank: 1	Proc PID: 0	App_context index: 0

 	Mapped node:
 		Cell: 0	Nodename: node1	Launch id: -1	Username: NULL
 		Daemon name:
	 		Data type: ORTE_PROCESS_NAME	Data Value: NULL
 		Oversubscribed: False	Num elements in procs list: 2
 		Mapped proc:
 			Proc Name:
 			Data type: ORTE_PROCESS_NAME	Data Value: [0,1,2]
 			Proc Rank: 2	Proc PID: 0	App_context index: 0

 		Mapped proc:
 			Proc Name:
 			Data type: ORTE_PROCESS_NAME	Data Value: [0,1,3]
 			Proc Rank: 3	Proc PID: 0	App_context index: 0

it seems to work now. have to try it in the next days...

thanks
 Thomas

Am 30.03.2009 um 20:24 schrieb Greg Watson:

Thomas,

The noSuchElement exception is a known bug that will be fixed in 2.1.2. The easiest fix would be to install the latest 2.1.2 build from http://wiki.eclipse.org/PTP/builds/2.1.2. If you'd like to try fixing this version, please run the following command and let me know the output:

mpirun -display-map -np 4 MPIProject 20

Thanks,

Greg


On Mar 30, 2009, at 12:29 PM, Thomas Büsser wrote:

[buesser-2.local:07649] Warning: could not find environment variable "-display-map"
--------------------------------------------------------------------------
Failed to find the following executable:

Host:       buesser-2.local
Executable: -m

Cannot continue.
--------------------------------------------------------------------------
--------------------------------------------------------------------------
Failed to find the following executable:

Host:       buesser-2.local
Executable: -m

Cannot continue.
--------------------------------------------------------------------------

i also saw that mpirun has version 1.2.3 (why the hell, i installed OpenMPI 1.3). So i switched the Resource Manager to 1.2 and get an

An internal error occurred during: "Open Mpi Job".
java.util.NoSuchElementException

perhaps i have to update mpirun to version 1.3

Am 30.03.2009 um 17:09 schrieb Greg Watson:

Please run the following command from the command line and let me know what output you get:

mpirun -mca orte_show_resolved_nodenames 1 -xml -display-map -np 4 MPIProject 20

Thanks,

Greg

On Mar 30, 2009, at 10:16 AM, Thomas Büsser wrote:

Hi Greg

PTP Version is 2.1.1.200903061902, i have also installed the OpenMPI-Support-PlugIn. A simple program from the command line (mpirun -c 4 MPIProject 20) runs with no problems. also the version of Open MPI matches with the one used in the resource manager (1.3 running on localhost)

Thomas

Am 30.03.2009 um 16:04 schrieb Greg Watson:

Hi Thomas,

What version of PTP do you have installed?

Also, please check that you can run a simple mpi program from the command line.

Finally, check that the version of Open MPI that you have installed matches the version in the resource manager.

Thanks,

Greg


On Mar 29, 2009, at 10:29 AM, Thomas Büsser wrote:

Hi,

i tried to use the ptp with openmpi under mac os x 10.5 (openmpi was installed via fink). i followed the instructions from the ptp-wiki to setup the eclipse-enviromenty. but when i try to launch an simple "hello-world" mpi-application in the ptp runtime i get the following error-message:


Failed after executing command to launch parallel application.
Failed to parse output of Open MPI command. Check output for errors.
Premature end of file.



org.eclipse.core.runtime.CoreException: Failed to parse output of Open MPI command. Check output for errors. at org .eclipse .ptp .rm .mpi .openmpi .core.OpenMPIPlugin.coreErrorException(OpenMPIPlugin.java:89) at org .eclipse .ptp .rm .mpi .openmpi .core .rtsystem .OpenMPIRuntimeSystemJob .doExecutionStarted(OpenMPIRuntimeSystemJob.java:326) at org .eclipse .ptp .rm .core .rtsystem .AbstractToolRuntimeSystemJob .run(AbstractToolRuntimeSystemJob.java:207)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.io.IOException: Premature end of file.
at org .eclipse .ptp .rm .mpi .openmpi .core .rtsystem .OpenMPIProcessMapXml13Parser .parse(OpenMPIProcessMapXml13Parser.java:550) at org .eclipse .ptp.rm.mpi.openmpi.core.rtsystem.OpenMPIRuntimeSystemJob $3.run(OpenMPIRuntimeSystemJob.java:216)

can someone tell me what's going wrong here, i have no clue...

Thanks a lot

regards
Thomas
_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-user

_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-user

_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-user

_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-user

_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-user

_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-user



Back to the top