ternaus / quest-qmc

Automatically exported from code.google.com/p/quest-qmc
Other
2 stars 11 forks source link

forrtl: severe (174): SIGSEGV, segmentation fault occurred #29

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
ifort version 14.0.0
make.inc.mkl-icc, make.inc.icc

I get segmentation fault, if I use nwrap = 5 in the input file. 
But if I use 15, I do not get this segmentation fault.

Input and geometry files attached.
----

 ./ggeom L10_mu0_1392059069.51.in                                                                     
 Detected Geometry Free Format.
 ================================================================
 Basic real space geometry info

 Crystal atomic basis
  0     0.0000000     0.0000000     0.0000000

 Basis cell vectors
     1.0000000     0.0000000     0.0000000
     0.0000000     1.0000000     0.0000000
     0.0000000     0.0000000  1000.0000000

 Supercell vectors (fractionary unit)
   10    0    0
    0   10    0
    0    0    1

 Super-Lattice vectors (cartesian)
    10.0000000     0.0000000     0.0000000
     0.0000000    10.0000000     0.0000000
     0.0000000     0.0000000  1000.0000000

 ================================================================
 Real space lattice

 Number of orbitals in primitive cell:            1
 Total number of orbitals:                      100
 index  label   type       X           Y         Z   
  0 s0    0       0.00000       0.00000       0.00000
  1 s0    0       1.00000       0.00000       0.00000
  2 s0    0       2.00000       0.00000       0.00000
  3 s0    0       3.00000       0.00000       0.00000
  4 s0    0       4.00000       0.00000       0.00000
  5 s0    0       5.00000       0.00000       0.00000
  6 s0    0       6.00000       0.00000       0.00000
  7 s0    0       7.00000       0.00000       0.00000
  8 s0    0       8.00000       0.00000       0.00000
  9 s0    0       9.00000       0.00000       0.00000
 10 s0    0       0.00000       1.00000       0.00000
 11 s0    0       1.00000       1.00000       0.00000
 12 s0    0       2.00000       1.00000       0.00000
 13 s0    0       3.00000       1.00000       0.00000
 14 s0    0       4.00000       1.00000       0.00000
 15 s0    0       5.00000       1.00000       0.00000
 16 s0    0       6.00000       1.00000       0.00000
 17 s0    0       7.00000       1.00000       0.00000
 18 s0    0       8.00000       1.00000       0.00000
 19 s0    0       9.00000       1.00000       0.00000
 20 s0    0       0.00000       2.00000       0.00000
 21 s0    0       1.00000       2.00000       0.00000
 22 s0    0       2.00000       2.00000       0.00000
 23 s0    0       3.00000       2.00000       0.00000
 24 s0    0       4.00000       2.00000       0.00000
 25 s0    0       5.00000       2.00000       0.00000
 26 s0    0       6.00000       2.00000       0.00000
 27 s0    0       7.00000       2.00000       0.00000
 28 s0    0       8.00000       2.00000       0.00000
 29 s0    0       9.00000       2.00000       0.00000
 30 s0    0       0.00000       3.00000       0.00000
 31 s0    0       1.00000       3.00000       0.00000
 32 s0    0       2.00000       3.00000       0.00000
 33 s0    0       3.00000       3.00000       0.00000
 34 s0    0       4.00000       3.00000       0.00000
 35 s0    0       5.00000       3.00000       0.00000
 36 s0    0       6.00000       3.00000       0.00000
 37 s0    0       7.00000       3.00000       0.00000
 38 s0    0       8.00000       3.00000       0.00000
 39 s0    0       9.00000       3.00000       0.00000
 40 s0    0       0.00000       4.00000       0.00000
 41 s0    0       1.00000       4.00000       0.00000
 42 s0    0       2.00000       4.00000       0.00000
 43 s0    0       3.00000       4.00000       0.00000
 44 s0    0       4.00000       4.00000       0.00000
 45 s0    0       5.00000       4.00000       0.00000
 46 s0    0       6.00000       4.00000       0.00000
 47 s0    0       7.00000       4.00000       0.00000
 48 s0    0       8.00000       4.00000       0.00000
 49 s0    0       9.00000       4.00000       0.00000
 50 s0    0       0.00000       5.00000       0.00000
 51 s0    0       1.00000       5.00000       0.00000
 52 s0    0       2.00000       5.00000       0.00000
 53 s0    0       3.00000       5.00000       0.00000
 54 s0    0       4.00000       5.00000       0.00000
 55 s0    0       5.00000       5.00000       0.00000
 56 s0    0       6.00000       5.00000       0.00000
 57 s0    0       7.00000       5.00000       0.00000
 58 s0    0       8.00000       5.00000       0.00000
 59 s0    0       9.00000       5.00000       0.00000
 60 s0    0       0.00000       6.00000       0.00000
 61 s0    0       1.00000       6.00000       0.00000
 62 s0    0       2.00000       6.00000       0.00000
 63 s0    0       3.00000       6.00000       0.00000
 64 s0    0       4.00000       6.00000       0.00000
 65 s0    0       5.00000       6.00000       0.00000
 66 s0    0       6.00000       6.00000       0.00000
 67 s0    0       7.00000       6.00000       0.00000
 68 s0    0       8.00000       6.00000       0.00000
 69 s0    0       9.00000       6.00000       0.00000
 70 s0    0       0.00000       7.00000       0.00000
 71 s0    0       1.00000       7.00000       0.00000
 72 s0    0       2.00000       7.00000       0.00000
 73 s0    0       3.00000       7.00000       0.00000
 74 s0    0       4.00000       7.00000       0.00000
 75 s0    0       5.00000       7.00000       0.00000
 76 s0    0       6.00000       7.00000       0.00000
 77 s0    0       7.00000       7.00000       0.00000
 78 s0    0       8.00000       7.00000       0.00000
 79 s0    0       9.00000       7.00000       0.00000
 80 s0    0       0.00000       8.00000       0.00000
 81 s0    0       1.00000       8.00000       0.00000
 82 s0    0       2.00000       8.00000       0.00000
 83 s0    0       3.00000       8.00000       0.00000
 84 s0    0       4.00000       8.00000       0.00000
 85 s0    0       5.00000       8.00000       0.00000
 86 s0    0       6.00000       8.00000       0.00000
 87 s0    0       7.00000       8.00000       0.00000
 88 s0    0       8.00000       8.00000       0.00000
 89 s0    0       9.00000       8.00000       0.00000
 90 s0    0       0.00000       9.00000       0.00000
 91 s0    0       1.00000       9.00000       0.00000
 92 s0    0       2.00000       9.00000       0.00000
 93 s0    0       3.00000       9.00000       0.00000
 94 s0    0       4.00000       9.00000       0.00000
 95 s0    0       5.00000       9.00000       0.00000
 96 s0    0       6.00000       9.00000       0.00000
 97 s0    0       7.00000       9.00000       0.00000
 98 s0    0       8.00000       9.00000       0.00000
 99 s0    0       9.00000       9.00000       0.00000
 ================================================================
 Bonds (from input)
   1   1   0   0.0000000   0.0000000   0.0000000
   2   2   0   1.0000000   0.0000000   0.0000000
   3  -2   0  -1.0000000   0.0000000   0.0000000
   4   3   0   1.0000000   1.0000000   0.0000000
   5  -3   0  -1.0000000  -1.0000000   0.0000000
   6   4   0   0.0000000   1.0000000   0.0000000
   7  -4   0   0.0000000  -1.0000000   0.0000000
   8   5   0  -1.0000000   1.0000000   0.0000000
   9  -5   0   1.0000000  -1.0000000   0.0000000
 Wave coefficients
                 1         2         3         4         5         6         7         8         9
 s-wave       1.00000   0.00000   0.00000   0.00000   0.00000   0.00000   0.00000   0.00000   0.00000
 s*-wave      0.00000   0.50000   0.50000   0.00000   0.00000   0.50000   0.50000   0.00000   0.00000
 s**-wave     0.00000   0.00000   0.00000   0.50000   0.50000   0.00000   0.00000   0.50000   0.50000
 d-wave       0.00000   0.50000   0.50000   0.00000   0.00000  -0.50000  -0.50000   0.00000   0.00000
 d*-wave      0.00000   0.00000   0.00000   0.50000   0.50000   0.00000   0.00000  -0.50000  -0.50000
============================================================================
 Warning: gamma wasn't initialized,  used default setting.
 Warning: accept wasn't initialized, used default setting.
 Warning: reject wasn't initialized, used default setting.
 Warning: HSFtype wasn't initialized, used default setting.
 Warning: delta1 wasn't initialized,  used default setting.
 Warning: delta2 wasn't initialized,  used default setting.
 Warning: ssxx wasn't initialized, used default setting.
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image              PC                Routine            Line        Source      

ggeom              00000000006766E9  Unknown               Unknown  Unknown
ggeom              0000000000675060  Unknown               Unknown  Unknown
ggeom              0000000000624E82  Unknown               Unknown  Unknown
ggeom              00000000005DF703  Unknown               Unknown  Unknown
ggeom              00000000005E36FB  Unknown               Unknown  Unknown
libpthread.so.0    00007F6C78BE6BB0  Unknown               Unknown  Unknown
ggeom              00000000006839C6  Unknown               Unknown  Unknown
ggeom              000000000056D3CB  Unknown               Unknown  Unknown
ggeom              000000000056AD9E  Unknown               Unknown  Unknown
ggeom              00000000005C7E6D  Unknown               Unknown  Unknown
ggeom              000000000045BAE6  Unknown               Unknown  Unknown
ggeom              0000000000403F1F  Unknown               Unknown  Unknown
ggeom              0000000000403B26  Unknown               Unknown  Unknown
libc.so.6          00007F6C7852CDE5  Unknown               Unknown  Unknown
ggeom              0000000000403A19  Unknown               Unknown  Unknown

Original issue reported on code.google.com by iglovi...@gmail.com on 10 Feb 2014 at 7:19

Attachments:

GoogleCodeExporter commented 9 years ago
When I use make.inc.gcc I get a bit different error message:

...
 Warning: gamma wasn't initialized,  used default setting.
 Warning: accept wasn't initialized, used default setting.
 Warning: reject wasn't initialized, used default setting.
 Warning: HSFtype wasn't initialized, used default setting.
 Warning: delta1 wasn't initialized,  used default setting.
 Warning: delta2 wasn't initialized,  used default setting.
 Warning: ssxx wasn't initialized, used default setting.

Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

Backtrace for this error:
#0  0x7F68C70FA7D7
#1  0x7F68C70FADDE
#2  0x7F68C6835FEF
#3  0x7F68C694E4E5
#4  0x46CCC6 in gfun::stratification(double*, int, double*, int, double*, 
double*, double*, double*)
#5  0x46D34F in gfun::computeg(double*, int, double*, int, double*, double*, 
double*)
#6  0x46E273 in cpp_gfun_computeg_
#7  0x4A5CCF in __dqmc_gfun_MOD_dqmc_getg
#8  0x4413B8 in __dqmc_hubbard_MOD_dqmc_hub_sweep2
#9  0x402674 in MAIN__ at ggeom.F90:?
[1]    24659 segmentation fault (core dumped)  ./ggeom L10_mu0_1392059069.51.in

----
If I use nwrap = 4 or 6, everything works. But 5, does not.

Original comment by iglovi...@gmail.com on 10 Feb 2014 at 7:22

GoogleCodeExporter commented 9 years ago
When ASQRD is enabled and fix wrap is set to 1, north and nwrap cannot be equal.

Original comment by cxc639 on 10 Feb 2014 at 11:20

GoogleCodeExporter commented 9 years ago

Original comment by cxc639 on 10 Feb 2014 at 11:22

GoogleCodeExporter commented 9 years ago
Thank you. But still it is a bug, in sense that program should tell me 
something:

"
When ASQRD is enabled and fix wrap is set to 1, north and nwrap cannot be equal.
fixwrap = 1
nwrap = 5
north = 5
"
and not:

"
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
"

Original comment by iglovi...@gmail.com on 11 Feb 2014 at 12:02