Skip to content

Commit

Permalink
Merge pull request #1556 from ExtremeFLOW/fix/joblimit_chkp_in_outputdir
Browse files Browse the repository at this point in the history
Some small fixes
  • Loading branch information
njansson authored Oct 28, 2024
2 parents 45610e7 + 9e725af commit 1e0c549
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ program postprocess_fluid_stats

argc = command_argument_count()

if ((argc .lt. 3) .or. (argc .gt. 3)) then
if ((argc .lt. 2) .or. (argc .gt. 2)) then
if (pe_rank .eq. 0) then
write(*,*) 'Usage: ./postprocess_fluid_stats mesh.nmsh stats.fld'
write(*,*) 'Example command: ./postprocess_fluid_stats mesh.nmsh statsblabla.fld'
Expand Down
2 changes: 1 addition & 1 deletion src/simulation.f90
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ subroutine simulation_joblimit_chkp(C, t)
format_str = '.h5'
end if
end if
chkpf = file_t('joblimit'//trim(format_str))
chkpf = file_t(C%output_directory // 'joblimit'//trim(format_str))
call chkpf%write(C%fluid%chkp, t)
write(log_buf, '(A)') '! saving checkpoint >>>'
call neko_log%message(log_buf)
Expand Down

0 comments on commit 1e0c549

Please sign in to comment.