[Pw_forum] successful installation, but segmentation fault

Axel Kohlmeyer akohlmey at gmail.com
Tue Feb 28 17:16:16 CET 2012


On Tue, Feb 28, 2012 at 9:48 AM, Liangliang HUANG <lhuang4 at ncsu.edu> wrote:
> Hi Axel,
>
> Thanks for that. Unfortunately, I could not change the stack size on the
> university cluster. I assume the default stack size is 10240KB.

you *can* change it. if not, complain to the sysadmins.

> My workaround is to use PGI compiler instead. The examples seem to be
> working.

oh no! PGI is such a horrible compiler. nobody should go this far.
if you do have a stack issue with the intel compiler, there is a better
workaround. add the flag -heap-arrays 64 at the appropriate place
in your make.sys file.

axel.


> Thanks again!
>
> Liangliang
> CHE at NCSU
>
>
> On Tue, Feb 28, 2012 at 9:22 AM, Axel Kohlmeyer <akohlmey at gmail.com> wrote:
>>
>> On Tue, Feb 28, 2012 at 1:04 AM, Liangliang HUANG <lhuang4 at ncsu.edu>
>> wrote:
>> > Dear PWer,
>> >
>> > I have a segmentation fault occurred when I am running the examples.
>> >
>> > The version 4.3.2 has been installed on our own cluster using Intel
>> > compiler
>> > version 10.1.22  + mpich2 version 1.3a2:
>> >
>> > $ ./configure MPIF90=mpif90 CC=mpicc
>> > $ make all
>> >
>> > The installation finishes smooth without any error message. However when
>> > I
>> > tested the example01, I got the following message:
>> >
>> >  running the symmetry analysis for Cu bands...forrtl: severe (174):
>> > SIGSEGV,
>> > segmentation fault occurred
>> > Image              PC                Routine            Line
>> >  Source
>> >
>> > libblas.so.3       00002BA021078234  Unknown               Unknown
>> >  Unknown
>> > bands.x            00000000004547A6  find_band_sym_            383
>> >  sym_band.f90
>> > bands.x            000000000044E859  sym_band_                 128
>> >  sym_band.f90
>> > bands.x            0000000000406407  MAIN__                    112
>> >  bands.f90
>> > bands.x            0000000000406042  Unknown               Unknown
>> >  Unknown
>> > libc.so.6          000000363681D994  Unknown               Unknown
>> >  Unknown
>> > bands.x            0000000000405F69  Unknown               Unknown
>> >  Unknown
>> >
>> > It seems to be related with the source code or the compiler. Do you have
>> > any
>> > hints?
>>
>> check your stack size (ulimit -s) and try increasing it.
>>
>> axel.
>>
>> > Many thanks in advance!
>> >
>> > Liangliang
>> > NC State
>> >
>> >
>> >
>> >
>> > _______________________________________________
>> > Pw_forum mailing list
>> > Pw_forum at pwscf.org
>> > http://www.democritos.it/mailman/listinfo/pw_forum
>> >
>>
>>
>>
>> --
>> Dr. Axel Kohlmeyer
>> akohlmey at gmail.com  http://goo.gl/1wk0
>>
>> College of Science and Technology
>> Temple University, Philadelphia PA, USA.
>
>
>
>
> --
> Liangliang HUANG
> Graduate Student
> Prof. Keith Gubbins Research Group
> North Carolina State University
> Dept. of Chemical and Biomolecular Engineering
> Box 7905 Centennial Campus
> Engineering Building I
> 911 Partners Way
> Raleigh, NC  27695-7905
> Office: (919) 513-2051
> Cell:    (919) 744-6282
> Fax:    (919) 513-2470
> Email:  lhuang4 at ncsu.edu
> Website: http://gubbins.ncsu.edu/users/lhuang4/
> Blog: http://qphll.wordpress.com/
>



-- 
Dr. Axel Kohlmeyer
akohlmey at gmail.com  http://goo.gl/1wk0

College of Science and Technology
Temple University, Philadelphia PA, USA.



More information about the users mailing list