[Beowulf] Threaded code

Joe Landman landman at scalableinformatics.com
Tue Aug 17 11:06:42 EDT 2004


Hi Art:

  Ok, check the usual suspects:

    ldd /path/to/binary

Do you see libpthread.so linked in?  What are your environment 
variables? (do you have an NCPU=1 or something like that hanging around?)

Are you sure you are using only one CPU (e.g. what tests are you using 
that indicate a single CPU)?

Joe

Art Edwards wrote:

>We are running SuSE 9.1 on a system with 8 GB of ram and two scsi disks.
>Here is /proc/cpuinfo
>processor       : 0
>vendor_id       : AuthenticAMD
>cpu family      : 15
>model           : 5
>model name      : AMD Opteron(tm) Processor 244
>stepping        : 10
>cpu MHz         : 1791.443
>cache size      : 1024 KB
>fpu             : yes
>fpu_exception   : yes
>cpuid level     : 1
>wp              : yes
>flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
>mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext lm
>3dnowext 3dnow
>bogomips        : 3522.56
>TLB size        : 1088 4K pages
>clflush size    : 64
>address sizes   : 40 bits physical, 48 bits virtual
>power management: ts fid vid ttp
>
>processor       : 1
>vendor_id       : AuthenticAMD
>cpu family      : 15
>model           : 5
>model name      : AMD Opteron(tm) Processor 244
>stepping        : 10
>cpu MHz         : 1791.443
>cache size      : 1024 KB
>fpu             : yes
>fpu_exception   : yes
>cpuid level     : 1
>wp              : yes
>flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
>mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext lm
>3dnowext 3dnow
>bogomips        : 3579.90
>TLB size        : 1088 4K pages
>clflush size    : 64
>address sizes   : 40 bits physical, 48 bits virtual
>power management: ts fid vid ttp
>
>uname -a gives
>
>Linux bladerunner 2.6.4-52-smp #1 SMP Wed Apr 7 01:58:54 UTC 2004 x86_64
>x86_64 x86_64 GNU/Linux
>
>Let me know anything else that would be useful.
>
>Art Edwards
>On Tue, Aug 17, 2004 at 09:17:58AM -0400, Samuelson, Frank* wrote:
>  
>
>>You'll want to supply more details, like
>>what system, etc.  What does /proc/cpuinfo say?
>>
>>
>>-----Original Message-----
>>From: Art Edwards [mailto:arthur.edwards at kirtland.af.mil] 
>>Sent: Monday, August 16, 2004 7:30 PM
>>To: beowulf at beowulf.org
>>Subject: [Beowulf] Threaded code
>>
>>
>>Newbie question:
>>
>>We just purchased a dual opteron box that is running an SMP kernel. We
>>have built a fortran code using g77 and a pthreaded atlas. Currently, we
>>see only one processor. What really simple thing have we missed?
>>
>>Art Edwards
>>
>>-- 
>>Art Edwards
>>Senior Research Physicist
>>Air Force Research Laboratory
>>Electronics Foundations Branch
>>KAFB, New Mexico
>>
>>(505) 853-6042 (v)
>>(505) 846-2290 (f)
>>_______________________________________________
>>Beowulf mailing list, Beowulf at beowulf.org
>>To change your subscription (digest mode or unsubscribe) visit
>>http://www.beowulf.org/mailman/listinfo/beowulf
>>    
>>
>
>  
>


-- 
Joseph Landman, Ph.D
Founder and CEO
Scalable Informatics LLC,
email: landman at scalableinformatics.com
web  : http://www.scalableinformatics.com
phone: +1 734 612 4615

_______________________________________________
Beowulf mailing list, Beowulf at beowulf.org
To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf



More information about the Beowulf mailing list