[Smeagol-discuss] Segmentation fault error

janakiraman balachandran janarcs at umich.edu
Sat Apr 16 16:59:27 IST 2011


Thank you very much ivan
I did a 'ulimit -s unlimited and then  'ulimit -a' on my server and these
are the values i found these values

core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 65536
max locked memory       (kbytes, -l) 131072
max memory size         (kbytes, -m) unlimited
open files                      (-n) 1024
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) unlimited
cpu time               (seconds, -t) unlimited
max user processes              (-u) 65536
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited

I believe the max memory memory is unlimited. However still the program
fails  with a segmentation fault and i have attached the error file along
with the email. I also get an MPI message. Does that mean my code was not
parallelized properly?  But the gamma_p example runs very nicely even when i
have 8 processors. I dont know why this example fails.

I'm really confused. I'm sorry for the trouble caused

Regardsq
Ram





7 more processes have sent help message help-mpi-btl-base.txt / btl:no-nics

On Sat, Apr 16, 2011 at 4:21 AM, Ivan Rungger <runggeri at tcd.ie> wrote:

> Hello Janikiraman,
>
>  sometimes such a segmentation fault is caused by a low setting for the
> stack size limit in your shell. If you use bash, you should set "ulimit -s
> unlimited" before running smeagol. I also had a look at your input file, and
> in general it is OK, just you have to change the number of imaginary energy
> points. In your file you use 0 for the number of poles, which will not work,
> since you need at least a few poles. For a room temperature calculation I
> suggest to use:
> EnergImCircle           16
> NEnergImLine           16
> NPoles                       16
>
> Cheers,
>
> Ivan
>
> janakiraman balachandran wrote:
>
>> Dear All
>>
>> Please discard all the questions that i had asked before. I found answers
>> to them. Currently i'm getting a segmentation fault which i dont understand
>> why? I'm trying to run a Benzene Dithiol in smeagol with Au electrodes. I
>> used 20 processors to run the job but it stillf ailed. I have attached the
>> fdf of the lead and the scattering region and the error and out file of the
>> scattering region
>>
>> It would be of great help if someone can run this to find out what is the
>> problem. I'm not sure if its the problem of my MPI. If so i will try to
>> resolve it.
>>
>> Thank you
>>
>> Regards
>> Ram
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Smeagol-discuss mailing list
>> Smeagol-discuss at lists.tchpc.tcd.ie
>> http://lists.tchpc.tcd.ie/listinfo/smeagol-discuss
>>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.tchpc.tcd.ie/pipermail/smeagol-discuss/attachments/20110416/3155db63/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Elec.e5139908
Type: application/octet-stream
Size: 907 bytes
Desc: not available
Url : http://lists.tchpc.tcd.ie/pipermail/smeagol-discuss/attachments/20110416/3155db63/attachment.obj 


More information about the Smeagol-discuss mailing list