From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 111153 invoked by alias); 8 Dec 2015 22:06:31 -0000 Mailing-List: contact gsl-discuss-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gsl-discuss-owner@sourceware.org Received: (qmail 111144 invoked by uid 89); 8 Dec 2015 22:06:31 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: na01-bn1-obe.outbound.protection.outlook.com Received: from mail-bn1bon0111.outbound.protection.outlook.com (HELO na01-bn1-obe.outbound.protection.outlook.com) (157.56.111.111) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA256 encrypted) ESMTPS; Tue, 08 Dec 2015 22:06:28 +0000 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=patrick.alken@colorado.edu; Received: from palken-co-ll.ngdc.noaa.gov (140.172.179.43) by DM2PR0301MB0910.namprd03.prod.outlook.com (10.160.217.140) with Microsoft SMTP Server (TLS) id 15.1.337.19; Tue, 8 Dec 2015 22:06:24 +0000 Subject: Re: 32-bit development To: References: From: Patrick Alken Message-ID: <56675456.2090403@colorado.edu> Date: Tue, 08 Dec 2015 22:06:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DM3PR10CA0019.namprd10.prod.outlook.com (25.164.12.29) To DM2PR0301MB0910.namprd03.prod.outlook.com (25.160.217.140) X-Microsoft-Exchange-Diagnostics: 1;DM2PR0301MB0910;2:IFb682eYh8QY+CALcOKqrcSPkOHHDQbRo/7Cno8n0CApEnjU0ScEJlUu9BX3eqYi0Ygv/yR9tSDg5daqScpcC3n7R1O2v4pPfdb7zUbu9vNPAIPFxUfUeRlO/gwKAmOt5PRsY2ZnfdWp786ByoOVOQ==;3:HirsYdFEjig/POpN4Ni/iycgcpTh3tT5wCW3oD+kgXiibIUFHLyrl5WmJhrI25Cty8ldpCdQSEw9sv8Av+tALzoG1/5vFAZp8/9Q2NaERe2UvC0AOpxd7mlmLKTwEsiy;25:IeEWLZXlgCSh2MstIjlllTowtv9jVKJME+cq9ABWa5u1KaetPSt8wGP9OErBsgdQfCvw6Usa9tjaYBDC/QmfDiEhryWnlYzEasUCgvyBPZdnSAkR3CcI/oVGTetBmrZhK80TATeGPq/88m2Ntb0VMpF3v7u6xkGVYCIJobvL5yXX2kOUmEl30cBk+9xBtYCMJnzypJOMavpVz7C2ypS9BZw9X4HBUu06VzVsjHYmivHCjNlPa/v96FHICstIigctZKQQXU6LljvXOOIhsKsFnQ==;4:+VC/BE+bNIzx+m1/OZBdxcEY8+pSfFKpfyYdmb6sguSil8IJUYf3qP2l12OJxhP4Ug5MdKylh9S0uFgsJV1o+Ri6i+0lWTK5EyFlVWkVoeqZGug0clv4wLN4EFpXhjAf2QkpG2E/YNayxH+PICoFqW3GFSbKdYkbt9YJk+EBQ3W0gIxKwCRL6LVqIefpp5e0HGj38gueNf9tsM4tqBg4yhp8hso6gfN6AHTt4mv+ZLgdagYdBYTgSmALUH9QItoEGvpF2bdgoVdJH5Essjb6hWAQqwDSQ2pLuerG2kLtTLAIk3gWgVUPKWDEIONBJviT5HAZrIgsfVz8Bsm1Xl6wfgMXdjx1ihYZj49+Km+X7gpmAsJgtYJE83jP4TfsNXuz X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DM2PR0301MB0910; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(2401047)(520078)(5005006)(8121501046)(3002001)(10201501046);SRVR:DM2PR0301MB0910;BCL:0;PCL:0;RULEID:;SRVR:DM2PR0301MB0910; X-Forefront-PRVS: 0784C803FD X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(6009001)(199003)(24454002)(189002)(479174004)(377454003)(164054003)(105586002)(42186005)(101416001)(189998001)(5001960100002)(110136002)(87976001)(64126003)(36756003)(106356001)(81156007)(4001350100001)(89122001)(97736004)(47776003)(2950100001)(75432002)(5004730100002)(2351001)(65956001)(92566002)(77096005)(107886002)(66066001)(59896002)(5008740100001)(23746002)(586003)(65806001)(83506001)(450100001)(117636001)(3846002)(230700001)(122386002)(54356999)(90282001)(6116002)(76176999)(50986999)(88552001)(40100003)(87266999)(99136001)(50466002)(1096002)(65816999)(62816006);DIR:OUT;SFP:1102;SCL:1;SRVR:DM2PR0301MB0910;H:palken-co-ll.ngdc.noaa.gov;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; Received-SPF: None (protection.outlook.com: colorado.edu does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1;DM2PR0301MB0910;23:g39ZCuMw/7OAK3kZOKmDzJm/rsFYi77wC2Y?= =?Windows-1252?Q?+6Bh2VTfyyUDorzlt0vihks9b4Z/CcsoKOljCPJy5NgrL4NeL+qy4h6M?= =?Windows-1252?Q?XUboubzLL/91bj/rfcFpXfWA6/CqY9ZcRxvPm0gOyD4LhMEOAV18oSoM?= =?Windows-1252?Q?n7lEqZQbVsf3ISojl5vbeCnMSt/Y+qzpUD6axCSzQYyPMfjQI6WYwmDX?= =?Windows-1252?Q?lqiwVEi7krUCRgljjo0YA3SA4KQCqDIbHfFb71u741jUY7JcY491/nFu?= =?Windows-1252?Q?juFP+pTEEtU636X7YUHxkIU6y4WArwBehv8riwp4eL+b4Zueli2uSsiX?= =?Windows-1252?Q?Ue+H1i8a+SJZ4OhmjTaN6VTq0Cy9M70RD7VcmX5aiK9BEXrfFQM28wAW?= =?Windows-1252?Q?QGLyG9gy9mW4ER+c/56TV6B8BU3Aqfywwsco9LZi3Zzzj8q5Vj5NDVoE?= =?Windows-1252?Q?MBkz5dHBxjMLg8dfFiqDQqCTQXo99pWsoxyAiK7Ycljmg/8KzCwpkNcC?= =?Windows-1252?Q?gTWkCGhIG1TQDNbPUSCgqbJm/xRfI0ik4JUk3gU7mUhYepQ/8ZBFLd9r?= =?Windows-1252?Q?J7gkRylLaVM0GpE2NH3BtgmYJoIxLUOm/CVRx4wAJEZTGNiRmARqqh8d?= =?Windows-1252?Q?W8Hhg85JRc6/1nBL+PXuSRUv5gHY+K112tvF2ktqK4X0XLOFGeaM/DlN?= =?Windows-1252?Q?pefqqTX3tdqHGG4IdTyZ1yfmElafIZ+LGH/EhzPNxOrly/Qv3fGa04jg?= =?Windows-1252?Q?JpQaheslRUzShsPpBMdzd/MbbZzQeaOQudDngPBotawsdbQ20dNH4JzK?= =?Windows-1252?Q?Zi+Q0PkWAhC18x7OCiyvFaBUXBqWoBahb8XWZ69z30cbeA1kW1M9esTS?= =?Windows-1252?Q?LYEs8wENepoi6PVrvQRSEPmXY6fd9NPethhbaGoiwHu5n7cS7xuDfK0K?= =?Windows-1252?Q?HuRqoX2lH2LJOXUJSfXjO9FjSp3eWDELgWb4rcn4N+wdgANqC0YPqyLi?= =?Windows-1252?Q?k7B7ZJBzWlS22LwRxVVe2g4ljWKuylWciymOCCC2YtFn9Jh1rwpaTQ+s?= =?Windows-1252?Q?tMIk3lT3+wRaW2f5pnJqPYh7OlkmfdIUNRgS/Woom0KXV/lYRDz/9LpB?= =?Windows-1252?Q?Oc7528QY6NZpHCbBlrUFe6/o3V+mlVbVpfuVw+qoy/s2xcX684raB4G6?= =?Windows-1252?Q?mQmo9OCCR0nwvjMJMYWAIw2PMjlFk6Nx4Lf7peH+NLKrVrR/jwxvjPMY?= =?Windows-1252?Q?7Ab6EXNPCd0ikB8EawfuDRsSuUgjhJqOF8JWWCH9q26kcTP3CgPs3+g5?= =?Windows-1252?Q?DBsHCN0E0PK0lhNEZwWHu25QecbWEhHJNzZESvBqOzyzK/KLbDz022VF?= =?Windows-1252?Q?6F4sfg6gycr1zTB55btJw0ZGvyzbwtMNDxGTv2XHlIa5bKM/gOxJVkt0?= =?Windows-1252?Q?odcIFQYmOUz13AzsLXwUbd2P6eOCJf5a2RxLIcNc5dQ0Z+urPEXiM5G6?= =?Windows-1252?Q?y3tHAvUY=3D?= X-Microsoft-Exchange-Diagnostics: 1;DM2PR0301MB0910;5:nqkFBHNl22V7YjLY1UrZBS6nsviyvY79jeli0Eq5kY9KRMVZ47JcfF1RKvGyxMiV24jEO0Wwx2P84DhNBjqVjgGkB0A3K8T1YIkQmnU/UEG+xWdVth8gQyhwndHdmwcBv8c7RKfhIAjZBcsUUFoAFg==;24:uiZuL9rbItiCs0qCYBwnFgYQEmAn9tx0B2vYiBoOE/yLpM6ItqEsRS6mVkSHcMiOl61Tb0MVX6ibiogDA92TVPBggbWThHFnvVI2dC8/pQ8= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: colorado.edu X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Dec 2015 22:06:24.0002 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR0301MB0910 X-SW-Source: 2015-q4/txt/msg00018.txt.bz2 Hi Bill, Yes I also reproduced the problem on an ubuntu system (compiling with the -m32 flag to gcc). I know in older versions of GSL (1.15 and earlier I think) the nonlinear least squares test suite was extremely primitive, so its likely the issue has existed for a long time, it just wasn't being tested thoroughly. In version 1.16, I added a lot of test problems (originally there were 4 test problems, now there are around 40. I don't know why the algorithm doesn't work well on 32 bit - the main algorithm was ported from MINPACK which is considered a highly robust implementation of Levenberg-Marquardt, so its puzzling why it would fail on 32 bit systems. Perhaps some insight could be gained by stepping through the iteration in a debugger using both a 32 and 64 bit build, to see why the results are diverging so dramatically. I'm sorry I haven't yet had a chance to look at your earlier patches. They are still on my todo list but currently I am extremely busy with other things. I will get to them as soon as I can! Thanks, Patrick On 12/08/2015 01:44 PM, Bill Maier wrote: > I started to look into bug #46593 "Multifit test failure in 32 bit mode". My > system is Linux Mint 64-bit, and it had problems building using the 32-bit > flags described in that bug write-up. I discovered I could fix this problem > by installing g++ multilib with the command > > sudo apt-get install g++-multilib > > after which the build went smoothly and I was able to duplicate the > stated problem. Not sure if the set-up for this is documented anywhere. > Besides 32-bit and 64-bit builds, are there any other build options that need to be > addressed during development? > > During this process I also discovered that the hypergeometric code I > wrote for bug #45926 had a similar test failure in 32-bit mode. I'll need to > investigate and fix before that code is ready for production. > > -Bill