Skip to content

Commit

Permalink
THRIFT: Allow for nprocs_local > ns_xboozer
Browse files Browse the repository at this point in the history
Before, if nprocs_local was larger than ns_xboozer, there would be an error since in that situations some of the processes have mystart=myend+1, with myend =ns_xboozer+1. There would be an error at lsurf_boz(1:mystart-1).
  • Loading branch information
ajchcoelho committed Nov 20, 2024
1 parent cafaf84 commit 9e149d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion THRIFT/Sources/thrift_boozer.f90
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ SUBROUTINE thrift_boozer(lscreen,iflag)
irun_setup_booz = 0
CALL boozer_coords(ik,irun_setup_booz)
IF (myend<=ik) mystart = myend + 1 ! we did it
IF (myworkid /= master) THEN
IF (myworkid /= master .and. mystart <= myend) THEN
rmncb = 0
zmnsb = 0
pmnsb = 0
Expand Down

0 comments on commit 9e149d7

Please sign in to comment.