Skip to content

Commit

Permalink
Remove nthread from mem5 allocation
Browse files Browse the repository at this point in the history
  • Loading branch information
ishimura committed Aug 15, 2021
1 parent ee839b7 commit 59b38a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mp2grad.F90
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ subroutine mp2gradmulti(emp2st,egrad,egradtmp,cmo,energymo,xint,nocc,noac,nvir,n
mlsize2=(msize-nao*numi-2*nao2)/(nao*(numi+1))
if(mlsize2 > maxsize) mlsize2= maxsize
call memset(numi*mlsize2*nao+nao*numi*nthread+nao2*nthread+nao2+nao*mlsize2,datacomp)
allocate(tisml(numi*mlsize2*nao),xlmi(nao*numi*nthread),xlmn(nao2*nthread), &
allocate(tisml(numi*mlsize2*nao),xlmi(nao*numi),xlmn(nao2), &
& work1(nao2),work2(nao*mlsize2))
!
if(ipass /= npass) then
Expand Down

0 comments on commit 59b38a7

Please sign in to comment.