Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add joshua run which does joshua start + joshua tail #2

Open
sfc-gh-almiller opened this issue Mar 12, 2021 · 1 comment
Open

Add joshua run which does joshua start + joshua tail #2

sfc-gh-almiller opened this issue Mar 12, 2021 · 1 comment

Comments

@sfc-gh-almiller
Copy link
Contributor

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.

@jzhou77
Copy link
Contributor

jzhou77 commented Mar 12, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants