Problem with OpenMPI


 
Thread Tools Search this Thread
Top Forums Programming Problem with OpenMPI
# 1  
Old 04-24-2011
Problem with OpenMPI

OK, I hope you can help me here: I'm trying to crack a hash using John the Ripper. (BindShell.Net: John The Ripper MPI Patch)
I'm runnig it on a cluster system using OpenMPI. But it is not working properly. If i try to run it, i get the following error:

Quote:
libibverbs: Warning: RLIMIT_MEMLOCK is 32768 bytes.
This will severely limit memory registrations.
CMA: unable to open /dev/infiniband/rdma_cm
libibverbs: Warning: RLIMIT_MEMLOCK is 32768 bytes.
This will severely limit memory registrations.
--------------------------------------------------------------------------
[[9905,1],0]: A high-performance Open MPI point-to-point messaging module
was unable to find any relevant network interfaces:

Module: OpenFabrics (openib)
Host: my.server.address

Another transport will be used instead, although this may result in
lower performance.
--------------------------------------------------------------------------
Loaded 1 password hash (Traditional DES [128/128 BS SSE2-16])
[server:08828] *** Process received signal ***
[server:08828] Signal: Segmentation fault (11)
[server:08828] Signal code: Address not mapped (1)
[server:08828] Failing at address: 0x1eee3e8
[server:08828] *** End of error message ***
Segmentation fault
Any idea what can be wrong? Happen on multiCPU as well as on single CPU.
(Some features of the program, like computing speed test, do work well.)
# 2  
Old 04-24-2011
The amount of memory you can set per program is limited, and OpenMPI tries to set memory beyond this limit, resulting in a Segmentation fault.

See the OpenMPI FAQ page for more info, but in short, for a single CPU, issueing the command
Code:
ulimit -l unlimited

should work. If you want to use more CPU's on more nodes, you have to issue this command on each node.

FAQ-page: http://www.open-mpi.org/faq/?categor...b-locked-pages

Last edited by Phoib; 04-24-2011 at 10:53 AM.. Reason: I can post url's now, yay.
# 3  
Old 04-24-2011
Well, thanks, this is better. Now I get:

Quote:
[server-1:10763] *** Process received signal ***
[server-1:10763] Signal: Segmentation fault (11)
[server-1:10763] Signal code: Address not mapped (1)
[server-1:10763] Failing at address: 0x14d64b8
[server-1:10763] [ 0] /lib/libpthread.so.0 [0x7f2ba4d96a80]
[server-1:10763] [ 1] /software/ofed-1.3/mpi/gcc/openmpi-1.2.5/lib64/libopen-pal.so.0(_int_malloc+0x9fc) [0x7f2ba58725ac]
[server-1:10763] [ 2] /software/ofed-1.3/mpi/gcc/openmpi-1.2.5/lib64/libopen-pal.so.0(malloc+0x89) [0x7f2ba5873e59]
[server-1:10763] [ 3] /home/username/john-1.7.3.1-mpi8/run/john(mem_alloc+0x15) [0x41e3d5]
[server-1:10763] [ 4] /home/username/john-1.7.3.1-mpi8/run/john(do_incremental_crack+0x542) [0x41a6d2]
[server-1:10763] [ 5] /home/username/john-1.7.3.1-mpi8/run/john(main+0x8e5) [0x41c025]
[server-1:10763] [ 6] /lib/libc.so.6(__libc_start_main+0xe6) [0x7f2ba4a531a6]
[server-1:10763] [ 7] /home/username/john-1.7.3.1-mpi8/run/john [0x404e69]
[server-1:10763] *** End of error message ***
...repeated for every CPU

But at last I'm getting somewhere. I will study the FAQ thoroughly, there should be some answers.
# 4  
Old 04-27-2011
BTW, I forgot to tell: In runnig the program over PBS/Torque job manager. It should take care of the memory allocation, but obviously it doesn't. "ulimit" didn't help, the memory is set to unlimited by default.

Any ideas?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Trying to use a convoluted for loop with VLC and Parallel or OpenMPI with no success. Help?

I have about 12,000,000 mod files I'm trying to turn into a test of "unlimited cloud storage" by running them all through VLC and blowing them into mp3 files. I can get this to work serially but when trying to use openMPI or Parallel, something in the syntax is tripping it up some. Here is an... (1 Reply)
Discussion started by: sparticus414
1 Replies

2. IP Networking

Router problem or ISP problem ?

Hi everyone, I am experiencing discontinuity of Internet service, this started 1 month ago. Everything worked very well for 1 year of intensive use, but now, I have problems reaching my gateway. The gateway is not my router but a node belonging to my ISP and I share the same public IP with... (3 Replies)
Discussion started by: remic
3 Replies

3. UNIX for Dummies Questions & Answers

sed Or Grep Problem OR Terminal Problem?

I don't know if you guys get this problem sometimes at Terminal but I had been having this problem since yesterday :( Maybe I overdid the Terminal. Even the codes that used to work doesn't work anymore. Here is what 's happening: * I wanted to remove lines containing digits so I used this... (25 Replies)
Discussion started by: Nexeu
25 Replies

4. Programming

Cannot run MPI job across nodes using OpenMPI in F17

I am new in Linux and clustering. I am setting up a Beowulf Cluster using several PCs according to this guide "Beowulf How-To" I have setup and configure accordingly except for NFS part. Because I am not requiring it for my application. I have set my ssh to login each other without password. I... (1 Reply)
Discussion started by: nsw1216
1 Replies

5. UNIX for Advanced & Expert Users

openmpi - initialization failed

Hi everybody, my problem is the following: I'm trying to run an openmpi program on a cluster (atlasz.elte.hu, it's in hungarian, but you can try google translate), but I always got this error: Fatal error in MPI_Init: Other MPI error, error stack: MPIR_Init_thread(394)...........:... (0 Replies)
Discussion started by: jkobori
0 Replies

6. IP Networking

Problem with forwarding emails (SPF problem)

Hi, This is rather a question from a "user" than from a sys admin, but I think this forum is apropriate for the question. I have an adress with automatic email forwarding and for some senders (two hietherto), emails are bouncing. This has really created a lot of problems those two time so I... (0 Replies)
Discussion started by: carwe
0 Replies

7. Programming

/usr/bin/ld: warning: libgfortran.so.1, needed by /opt/openmpi/lib/libmpi_f90.so, may

hello, i get these warnings on make(ing) /usr/bin/ld: warning: libgfortran.so.1, needed by /opt/openmpi/lib/libmpi_f90.so, may conflict with libgfortran.so.3 /usr/bin/ld: warning: libgfortran.so.1, needed by /usr/lib/gcc/x86_64-redhat-linux6E/4.3.2/../../../liblapack.a, may conflict with... (1 Reply)
Discussion started by: sreekar
1 Replies

8. AIX

user login problem & Files listing problem.

1) when user login to the server the session got colosed. How will resolve? 2) While firing the command ls -l we are not able to see the any files in the director. but over all view the file system using the command df -g it is showing 91% used. what will be the problem? Thanks in advance. (1 Reply)
Discussion started by: pernasivam
1 Replies

9. Shell Programming and Scripting

ssh script problem problem

Hi Please help me with the following problem with my script. The following block of code is not repeating in the while loop and exiting after searching for first message. input_file ========== host001-01 host001-02 2008-07-23 13:02:04,651 ConnectionFactory - Setting session state... (2 Replies)
Discussion started by: pcjandyala
2 Replies

10. UNIX for Advanced & Expert Users

SSH Problem auth problem

Hi, Just recently we seem to be getting the following error message relating to SSH when we run the UNIX script in background mode: warning: You have no controlling tty. Cannot read confirmation.^M warning: Authentication failed.^M Disconnected; key exchange or algorithm negotiation... (1 Reply)
Discussion started by: budrito
1 Replies
Login or Register to Ask a Question