From nobody Sun Nov 13 19:53:33 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4N9NRL33B6z4fgBF for ; Sun, 13 Nov 2022 19:53:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4N9NRK6Qnnz4FT8 for ; Sun, 13 Nov 2022 19:53:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668369213; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Lk6iKJcBWMpwvzelAwzL5zXSyY//xowiad4dYPXGItY=; b=xZ+9pFIyWWAe8vs+Mlhexn8FtEpZFTbr7IeuiGtOibev79GHzgMvEVWGJeSYugXrQmTtbD CUpmNn3Fw/WZPLRdAxcNrNWVtTPS2Y4BIUP9Tdf5f9sdYWfw45o5bQBjQ0VNobCHF5eMoc EYaXCFnFv1cniD7K1WUSjjcYLWXtT3lGwPY90bpZUJMT9/lLE+79daRbYD++bcVlR9wbP8 49yiYAOTJwGsumk0d5/lDiNNuHi/BQe8ZaFfDoVTmf4JTmHCU6EdydMpdG84nneKnfK5/Q 7jecvnNI/SZnCP8DrpjIQSukifcPshuHcJvAJdIAJrdO4ehZVNKB4HKPiA9lfw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1668369213; a=rsa-sha256; cv=none; b=YDgpeQB7CxhTtfduRz4Bv/wWA8cu/BItWZvaGiv74zP63A/E33VPv8V89lr6B3N8uNNkKz 4ZXgg3EKeDLEXgtHDjrgOSufIzl/Fp0bK9rlMMykTTmalUbiJk9TUcfPaFsQoSnDqJUcGj /jEFsuxGqdTNiY3TrTgiWh+Zyd3YzcClJcz+DkHNwl57FKDT4IlI0HgY/HhL5W2zoPjLXS pjdipFgtOxl0S0zfzk9kWvH7atDkgFoz779IpcaBO+YxqqfUF90Q5dggvaET8OSUsfoiFM R0ccT+mqcx2PwrlK9oGOZLpQ+ISrsSvkT7Bprp8CYnUOnHtRiNuUk6/yy76ggg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4N9NRK5Sq9zFHh for ; Sun, 13 Nov 2022 19:53:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2ADJrXFj052479 for ; Sun, 13 Nov 2022 19:53:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2ADJrXl8052477 for bugs@FreeBSD.org; Sun, 13 Nov 2022 19:53:33 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 267750] omp_set_num_threads fails to set number of threads Date: Sun, 13 Nov 2022 19:53:33 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 13.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: yuri@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267750 Bug ID: 267750 Summary: omp_set_num_threads fails to set number of threads Product: Base System Version: 13.1-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: yuri@freebsd.org This program: > #include >=20 > int main(int, char* []) { > omp_set_num_threads(4); > std::cout << "ncpu=3D" << omp_get_num_threads() << std::endl; > } prints: > ncpu=3D1 instead of=20 > ncpu=3D4 --=20 You are receiving this mail because: You are the assignee for the bug.=