Skip to content

Commit

Permalink
check for threads
Browse files Browse the repository at this point in the history
  • Loading branch information
EdwardBerman committed Jan 15, 2024
1 parent 5e6aac1 commit 85e67c1
Showing 1 changed file with 8 additions and 27 deletions.
35 changes: 8 additions & 27 deletions TutorialNotebook.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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]`)"
]
},
{
Expand Down

0 comments on commit 85e67c1

Please sign in to comment.