[Pw_forum] QE 4.0.2: configure error

O. Baris Malcioglu baris.malcioglu at gmail.com
Tue Oct 21 14:28:11 CEST 2008


Sangamesh B wrote:
> Hi,
> 
Hello Sangamesh,

>   Its giving segmentation fault for the given examples.

Some compilers suppress allocate() problems silently.

This might also mean that you do not have (access to) enough free memory
on the computer you are running example on.


You might either play with compiler flags depending on your compiler or
try adding something like
if (.not. allocated(some_array_you_are_suspicious_of)) call errore
('allocate','array not properly allocated',1)

in the routines that are responsible allocating memory space for arrays
i.e.:
allocate_fft
allocate_locpot
allocate_nlpot
allocate_wfc
...

Sincerely,

  _______________________________
|                                ``::::%%%%%%%%%HHH|
|  O. Baris Malcioglu                ::::::::%%%%%%|
|                                      ``:::::::::%|
|  SISSA                                     `````:|
|   via Beirut, 2-4    34014 Trieste TS,           |
|                                   ITALY          |
|               T: +39 040 378 73 74               |
|:.                  F: +39 +39 040 3787 528       |
|%:::::::::..                                      |
|%%%%%%::::::::..         mbaris at sissa.it          |
|HHH%%%%%%%%:::::::::......________________________|



More information about the users mailing list