Skip to content

Commit

Permalink
record number of threads in addproc return value (#152)
Browse files Browse the repository at this point in the history
record number of threads in addproc return value
  • Loading branch information
samtkaplan authored Dec 13, 2023
1 parent 621dc7a commit a79c650
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/AzManagers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2797,7 +2797,8 @@ function addproc(vm_template::Dict, nic_template=nothing;
r = JSON.parse(String(_r.body))

vm = Dict("name"=>vmname, "ip"=>string(r["properties"]["ipConfigurations"][1]["properties"]["privateIPAddress"]),
"subscriptionid"=>string(subscriptionid), "resourcegroup"=>string(resourcegroup), "port"=>string(detached_port()))
"subscriptionid"=>string(subscriptionid), "resourcegroup"=>string(resourcegroup), "port"=>string(detached_port()),
"julia_num_threads"=>string(julia_num_threads), "omp_num_threads"=>string(omp_num_threads))

if detachedservice
detached_service_wait(vm, customenv)
Expand Down

0 comments on commit a79c650

Please sign in to comment.