Skip to content

Commit

Permalink
updated version with threadprivate attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
jguterl committed Oct 21, 2020
1 parent 106d448 commit ee0b3cc
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions #oderhs.m#
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Binary file modified a.out
Binary file not shown.
2 changes: 1 addition & 1 deletion bbb/oderhs.m
Original file line number Diff line number Diff line change
Expand Up @@ -9476,7 +9476,7 @@ call rhsnk (neq, yl, yldot0)
c ... Calculate Jacobian matrix.
tp = 0.
#Working array wk in place of sf in the call to jac_calc (J.Guterl)
call jac_calc_interface (neq, tp, yl, yldot0, lbw, ubw, sf,
call jac_calc_interface (neq, tp, yl, yldot0, lbw, ubw, wk,
. nnzmx, jac, jacj, jaci)
yl(neq+1) = -1. # Turn-off Jacobian flag for pandf
Expand Down
1 change: 0 additions & 1 deletion bbb/odesetup.m
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,6 @@ call gchange("Interp",0)

c Allocate PNC_data group
call gchange("PNC_data",0)
c call InitZeroOMP
iallcall = 1 # indicates allocate called at least once; nis allocated
return
end
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
CARGS=[]
FARGS=['-fmax-errors=15', '-DFORTHON','-cpp','-Wconversion','-fimplicit-none']
if OMP:
#FARGS=FARGS+['-fopenmp']
FARGS=FARGS+['-fopenmp']
CARGS=CARGS+['-fopenmp']
OMPargs=['--omp']
else:
Expand Down

0 comments on commit ee0b3cc

Please sign in to comment.