Question about target processor for Opteron 6128

I’m using PGI CDK on a cluster with Opteron 6128 processors. I would like to know if “-tp = k8-64e” or something else is the optimal target for this processor. Thanks in advance.

Processor info:™+6100+Series+Processor

Wikipedia tells me it’s a 45nm Magny-Cours family processor.

/proc/cpuinfo :
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nonstop_tsc extd_apicid amd_dcm pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt nodeid_msr npt lbrv svm_lock nrip_save

Does this mean istanbul-64 is the ideal choice although the processor belongs to Magny-Cours family?

$ pgcpuid 
vendor id       : AuthenticAMD
model name      : AMD Opteron(tm) Processor 6128
cores           : 8
cpu family      : 16
model           : 9
stepping        : 1
processor count : 8
clflush size    : 8
apic physical ID: 37
L2 cache size   : 512KB
L3 cache size   : 10MB
flags           : abm apic cflush cmov cx8 de fpu fxsr fxsropt ht lm mca mce
flags           : mmx mmx-amd monitor msr mas mtrr nx pae pat pge pse pseg36
flags           : sep sse sse2 sse3 sse4a cx16 popcnt syscall tsc vme 3dnow
flags           : 3dnowext
type            : -tp istanbul-64

Hi sarats,

Are you building your application on the target system? If so, just leave the “-tp” off since the compiler will default to targeting the build system.

You can also use the PGI utility “pgcpuid” or “-V” to see what the compiler thinks the target system is. Note we treat Mangy-cours the same as an Istanbul since Mangy-Cours is essentially two Istanbuls on the same die.

  • Mat

Hi Mat,

My second post above shows the output of pgcpuid. So I guess ‘istanbul-64’ is the right option for this platform. Thanks for your quick response.