Skip to content
Simon Byrne edited this page Jan 30, 2023 · 2 revisions

Splitting commands over multiple lines

If you have a really long command, you can split it over multiple lines by using a multiline yaml block, e.g.

        command: >
          julia --color=yes --project=examples examples/hybrid/driver.jl
          --config column --turbconv edmf --debugging_tc true --regression_test true
          --FLOAT_TYPE Float64 --hyperdiff false --apply_limiter false
          --turbconv_case Bomex --subsidence Bomex --edmf_coriolis Bomex --ls_adv Bomex
          --z_elem 60 --z_stretch false --z_max 3e3
          --t_end 6hours --dt_save_to_sol 5mins --dt_save_to_disk 5mins
          --moist equil
          --use_krylov_method true
          --quicklook_reference_job_id compressible_edmf_bomex
          --job_id compressible_edmf_bomex_jfnk
          --dt 40secs

Note that the : > indicates that the block will be parsed as a single line (i.e. line breaks are removed, except for the trailing one)

Clone this wiki locally