Skip to content

Commit 2af6e0d

Browse files
committed
Merge branch 'master' into Igeom1_pflux_fix
2 parents 029fdb1 + 962843c commit 2af6e0d

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/hesian.f90

+7-7
Original file line numberDiff line numberDiff line change
@@ -425,15 +425,15 @@ subroutine hesian( NGdof, position, Mvol, mn, LGdof )
425425

426426
if( LHmatrix ) then
427427

428-
if( myid.eq.0 ) then ; cput = GETTIME ; write(ounit,'("hesian : ",f10.2," : LHmatrix="L2" ;")')cput-cpus, LHmatrix ;
429-
open(munit, file=trim(get_hidden(ext))//".GF.ma", status="unknown", form="unformatted")
430-
write(munit) NGdof
431-
write(munit) ohessian(1:NGdof,1:NGdof)
432-
close(munit)
433-
endif
434-
428+
if( myid.eq.0 ) then ; cput = GETTIME ; write(ounit,'("hesian : ",f10.2," : LHmatrix="L2" ;")')cput-cpus, LHmatrix ;
429+
open(munit, file=trim(get_hidden(ext))//".GF.ma", status="unknown", form="unformatted")
430+
write(munit) NGdof
431+
write(munit) ohessian(1:NGdof,1:NGdof)
432+
close(munit)
435433
endif
436434

435+
endif
436+
437437

438438
! if( myid.eq.0 .and. ( LHevalues .or. LHevectors ) ) then ! the call to dforce below requires all cpus; 04 Dec 14;
439439
if( ( LHevalues .or. LHevectors ) ) then

0 commit comments

Comments
 (0)