search for: cpu_count

Displaying 19 results from an estimated 19 matches for "cpu_count".

Did you mean: vcpu_count
2017 Oct 04
7
Minimal glibc version supported by LLVM build
Hi All, The landed patch https://reviews.llvm.org/D38481 introduced the usage of CPU_COUNT defined in glibc sched.h header. I failed to find this symbol in sched.h of glibc version 2.5-24, so compilation just fails. /home/dolphin/merge-from-upstream-area/ws/pristine/lib/Support/Threading.cpp: In function 'unsigned int llvm::hardware_concurrency()': /home/dolphin/merge-from-upstre...
2017 Oct 04
2
Minimal glibc version supported by LLVM build
....4 which is derived from REHL 6. This appears to break on anything REHL 6 (or earlier) derived. I think this patch needs to be reverted. Thoughts? Philip On 10/04/2017 12:08 AM, Serguei Katkov via llvm-dev wrote: Hi All, The landed patch https://reviews.llvm.org/D38481 introduced the usage of CPU_COUNT defined in glibc sched.h header. I failed to find this symbol in sched.h of glibc version 2.5-24, so compilation just fails. /home/dolphin/merge-from-upstream-area/ws/pristine/lib/Support/Threading.cpp: In function ‘unsigned int llvm::hardware_concurrency()’: /home/dolphin/merge-from-upstream-area/...
2017 Oct 04
2
Minimal glibc version supported by LLVM build
...7 at 12:08 AM, Serguei Katkov via llvm-dev > <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote: > > Hi All, > > The landed patch https://reviews.llvm.org/D38481 > <https://reviews.llvm.org/D38481> introduced the usage of > CPU_COUNT defined in glibc sched.h header. > > I failed to find this symbol in sched.h of glibc version 2.5-24, > so compilation just fails. > > /home/dolphin/merge-from-upstream-area/ws/pristine/lib/Support/Threading.cpp: > In function ‘unsigned int llvm::hardware_concurren...
2012 Apr 06
1
XCP Host CPU masking
Okay, joining hosts to a pool, cant seem to be completed due to different cpu types, research i should be able to mask one can anyone confirm this is doable with these two boxes, and if so which should be masked to which ?? xe host-cpu-info cpu_count : 8 vendor: GenuineIntel speed: 2493.790 modelname: Intel(R) Xeon(R) CPU L5420 @ 2.50GHz family: 6 model: 23 stepping: 10 flags: fpu de tsc msr pae m...
2017 Oct 04
2
Minimal glibc version supported by LLVM build
...operating system you > are using now. > > On Wed, Oct 4, 2017 at 12:08 AM, Serguei Katkov via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > >> Hi All, >> >> >> >> The landed patch https://reviews.llvm.org/D38481 introduced the usage of >> CPU_COUNT defined in glibc sched.h header. >> >> I failed to find this symbol in sched.h of glibc version 2.5-24, so >> compilation just fails. >> >> /home/dolphin/merge-from-upstream-area/ws/pristine/lib/Support/Threading.cpp: >> In function ‘unsigned int llvm::hardware_c...
2016 Feb 23
2
Can lit be upgraded to assume Python 2.7?
In the root llvm/CMakeLists.txt we have: if( ${PYTHON_VERSION_STRING} VERSION_LESS 2.7 ) message(FATAL_ERROR "Python 2.7 or newer is required") endif() But lit seems to still be stuck in a Python 2.5 world. For example, detectCPUs is redundant now that we have multiprocessing.cpu_count() (multiprocessing requires >=2.6). And there are a bunch of other Python 2.5 workarounds floating around inside lit. I'm actually not sure if there are 2.6 workarounds. Anyway, does anybody know if somehow, despite the CMake check, lit is still being run with Python <2.7 on any bots or...
2012 May 17
2
r-devel fails tests for parallel
...('parallel') Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared object '/hpscc/usr/local/gcc-4.1.2/build/R/R-devel-build/library/parallel/libs/parallel.so': /hpscc/usr/local/gcc-4.1.2/build/R/R-devel-build/library/parallel/libs/parallel.so: undefined symbol: CPU_COUNT Error: package/namespace load failed for ?parallel? Execution halted I am building on Red Hat Enterprise Linux version 4, using # gcc --version gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-51) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions...
2016 Feb 24
3
Can lit be upgraded to assume Python 2.7?
...eLists.txt we have: > > if( ${PYTHON_VERSION_STRING} VERSION_LESS 2.7 ) > message(FATAL_ERROR "Python 2.7 or newer is required") > endif() > > But lit seems to still be stuck in a Python 2.5 world. For example, detectCPUs is redundant now that we have multiprocessing.cpu_count() (multiprocessing requires >=2.6). And there are a bunch of other Python 2.5 workarounds floating around inside lit. I'm actually not sure if there are 2.6 workarounds. > > Anyway, does anybody know if somehow, despite the CMake check, lit is still being run with Python <2.7 on an...
2012 Apr 06
0
(no subject)
Okay, joining hosts to a pool, cant seem to be completed due to different cpu types, research i should be able to mask one can anyone confirm this is doable with these two boxes, and if so which should be masked to which ?? xe host-cpu-info cpu_count : 8 vendor: GenuineIntel speed: 2493.790 modelname: Intel(R) Xeon(R) CPU L5420 @ 2.50GHz family: 6 model: 23 stepping: 10 flags: fpu de tsc ms...
2016 Feb 24
0
Can lit be upgraded to assume Python 2.7?
...t;> if( ${PYTHON_VERSION_STRING} VERSION_LESS 2.7 ) >> message(FATAL_ERROR "Python 2.7 or newer is required") >> endif() >> >> But lit seems to still be stuck in a Python 2.5 world. For example, >> detectCPUs is redundant now that we have multiprocessing.cpu_count() >> (multiprocessing requires >=2.6). And there are a bunch of other Python 2.5 >> workarounds floating around inside lit. I'm actually not sure if there are >> 2.6 workarounds. >> >> Anyway, does anybody know if somehow, despite the CMake check, lit is >&gt...
2018 May 14
1
Unable to build 'lld' on Mac OS 10.9
...nv -- Looking for setenv - found -- Looking for dlopen -- Looking for dlopen - found -- Looking for dladdr -- Looking for dladdr - found -- Looking for __GLIBC__ -- Looking for __GLIBC__ - notfound -- Looking for sched_getaffinity -- Looking for sched_getaffinity -not found -- Looking for CPU_COUNT -- Looking for CPU_COUNT - notfound -- Looking for pthread_getname_np -- Looking for pthread_getname_np -found -- Looking for pthread_setname_np -- Looking for pthread_setname_np -found -- Performing TestHAVE_CXX_ATOMICS_WITHOUT_LIB -- Performing TestHAVE_CXX_ATOMICS_WITHOUT_LIB - Success -...
2013 Jun 25
6
Heterogeneous XCP 1.6 pool
Hi, I''ve been trying to use E5520 and X5650 together in an heterogeneous pool without success. I know the combination is not on the official XenServer supported list (http://hcl.xensource.com/CPUPoolsList.aspx), but I thought it would be possible to set the mask anyway and see for myself if the combination works… My problem is that the mask doesn''t "stick" after a
2010 May 24
0
[PATCH matahari] Moves the CPU properties into the Host API space.
...rtbeat(unsigned long timestamp) = 0; }; diff --git a/src/linux_platform.cpp b/src/linux_platform.cpp index fbcfdb9..b05a327 100644 --- a/src/linux_platform.cpp +++ b/src/linux_platform.cpp @@ -36,7 +36,7 @@ extern "C" { LinuxPlatform::LinuxPlatform() { - int core_count = 0; + int cpu_count = 0; string model = "unknown"; struct udev* udev = udev_new(); @@ -50,9 +50,9 @@ LinuxPlatform::LinuxPlatform() udev_list_entry_foreach(entry, entries) { - core_count++; + cpu_count++; } - set_number_of_cores(core_count); + se...
2015 Oct 26
3
[kvm-unit-tests PATCH] x86: hyperv_synic: Hyper-V SynIC test
...HV_X64_MSR_SIEFP, 0); + atomic_inc(&cpus_comp_count); +} + +int main(int ac, char **av) +{ + + if (synic_supported()) { + int ncpus, i; + + setup_vm(); + smp_init(); + setup_idt(); + enable_apic(); + + synic_prepare_sint_vecs(); + + ncpus = cpu_count(); + if (ncpus > MAX_CPUS) { + ncpus = MAX_CPUS; + } + printf("ncpus = %d\n", ncpus); + + atomic_set(&cpus_comp_count, 0); + for (i = 0; i < ncpus; i++) { + on_cpu_async(i, synic_test_prepare, (void *)read_cr3()); +...
2015 Oct 26
3
[kvm-unit-tests PATCH] x86: hyperv_synic: Hyper-V SynIC test
...HV_X64_MSR_SIEFP, 0); + atomic_inc(&cpus_comp_count); +} + +int main(int ac, char **av) +{ + + if (synic_supported()) { + int ncpus, i; + + setup_vm(); + smp_init(); + setup_idt(); + enable_apic(); + + synic_prepare_sint_vecs(); + + ncpus = cpu_count(); + if (ncpus > MAX_CPUS) { + ncpus = MAX_CPUS; + } + printf("ncpus = %d\n", ncpus); + + atomic_set(&cpus_comp_count, 0); + for (i = 0; i < ncpus; i++) { + on_cpu_async(i, synic_test_prepare, (void *)read_cr3()); +...
2019 Sep 17
2
Building LLVM with LLVM with no dependence on GCC
...UCT_STAT_ST_MTIMESPEC_TV_NSEC - Failed -- Performing Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC -- Performing Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC - Success -- Looking for __GLIBC__ -- Looking for __GLIBC__ - found -- Looking for sched_getaffinity -- Looking for sched_getaffinity - found -- Looking for CPU_COUNT -- Looking for CPU_COUNT - found -- Looking for pthread_getname_np -- Looking for pthread_getname_np - found -- Looking for pthread_setname_np -- Looking for pthread_setname_np - found -- Looking for ffi_call -- Looking for ffi_call - found -- Performing Test HAVE_STD_IS_TRIVIALLY_COPYABLE -- Perfo...
2015 Nov 02
0
[kvm-unit-tests PATCH] x86: hyperv_synic: Hyper-V SynIC test
...+int main(int ac, char **av) > +{ > + > + if (synic_supported()) { > + int ncpus, i; > + > + setup_vm(); > + smp_init(); > + setup_idt(); > + enable_apic(); > + > + synic_prepare_sint_vecs(); > + > + ncpus = cpu_count(); > + if (ncpus > MAX_CPUS) { > + ncpus = MAX_CPUS; > + } > + printf("ncpus = %d\n", ncpus); > + > + atomic_set(&cpus_comp_count, 0); > + for (i = 0; i < ncpus; i++) { > + on_cpu_async(i, synic...
2019 Sep 20
2
Building LLVM with LLVM with no dependence on GCC
...UCT_STAT_ST_MTIMESPEC_TV_NSEC - Failed -- Performing Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC -- Performing Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC - Success -- Looking for __GLIBC__ -- Looking for __GLIBC__ - found -- Looking for sched_getaffinity -- Looking for sched_getaffinity - found -- Looking for CPU_COUNT -- Looking for CPU_COUNT - found -- Looking for pthread_getname_np -- Looking for pthread_getname_np - found -- Looking for pthread_setname_np -- Looking for pthread_setname_np - found -- Looking for ffi_call -- Looking for ffi_call - found -- Performing Test HAVE_STD_IS_TRIVIALLY_COPYABLE -- Perfo...
2015 Dec 23
5
Calibre installation fails on C7
On Tue, Dec 22, 2015 at 09:03:28PM -0700, Wes James wrote: > > > On Dec 22, 2015, at 8:06 PM, Fred Smith <fredex at fcshome.stoneham.ma.us> wrote: > > > > Attempting to install latest Calibre on Centos-7, getting: > > > > typed in "calibre ssl install error? to google > > first hit: > >