Skip to content

Commit

Permalink
workaround for FoX bug: remove newlines when reading in a config file (
Browse files Browse the repository at this point in the history
  • Loading branch information
albapa authored Aug 17, 2024
1 parent 65c8971 commit 043d499
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gap_fit_module.f95
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ subroutine gap_fit_parse_command_line(this)
if (has_config_file) then
inquire(file=config_file, exist=file_exists)
if (.not. file_exists) call system_abort("Config file does not exist: "//config_file)
call read(this%config_string, config_file, keep_lf=.true., mpi_comm=this%mpi_obj%communicator, mpi_id=this%mpi_obj%my_proc)
call read(this%config_string, config_file, keep_lf=.false., mpi_comm=this%mpi_obj%communicator, mpi_id=this%mpi_obj%my_proc)
end if
end if
if (.not. has_config_file) this%config_string = this%command_line
Expand Down

0 comments on commit 043d499

Please sign in to comment.