fdb-joshua icon indicating copy to clipboard operation
fdb-joshua copied to clipboard

Add `joshua run` which does `joshua start` + `joshua tail`

Open sfc-gh-almiller opened this issue 4 years ago • 1 comments

It'd be nice to have a single command which can start testing and wait on the results, instead of having to (manually or via scripting) feed the ensemble ID between the two commands.

sfc-gh-almiller avatar Mar 12 '21 03:03 sfc-gh-almiller

Yes, this is nice to have. A work around is the following shell script:

j () 
{ 
    python3 -m joshua.joshua -C path/to/cluster_file "$@"
}

name=`j start --tarball input_dir/correctness.tar.gz | tail -n 1 | awk '{print $1}'` && j tail --errors --xml | tee output_dir/$name.xml

jzhou77 avatar Mar 12 '21 17:03 jzhou77