From owner-freebsd-ports@FreeBSD.ORG Fri Apr 2 18:30:10 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DBE8116A4CF for ; Fri, 2 Apr 2004 18:30:10 -0800 (PST) Received: from outbound2.mail.tds.net (outbound2.mail.tds.net [216.170.230.92]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6DF4443D39 for ; Fri, 2 Apr 2004 18:30:10 -0800 (PST) (envelope-from rpvoland@facstaff.wisc.edu) Received: from facstaff.wisc.edu (mdsnwi13-vlan436-73.dsl.tds.net [66.222.30.73])i332U3LO006124 for ; Fri, 2 Apr 2004 20:30:09 -0600 (CST) Message-ID: <406E21A0.1020506@facstaff.wisc.edu> Date: Fri, 02 Apr 2004 20:29:52 -0600 From: Rick Voland User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040208 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: math/atlas not detecting second CPU X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: rpvoland@spamcop.net List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Apr 2004 02:30:11 -0000 math/atlas-3.6.0,1 fails during install ("unable to get timings in tolerance") and I noticed that the FreeBSD port for ATLAS does not detect my second CPU even though the original ATLAS program does detect both my CPUs. The latest fix to the port on March 30 at least allows configuration to complete. ############ original ATLAS program ATLAS can provide SMP support for the Level 3 BLAS via Posix threads. If you choose to build a threaded library, ATLAS will compile all aspects of the library (including the serial components) with the threaded compiler/link flags. Most machines can use the serial library even when it is compiled with threaded options, but this is not guaranteed to work, so if you want a true serial library, answer no to threading below. enable Posix threads support? [y]: Number of CPUs: 2 ############ end of piece from original ATLAS ################ FreeBSD port ATLAS 3.6.0,1 Probing for architecture: Architecture is set to P5MMX Probing for supported ISA extensions: AltiVec: NO. AltiVec: NO. SSE2: NO. SSE1: NO. 3DNow2: NO. 3DNow1: NO. Number of CPUs: 1 ############end of piece from FreeBSD port $ uname -a FreeBSD brian.local.bsd 4.9-RELEASE-p3 FreeBSD 4.9-RELEASE-p3 #0: Thu Mar 11 19:28:02 CST 2004 root@brian.local.bsd:/usr/obj/usr/src/sys/BRIAN i386 architecture is P5_MMX (2 x i586 MMX; SMP) $ diff BRIAN GENERIC 18c18 < # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.246.2.51.2.2 2003/03/25 23:35:15 jhb Exp $ --- > # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.246.2.54 2003/04/28 03:41:46 simokaw a Exp $ 21,22c21,22 < #cpu I386_CPU < #cpu I486_CPU --- > cpu I386_CPU > cpu I486_CPU 24,25c24,25 < #cpu I686_CPU < ident BRIAN --- > cpu I686_CPU > ident GENERIC 64,65c64,65 < options SMP # Symmetric MultiProcessor Kernel < options APIC_IO # Symmetric (APIC) I/O --- > #options SMP # Symmetric MultiProcessor Kernel > #options APIC_IO # Symmetric (APIC) I/O 266a267,271 > > # FireWire support > device firewire # FireWire bus code > device sbp # SCSI over FireWire (Requires scbus and da) > device fwe # Ethernet over FireWire (non-standard!) $ -- rpvoland@spamcop.net