Skip to content

Commit

Permalink
Minor aesthetic changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
p-costa authored Mar 22, 2024
1 parent 99b706e commit 06a25c7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/param.f90
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ subroutine read_input(myid)
cudecomp_h_comm_backend,cudecomp_is_h_enable_nccl,cudecomp_is_h_enable_nvshmem
#endif
open(newunit=iunit,file='input.nml',status='old',action='read',iostat=ierr)
if( ierr == 0 ) then
if(ierr == 0) then
read(iunit,nml=dns,iostat=ierr)
else
if(myid == 0) print*, 'Error reading the input file'
Expand All @@ -114,7 +114,7 @@ subroutine read_input(myid)
visc = visci**(-1)
#if defined(_OPENACC)
!
! read cuDecomp parameter file cudecomp.in, if it exists
! reading cuDecomp parameters, if these are set
!
! defaults
!
Expand All @@ -125,7 +125,7 @@ subroutine read_input(myid)
cudecomp_is_t_enable_nvshmem = .true.
cudecomp_is_h_enable_nvshmem = .true.
open(newunit=iunit,file='input.nml',status='old',action='read',iostat=ierr)
if( ierr == 0 ) then
if(ierr == 0) then
read(iunit,nml=cudecomp,iostat=ierr)
else
if(myid == 0) print*, 'Error reading the input file'
Expand Down

0 comments on commit 06a25c7

Please sign in to comment.