[hwloc-users] ? Finding cache & pci info on SPARC/Solaris 11.3
Just built hwloc-1.11.7 on Solaris 11.3 & SPARC T7-2. Should finding cache & pci info work? Not sure if I missed some build flags as I just did a vanilla build. Poked around in the mailist user and devel archives but didnt’ find anything. Build script #!/bin/sh export CC=/opt/developerstudio12.5/bin/cc export CFLAGS="-m64 -O3" ./configure 2>&1 | tee build.out make install 2>&1 | tee -a build.out bash-4.3$ HWLOC_COMPONENTS_VERBOSE=1 /usr/local/bin/hwloc-info -v Registered cpu discovery component `no_os' with priority 40 (statically build) Registered global discovery component `xml' with priority 30 (statically build) Registered global discovery component `synthetic' with priority 30 (statically build) Registered global discovery component `custom' with priority 30 (statically build) Registered cpu discovery component `solaris' with priority 50 (statically build) Registered misc discovery component `pci' with priority 20 (statically build) Enabling cpu discovery component `solaris' Enabling cpu discovery component `no_os' Excluding global discovery component `xml', conflicts with excludes 0x2 Excluding global discovery component `synthetic', conflicts with excludes 0x2 Excluding global discovery component `custom', conflicts with excludes 0x2 Enabling misc discovery component `pci' Final list of enabled discovery components: solaris,no_os,pci depth 0:1 Machine (type #1) depth 1: 2 NUMANode (type #2) depth 2: 2 Package (type #3) depth 3: 64 Core (type #5) depth 4:512 PU (type #6) Disabling cpu discovery component `solaris' Disabling cpu discovery component `no_os' Disabling misc discovery component `pci’ bash-4.3$ /usr/sbin/prtpicl -v -c cpu | grep -i cache-size | sort | uniq :l1-dcache-size16384 :l1-icache-size16384 :l2-dcache-size262144 :l2-icache-size262144 :l3-cache-size 8388608 TIA- —maureen___ hwloc-users mailing list hwloc-users@lists.open-mpi.org https://rfd.newmexicoconsortium.org/mailman/listinfo/hwloc-users
Re: [hwloc-users] ? Finding cache & pci info on SPARC/Solaris 11.3
Hello, Maureen Chew, on jeu. 08 juin 2017 10:51:56 -0400, wrote: > Should finding cache & pci info work? AFAWK, there is no user-available way to get cache information on Solaris, so it's not implemented in hwloc. Concerning pci, you need libpciaccess to get PCI information. Samuel ___ hwloc-users mailing list hwloc-users@lists.open-mpi.org https://rfd.newmexicoconsortium.org/mailman/listinfo/hwloc-users
Re: [hwloc-users] ? Finding cache & pci info on SPARC/Solaris 11.3
Le 08/06/2017 16:58, Samuel Thibault a écrit : > Hello, > > Maureen Chew, on jeu. 08 juin 2017 10:51:56 -0400, wrote: >> Should finding cache & pci info work? > AFAWK, there is no user-available way to get cache information on > Solaris, so it's not implemented in hwloc. And even if prtpicl reports some information using the PICL API, I don't think it says how caches are shared between cores. > Concerning pci, you need libpciaccess to get PCI information. > And usually you need root access (I think it looks inside /devices/pci* where files are root-only). Brice ___ hwloc-users mailing list hwloc-users@lists.open-mpi.org https://rfd.newmexicoconsortium.org/mailman/listinfo/hwloc-users