Usage: /home/teuben/Athena/agui/athena/bin/athena [options] [block/par=value ...]
Options: -i specify input file [athinput] -r restart with this file -d specify run dir [current dir] -n parse input file and quit -c show configuration and quit -m output mesh structure and quit -t hh:mm:ss wall time limit for final output -h this help
Athena v0.1 Usage: athenak/build/src/athena [options] [block/par=value ...] Options: -i specify input file [athinput] -r restart with this file -d specify run dir [current dir] -n parse input file and quit -c show configuration and quit -m output mesh structure and quit -h this help This Athena++ executable is configured with: Problem generator: built_in_pgens Floating-point precision: double MPI parallelism: OFF OpenMP parallelism: OFF
-
Terminal command: (a separate GUI can do that too, looking for athinput files and then "executing" them via our new gui).
Examples :
agui.py [options] athena/inputs/hydro/athinput.linear_wave1d agui.py [options] athenak/inputs/tests/linear_wave_hydro.athinput
[options]
Should it be able to deal with athena++ as well as athenak ?
-
parse the athinput file and sort by "<name/key=val> help [GUI]" [block/par=value ...] athena: no magic marker? athenak: '# AthenaXXX' has new ?
Decide which (or all) that have GUI markup ?
These [GUI] directives will be displayed via this new dynamics GUI on screen, and builds up a command
Idea: allow mathematical transformation? For example a gridsize of 16,32,64,128,256,.... could be written as 2N with N=4,5,6,7,8,... #> SCALE 16:256:*2 #> SCALE 4:8:1;%12 The alternative is a radio button with enumerated values
-
EXE -i ATHINPUT -d RUNDIR PARS...
where PARS... will be provided by the GUI
-
Analyze the 1D-output - do we need an athoutput file?
-
animate a selected X vs. Y plot in time (from the *tab files)
-
look at history of variable (in .hst file) as function of time
-
look at the errors.dat file
-
-
TBD - what to do for 2D-output
-
A parser of athinput for tkrun is working, but you can't run anything, just displays the GUI
./arun1.py athinput.linear_wave1d > test1.sh tkrun test1.sh
./arun1.py linear_wave_hydro.athinput > test2.sh tkrun test2.sh
- For 1D cases it's nice to have a GUI that can plot two variables from the *.tab files (or two columns from the hst file), in addition a slider to stop the animation and step through the tab files.