From 85e67c18a4cf420c9c721a24b985613516bde6a7 Mon Sep 17 00:00:00 2001 From: EdwardBerman <10emb29@gmail.com> Date: Mon, 15 Jan 2024 10:41:48 -0500 Subject: [PATCH] check for threads --- TutorialNotebook.ipynb | 35 ++++++++--------------------------- 1 file changed, 8 insertions(+), 27 deletions(-) diff --git a/TutorialNotebook.ipynb b/TutorialNotebook.ipynb index 9ef45c7..09ba475 100644 --- a/TutorialNotebook.ipynb +++ b/TutorialNotebook.ipynb @@ -21,28 +21,6 @@ "using PyCall" ] }, - { - "cell_type": "code", - "execution_count": 1, - "id": "1332ef0d-6e31-4194-91f8-5ee721b0b592", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "4" - ] - }, - "execution_count": 1, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "using Base.Threads\n", - "nthreads()" - ] - }, { "cell_type": "code", "execution_count": null, @@ -57,25 +35,28 @@ }, { "cell_type": "code", - "execution_count": 11, - "id": "6e7cd651-266f-466f-b98a-a793696c07e2", + "execution_count": 4, + "id": "1332ef0d-6e31-4194-91f8-5ee721b0b592", "metadata": {}, "outputs": [ { "data": { "text/plain": [ - "1" + "4" ] }, - "execution_count": 11, + "execution_count": 4, "metadata": {}, "output_type": "execute_result" } ], "source": [ "# Make sure `export JULIA_NUM_THREADS=4` was been ran in terminal\n", + "\n", + "using Base.Threads\n", "nthreads()\n", - "run(`julia shopt.jl [configdir] [outdir] [catalog]`)" + "\n", + "#run(`julia shopt.jl [configdir] [outdir] [catalog]`)" ] }, {