Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-user] Resource Manager hanging and PTP Server compiling problems

Dear Mr. Houssen,

Thank you for your advice.
I compiled Open MPI from scratch with --with-devel-headrs and
updated the LD_LIBRARY PATH using "sudo ldconfig -v".

ompi_info shows "Open MPI: 1.4.4" as expected.
I'm able to compile test project and I see in output (as expected):

  Hello MPI World From process 0: Num processes: 4
  Hello MPI World from process 1!
  Hello MPI World from process 2!
  Hello MPI World from process 3!

Yet, sh BUILD fails with the same error (but still provides sdm executable) about SLURM.

  ...
  checking build system type... x86_64-unknown-linux-gnu
  configure: line 2275: 0: command not found
configure: error: The top installation directory of SLURM rms must be specified via "--with-slurm=DIR".

And PTP Debugger still hangs on at MPI_Init with "Open MPI Job". So far no luck...


Can I ask you please which version of PTP proxy you use? I would try to compile it.
Mine is: .linux.x86_64_5.0.4.201111121445


Kind regards,
Denis.


On 16.01.2012 10:25, Franck Houssen wrote:
Hello,

I have to say I don't know why it works at my sidebut not a yours.
The only difference seems to be that, personnaly, I didn't used
synaptic to install OpenMPI : I compiled and installed it from source.
These 2 ways should be equivalent.
If I got it well (not sure), mpi.h is present in /.../include even if
you didn't have the devel option (= configure --with-devel-headers =
libopenmpi-dev in synaptic I guess) : the first time, I installed MPI
was without --with-devel-headers and I succeeded to compile and run a
MPI program.
Ending up with a sdm is not a quarantee ! You may end up with only
pieces of a whole.

I only could advice you to try to compile from source (if you do so
and that your installation path is NOT /usr/bin, don't forget to
update the LD_LIBRAARY PATH using ldconfig : do NOT use .bashrc or you
will get incomplete run-time behavior that only works in xterm)

... Sorry, no other idea

Regards,

FH

PS : Here is some ll that may help you to compare what is not working
with your install

~ > ll /usr/local/bin
total 2068
drwxr-xr-x 2 root root 4096 2012-01-13 19:43 .
drwxr-xr-x 10 root root 4096 2011-10-12 16:26 ..
lrwxrwxrwx 1 root root 12 2012-01-13 19:43 mpic++ -> opal_wrapper
lrwxrwxrwx 1 root root 12 2012-01-13 19:43 mpicc -> opal_wrapper
lrwxrwxrwx 1 root root 12 2012-01-13 19:43 mpiCC -> opal_wrapper
lrwxrwxrwx 1 root root 12 2012-01-13 19:43 mpicc-vt -> opal_wrapper
lrwxrwxrwx 1 root root 12 2012-01-13 19:43 mpiCC-vt -> opal_wrapper
lrwxrwxrwx 1 root root 12 2012-01-13 19:43 mpic++-vt -> opal_wrapper
lrwxrwxrwx 1 root root 12 2012-01-13 19:43 mpicxx -> opal_wrapper
lrwxrwxrwx 1 root root 12 2012-01-13 19:43 mpicxx-vt -> opal_wrapper
lrwxrwxrwx 1 root root 7 2012-01-13 19:43 mpiexec -> orterun
lrwxrwxrwx 1 root root 12 2012-01-13 19:43 mpif77 -> opal_wrapper
lrwxrwxrwx 1 root root 12 2012-01-13 19:43 mpif77-vt -> opal_wrapper
lrwxrwxrwx 1 root root 12 2012-01-13 19:43 mpif90 -> opal_wrapper
lrwxrwxrwx 1 root root 12 2012-01-13 19:43 mpif90-vt -> opal_wrapper
lrwxrwxrwx 1 root root 7 2012-01-13 19:43 mpirun -> orterun
lrwxrwxrwx 1 root root 10 2012-01-13 19:43 ompi-clean -> orte-clean
-rwxr-xr-x 1 root root 150934 2012-01-13 19:43 ompi_info
lrwxrwxrwx 1 root root 8 2012-01-13 19:43 ompi-iof -> orte-iof
lrwxrwxrwx 1 root root 7 2012-01-13 19:43 ompi-ps -> orte-ps
-rwxr-xr-x 1 root root 15019 2012-01-13 19:43 ompi-server
lrwxrwxrwx 1 root root 12 2012-01-13 19:42 opalc++ -> opal_wrapper
lrwxrwxrwx 1 root root 12 2012-01-13 19:42 opalcc -> opal_wrapper
-rwxr-xr-x 1 root root 23201 2012-01-13 19:42 opal_wrapper
-rwxr-xr-x 1 root root 161081 2012-01-13 19:43 opari
lrwxrwxrwx 1 root root 12 2012-01-13 19:42 ortec++ -> opal_wrapper
lrwxrwxrwx 1 root root 12 2012-01-13 19:42 ortecc -> opal_wrapper
-rwxr-xr-x 1 root root 14373 2012-01-13 19:42 orte-clean
-rwxr-xr-x 1 root root 8588 2012-01-13 19:42 orted
-rwxr-xr-x 1 root root 14591 2012-01-13 19:42 orte-iof
-rwxr-xr-x 1 root root 19198 2012-01-13 19:42 orte-ps
-rwxr-xr-x 1 root root 106561 2012-01-13 19:42 orterun
-rwxr-xr-x 1 root root 190909 2012-01-13 19:43 otfaux
-rwxr-xr-x 1 root root 12740 2012-01-13 19:43 otfconfig
-rwxr-xr-x 1 root root 146373 2012-01-13 19:43 otfdump
-rwxr-xr-x 1 root root 149808 2012-01-13 19:43 otfinfo
-rwxr-xr-x 1 root root 146061 2012-01-13 19:43 otfmerge
-rwxr-xr-x 1 root root 1633 2012-01-06 11:42 pcap-config
-rwxr-xr-x 1 root root 82254 2012-01-13 19:43 vtcc
-rwxr-xr-x 1 root root 82254 2012-01-13 19:43 vtcxx
-rwxr-xr-x 1 root root 82254 2012-01-13 19:43 vtf77
-rwxr-xr-x 1 root root 82254 2012-01-13 19:43 vtf90
-rwxr-xr-x 1 root root 258717 2012-01-13 19:43 vtfilter
-rwxr-xr-x 1 root root 311093 2012-01-13 19:43 vtunify

~ > ll /usr/local/lib
total 6764
drwxr-xr-x 4 root root 4096 2012-01-13 19:43 .
drwxr-xr-x 10 root root 4096 2011-10-12 16:26 ..
-rwxr-xr-x 1 root root 991 2012-01-13 19:43 libmca_common_sm.la
lrwxrwxrwx 1 root root 25 2012-01-13 19:43 libmca_common_sm.so ->
libmca_common_sm.so.1.0.1
lrwxrwxrwx 1 root root 25 2012-01-13 19:43 libmca_common_sm.so.1 ->
libmca_common_sm.so.1.0.1
-rwxr-xr-x 1 root root 13929 2012-01-13 19:43
libmca_common_sm.so.1.0.1
-rwxr-xr-x 1 root root 1041 2012-01-13 19:43 libmpi_cxx.la
lrwxrwxrwx 1 root root 19 2012-01-13 19:43 libmpi_cxx.so ->
libmpi_cxx.so.0.0.1
lrwxrwxrwx 1 root root 19 2012-01-13 19:43 libmpi_cxx.so.0 ->
libmpi_cxx.so.0.0.1
-rwxr-xr-x 1 root root 139506 2012-01-13 19:43 libmpi_cxx.so.0.0.1
-rwxr-xr-x 1 root root 1045 2012-01-13 19:43 libmpi_f77.la
lrwxrwxrwx 1 root root 19 2012-01-13 19:43 libmpi_f77.so ->
libmpi_f77.so.0.0.2
lrwxrwxrwx 1 root root 19 2012-01-13 19:43 libmpi_f77.so.0 ->
libmpi_f77.so.0.0.2
-rwxr-xr-x 1 root root 348591 2012-01-13 19:43 libmpi_f77.so.0.0.2
-rwxr-xr-x 1 root root 1045 2012-01-13 19:43 libmpi_f90.la
lrwxrwxrwx 1 root root 19 2012-01-13 19:43 libmpi_f90.so ->
libmpi_f90.so.0.1.0
lrwxrwxrwx 1 root root 19 2012-01-13 19:43 libmpi_f90.so.0 ->
libmpi_f90.so.0.1.0
-rwxr-xr-x 1 root root 19410 2012-01-13 19:43 libmpi_f90.so.0.1.0
-rwxr-xr-x 1 root root 996 2012-01-13 19:43 libmpi.la
lrwxrwxrwx 1 root root 15 2012-01-13 19:43 libmpi.so ->
libmpi.so.0.0.3
lrwxrwxrwx 1 root root 15 2012-01-13 19:43 libmpi.so.0 ->
libmpi.so.0.0.3
-rwxr-xr-x 1 root root 843133 2012-01-13 19:43 libmpi.so.0.0.3
-rwxr-xr-x 1 root root 997 2012-01-13 19:42 libopenmpi_malloc.la
lrwxrwxrwx 1 root root 26 2012-01-13 19:42 libopenmpi_malloc.so ->
libopenmpi_malloc.so.0.0.0
lrwxrwxrwx 1 root root 26 2012-01-13 19:42 libopenmpi_malloc.so.0 ->
libopenmpi_malloc.so.0.0.0
-rwxr-xr-x 1 root root 7755 2012-01-13 19:42
libopenmpi_malloc.so.0.0.0
-rwxr-xr-x 1 root root 966 2012-01-13 19:42 libopen-pal.la
lrwxrwxrwx 1 root root 20 2012-01-13 19:42 libopen-pal.so ->
libopen-pal.so.0.0.0
lrwxrwxrwx 1 root root 20 2012-01-13 19:42 libopen-pal.so.0 ->
libopen-pal.so.0.0.0
-rwxr-xr-x 1 root root 407854 2012-01-13 19:42 libopen-pal.so.0.0.0
-rwxr-xr-x 1 root root 996 2012-01-13 19:42 libopen-rte.la
lrwxrwxrwx 1 root root 20 2012-01-13 19:42 libopen-rte.so ->
libopen-rte.so.0.0.0
lrwxrwxrwx 1 root root 20 2012-01-13 19:42 libopen-rte.so.0 ->
libopen-rte.so.0.0.0
-rwxr-xr-x 1 root root 366630 2012-01-13 19:42 libopen-rte.so.0.0.0
-rw-r--r-- 1 root root 241766 2012-01-13 19:43 libotf.a
-rwxr-xr-x 1 root root 891 2012-01-13 19:43 libotf.la
-rw-r--r-- 1 root root 1225132 2012-01-06 11:42 libpcap.a
lrwxrwxrwx 1 root root 12 2012-01-06 11:42 libpcap.so -> libpcap.so.1
lrwxrwxrwx 1 root root 16 2012-01-06 11:42 libpcap.so.1 ->
libpcap.so.1.2.1
-rwxr-xr-x 1 root root 743128 2012-01-06 11:42 libpcap.so.1.2.1
-rw-r--r-- 1 root root 360138 2012-01-13 19:43 libvt.a
-rw-r--r-- 1 root root 167238 2012-01-13 19:43 libvt.fmpi.a
-rw-r--r-- 1 root root 544284 2012-01-13 19:43 libvt.mpi.a
-rw-r--r-- 1 root root 464018 2012-01-13 19:43 libvt.omp.a
-rw-r--r-- 1 root root 648332 2012-01-13 19:43 libvt.ompi.a
-rwxr-xr-x 1 root root 298734 2012-01-13 19:43 mpi.mod
drwxr-xr-x 2 root root 4096 2012-01-13 19:43 openmpi
drwxrwsr-x 4 root staff 4096 2011-10-12 16:27 python2.7

~ > ll /usr/local/include/
total 176
drwxr-xr-x 5 root root 4096 2012-01-13 19:43 .
drwxr-xr-x 10 root root 4096 2011-10-12 16:26 ..
-rw-r--r-- 1 root root 19406 2012-01-13 19:42 mpif-common.h
-rw-r--r-- 1 root root 3733 2012-01-13 19:43 mpif-config.h
-rw-r--r-- 1 root root 3699 2012-01-13 19:43 mpif.h
-rw-r--r-- 1 root root 3846 2012-01-13 19:42 mpif-mpi-io.h
-rw-r--r-- 1 root root 110611 2012-01-13 19:43 mpi.h
drwxr-xr-x 5 root root 4096 2012-01-13 19:43 openmpi
drwxr-xr-x 2 root root 4096 2012-01-06 11:42 pcap
-rw-r--r-- 1 root root 2393 2012-01-06 11:42 pcap-bpf.h
-rw-r--r-- 1 root root 2320 2012-01-06 11:42 pcap.h
-rw-r--r-- 1 root root 2125 2012-01-06 11:42 pcap-namedb.h
drwxr-xr-x 2 root root 4096 2012-01-13 19:43 vampirtrace

Date: Mon, 16 Jan 2012 07:48:32 +0100
From: denis.davydov@xxxxxxxxxxxxxxxxxxx
To: fh_p@xxxxxxxxxxx; ptp-user@xxxxxxxxxxx
Subject: RE: [ptp-user] Resource Manager hanging and PTP Server
compiling problems

Dear Mr. Houssen,

Thank you for your reply.
1) I have Open MPI (openmpi-bin) together with developer headers
(libopenmpi-dev)
installed in Synaptic Package Manager.
I guess if I don't not have it, I won't be able to compile because
of
including mpi.h.
Another thing is that Resource Manager actually starts fine and is
"green".

Strange enough I end up with /bin/sdm/ executable even though I have

some building problems.

Kind regards,
Denis.

On 16.01.2012 00:12, Franck Houssen wrote:
> Hello,
>
> 1) to enable debugging, you must first build and install OpenMPI :
> configure must be done with --with-devel-headers. Then "sh BUILD"
in
> org.eclipse.ptp.linux.x86_64_xxx should be OK and you will end up
> with
> ./bin/sdm.
> 2) I guess that when 1) will be OK, 2) should be OK too
>
> I use also Ubuntu 11.10 : running and debugging is OK for me =>
> http://www.eclipse.org/ptp/docs/releases/release-1.1.php [1]
>
> Hope it helps...
>
> FH
>
>> Date: Sun, 15 Jan 2012 16:23:34 +0100
>> From: denis.davydov@xxxxxxxxxxxxxxxxxxx
>> To: ptp-user@xxxxxxxxxxx
>> Subject: [ptp-user] Resource Manager hanging and PTP Server
> compiling problems
>>
>> Dear users,
>>
>> I'm using Ubuntu 11.10 (64bit) and recently switched to Eclipse
PTP
> 5.0
>> (from NetBeans)
>> in order to be able to debug MPI.
>>
>> I have two problems I could not find an answer to:
>>
>> 1) When I build PTP Server Components
>> org.eclipse.ptp.linux.x86_64_5.0.4.201111121445
>>
>> I have the following error:
>>
>> checking build system type... x86_64-unknown-linux-gnu
>> configure: line 2275: 0: command not found
>> configure: error: The top installation directory of SLURM rms
must
>> be specified via "--with-slurm=DIR".
>>
>> Do I need to have SLRUM installed in order to be able to use
> Parallel
>> Debugging ?
>> Nevertheless, I have SDM executable built in bin folder which I
try
> to
>> use to debug.
>>
>>
>> 2) I added Local OpenMPI resource manager with default settings.
>>
>> but when I try to debug "MPI Hello World" (C executable project)
>> debugger hangs on
>>
>> MPI_Init(&argc, &argv);
>>
>> trying to Open MPI Job. Same happens when I debug my own project.
>>
>> Am I missing something?
>>
>>
>> Thank you in advance,
>>
>> Kind regards,
>> Denis.
>>
>>
>> _______________________________________________
>> ptp-user mailing list
>> ptp-user@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/ptp-user
>
>
> Links:
> ------
> [1] http://www.eclipse.org/ptp/docs/releases/release-1.1.php

--
----------------------------------------
Advanced School
Molecular and Continuum Modelling of Polymers:
Molecular Dynamics Meets Finite Elements
Organizers: S. Reese, Ch. Holm, P. Steinmann
March 12-14, 2012
Pommersfelden, Schloss Weissenstein (Germany)
http://www.ltm.uni-erlangen.de/mcmp.html
----------------------------------------
----------------
Dr. Mgr. Denis Davydov

Lehrstuhl für Technische Mechanik
Universität Erlangen-Nürnberg
Egerlandstraße 5
D-91058 Erlangen

mailto: denis.davydov@xxxxxxxxxxxxxxxxxxx
www: http://www.ltm.uni-erlangen.de

--
----------------------------------------
Advanced School
Molecular and Continuum Modelling of Polymers:
Molecular Dynamics Meets Finite Elements
Organizers: S. Reese, Ch. Holm, P. Steinmann
March 12-14, 2012
Pommersfelden, Schloss Weissenstein (Germany)
http://www.ltm.uni-erlangen.de/mcmp.html
----------------------------------------
----------------
Dr. Mgr. Denis Davydov

Lehrstuhl für Technische Mechanik
Universität Erlangen-Nürnberg
Egerlandstraße 5
D-91058 Erlangen

mailto: denis.davydov@xxxxxxxxxxxxxxxxxxx
www:    http://www.ltm.uni-erlangen.de


Back to the top