Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] Segmentation fault with plenty of RAM
From: Christopher O'Brien (cjobrien_at_[hidden])
Date: 2010-02-16 09:33:17

To all,
I am trying to start work with Quantum Espresso ( on my MacBook Pro (running 10.6.2 with 64-bit kernel extensions enabled) using 2GB of ram and an Intel Core2 Duo. Keep in mind that I am not really an expert and I have a very bad track record in compiling applications.

I received no errors when compiling the latest versions of FFTW, openmpi, and lapack (which were found by QE's configure program). I ran the basic Openmpi tests included with the distribution, and found no problems. I have modified my path to use the MPI compiler wrappers that I compiled, as Mac's built in openmpi does not have F90/F77 support.

Someone reported a similar problem to the error reported below on this forum ( but it may or not be relevant. The problem does not seem to be in one executable of the package ('bands.x') exclusively, but libSystem.B.dylib always seems to be in the middle of things. However, I tracked the memory usage but the example never used more than 40MB.

The error message resulting from "example01" follows:
running the symmetry analysis for Si bands...[schrodingersdog:00322] *** Process received signal ***
[schrodingersdog:00322] Signal: Segmentation fault (11)
[schrodingersdog:00322] Signal code: Address not mapped (1)
[schrodingersdog:00322] Failing at address: 0x698d3230
[schrodingersdog:00322] [ 0] 2 libSystem.B.dylib 0x00007fff87248eaa _sigtramp + 26
[schrodingersdog:00322] [ 1] 3 ??? 0x00000001013fc080 0x0 + 4315922560
[schrodingersdog:00322] [ 2] 4 bands.x 0x000000010003d3ed sym_band_ + 7597
[schrodingersdog:00322] [ 3] 5 bands.x 0x00000001000014f5 MAIN__ + 1317
[schrodingersdog:00322] [ 4] 6 bands.x 0x0000000100001a01 main + 33
[schrodingersdog:00322] [ 5] 7 bands.x 0x0000000100000fa4 start + 52
[schrodingersdog:00322] [ 6] 8 ??? 0x0000000000000001 0x0 + 1
[schrodingersdog:00322] *** End of error message ***
./run_example: line 77: 322 Segmentation fault $BANDS_COMMAND < > si.bands.out
cleaning /Users/ChrisOBrien/tmp... done

Thanks in advance,

Christopher J. O'Brien
See what I'm citing at

Graduate Research Assistant
Computational Materials Group
Department of Materials Science & Engineering
North Carolina State University
Please send all attachments in PDF, HTML, RTF, TXT, ODF, DVI or PS.

For Word documents: Please use the 'Save as PDF' option before sending.