Finally, I decided to remove openblas from /usr/lib and I installed it in a custom directory not in the PATH and it works fine. Thanks again for the valrgrind tips
On Sun, Apr 14, 2013 at 2:01 PM, Ahmadou Dicko <dicko.ahmadou(a)gmail.com>wrote: > I checked with Valgrind and you were right about lapack and It's related > to my openblas (built which 64 bit interface) > I have something like this when check for restriction on lfp (lfp=0) in my > example > > ==26438== Process terminating with default action of signal 11 (SIGSEGV) > ==26438== Bad permissions for mapped region at address 0x9EBD000 > ==26438== at 0x55E1CC4: idamax_k (in /usr/lib/ > libopenblas_sandybridgep-r0.2.6.so) > ==26438== by 0x5B275A6: dgetf2_ (in /usr/lib/liblapack.so) > ==26438== by 0x5B27D00: dgetrf_ (in /usr/lib/liblapack.so) > ==26438== by 0x4F24468: gretl_invert_general_matrix > (gretl_matrix.c:7111) > ==26438== by 0x4F442ED: check_R_matrix (gretl_restrict.c:100) > ==26438== by 0x4F4645B: test_restriction_set (gretl_restrict.c:2285) > ==26438== by 0x4F47FBA: gretl_restriction_finalize_full > (gretl_restrict.c:2469) > ==26438== by 0x4F5BA68: gretl_cmd_exec (interact.c:4847) > ==26438== by 0x40442C: exec_line (gretlcli.c:1113) > ==26438== by 0x403295: main (gretlcli.c:611) > > When I do the same example as above is just complained that the matrix is > singular. > > > > > > On Sun, Apr 14, 2013 at 12:57 PM, Ahmadou Dicko > <dicko.ahmadou(a)gmail.com>wrote: > >> I have the version 3.4.2.1 of lapack >> I don't if it is related but I also use openblas as blas. >> >> >> On Sun, Apr 14, 2013 at 12:50 PM, Riccardo (Jack) Lucchetti < >> r.lucchetti(a)univpm.it> wrote: >> >>> On Sun, 14 Apr 2013, Riccardo (Jack) Lucchetti wrote: >>> >>> Uhm, that's strange. The script you sent runs fine here. What are your >>>> configure options? Also, could you try running the script that provokes the >>>> segfault under valgrind and see what happens? >>>> >>> >>> Wild guess: something strange may be happening when doing QR >>> decomposition. What version of lapack are you using? >>> >>> >>> ------------------------------**------------------------- >>> Riccardo (Jack) Lucchetti >>> Dipartimento di Scienze Economiche e Sociali (DiSES) >>> >>> Università Politecnica delle Marche >>> (formerly known as Università di Ancona) >>> >>> r.lucchetti(a)univpm.it >>> >>> http://www2.econ.univpm.it/**servizi/hpp/lucchetti<http://www2.econ.univpm.it/servizi/hpp/lucchetti> >>> ------------------------------**------------------------- >>> >>> _______________________________________________ >>> Gretl-users mailing list >>> Gretl-users(a)lists.wfu.edu >>> http://lists.wfu.edu/mailman/listinfo/gretl-users >>> >> >> >> >> -- >> Ahmadou H. DICKO >> statistician and applied economist >> PhD student in Climate change economics >> Faculty of economics and managment - Cheikh Anta Diop University >> West African Science Service Center on Climate Change and Adaptated Land >> Use (WASCAL) >> Center for Development Research (ZEF) - University of Bonn >> twitter : @dickoah >> github : github/dickoa >> tel : +221 33 827 55 16 >> portable: +221 77 123 81 69 >> > > > > -- > Ahmadou H. DICKO > statistician and applied economist > PhD student in Climate change economics > Faculty of economics and managment - Cheikh Anta Diop University > West African Science Service Center on Climate Change and Adaptated Land > Use (WASCAL) > Center for Development Research (ZEF) - University of Bonn > twitter : @dickoah > github : github/dickoa > tel : +221 33 827 55 16 > portable: +221 77 123 81 69 > -- Ahmadou H. DICKO statistician and applied economist PhD student in Climate change economics Faculty of economics and managment - Cheikh Anta Diop University West African Science Service Center on Climate Change and Adaptated Land Use (WASCAL) Center for Development Research (ZEF) - University of Bonn twitter : @dickoah github : github/dickoa tel : +221 33 827 55 16 portable: +221 77 123 81 69
Finally, I decided to remove openblas from /usr/lib and I installed it in a custom directory not in the PATH and it works fine.
Thanks again for the valrgrind tipsOn Sun, Apr 14, 2013 at 2:01 PM, Ahmadou Dicko <dicko.ahma...@gmail.com> wrote:
When I do the same example as above is just complained that the matrix is singular.I checked with Valgrind and you were right about lapack and It's related to my openblas (built which 64 bit interface)I have something like this when check for restriction on lfp (lfp=0) in my example
==26438== Process terminating with default action of signal 11 (SIGSEGV)
==26438== Bad permissions for mapped region at address 0x9EBD000
==26438== at 0x55E1CC4: idamax_k (in /usr/lib/libopenblas_sandybridgep-r0.2.6.so)
==26438== by 0x5B275A6: dgetf2_ (in /usr/lib/liblapack.so)
==26438== by 0x5B27D00: dgetrf_ (in /usr/lib/liblapack.so)
==26438== by 0x4F24468: gretl_invert_general_matrix (gretl_matrix.c:7111)
==26438== by 0x4F442ED: check_R_matrix (gretl_restrict.c:100)
==26438== by 0x4F4645B: test_restriction_set (gretl_restrict.c:2285)
==26438== by 0x4F47FBA: gretl_restriction_finalize_full (gretl_restrict.c:2469)
==26438== by 0x4F5BA68: gretl_cmd_exec (interact.c:4847)
==26438== by 0x40442C: exec_line (gretlcli.c:1113)
==26438== by 0x403295: main (gretlcli.c:611)On Sun, Apr 14, 2013 at 12:57 PM, Ahmadou Dicko <dicko.ahma...@gmail.com> wrote:
I have the version 3.4.2.1 of lapack
I don't if it is related but I also use openblas as blas.
On Sun, Apr 14, 2013 at 12:50 PM, Riccardo (Jack) Lucchetti <r.lucche...@univpm.it> wrote:
_______________________________________________On Sun, 14 Apr 2013, Riccardo (Jack) Lucchetti wrote:Wild guess: something strange may be happening when doing QR decomposition. What version of lapack are you using?
Uhm, that's strange. The script you sent runs fine here. What are your configure options? Also, could you try running the script that provokes the segfault under valgrind and see what happens?
-------------------------------------------------------
Riccardo (Jack) Lucchetti
Dipartimento di Scienze Economiche e Sociali (DiSES)
Università Politecnica delle Marche
(formerly known as Università di Ancona)
r.lucche...@univpm.it
http://www2.econ.univpm.it/servizi/hpp/lucchetti
-------------------------------------------------------
Gretl-users mailing list
gretl-us...@lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users
--Ahmadou H. DICKO
statistician and applied economist
PhD student in Climate change economics
Faculty of economics and managment - Cheikh Anta Diop University
West African Science Service Center on Climate Change and Adaptated Land Use (WASCAL)
Center for Development Research (ZEF) - University of Bonn
twitter : @dickoah
github : github/dickoa
tel : +221 33 827 55 16
portable: +221 77 123 81 69
--Ahmadou H. DICKO
statistician and applied economist
PhD student in Climate change economics
Faculty of economics and managment - Cheikh Anta Diop University
West African Science Service Center on Climate Change and Adaptated Land Use (WASCAL)
Center for Development Research (ZEF) - University of Bonn
twitter : @dickoah
github : github/dickoa
tel : +221 33 827 55 16
portable: +221 77 123 81 69
--
Ahmadou H. DICKO
statistician and applied economist
PhD student in Climate change economics
Faculty of economics and managment - Cheikh Anta Diop University
West African Science Service Center on Climate Change and Adaptated Land Use (WASCAL)
Center for Development Research (ZEF) - University of Bonn
twitter : @dickoah
github : github/dickoa
tel : +221 33 827 55 16
portable: +221 77 123 81 69
statistician and applied economist
PhD student in Climate change economics
Faculty of economics and managment - Cheikh Anta Diop University
West African Science Service Center on Climate Change and Adaptated Land Use (WASCAL)
Center for Development Research (ZEF) - University of Bonn
twitter : @dickoah
github : github/dickoa
tel : +221 33 827 55 16
portable: +221 77 123 81 69