User Tools

Site Tools


gtspring2009:howto:shell_scripts

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
gtspring2009:howto:shell_scripts [2009/02/26 10:00]
dspieker
gtspring2009:howto:shell_scripts [2010/02/02 07:55] (current)
Line 7: Line 7:
 </​span>​ </​span>​
 </​html>​ </​html>​
 +
 +{{gtspring2009:​gibson.png?​24}} See comments in [[#​hiccups]]. //John Gibson 2009-03-09//​
  
 This might also be helpful when students start [[gtspring2009:​howto:​pace|using the PACE cluster]], as I'm pretty sure you send the cluster script files. This might also be helpful when students start [[gtspring2009:​howto:​pace|using the PACE cluster]], as I'm pretty sure you send the cluster script files.
Line 74: Line 76:
 ===== Hiccups ===== ===== Hiccups =====
 (blog here: prepend the latest post at the top) (blog here: prepend the latest post at the top)
 +
 +{{gtspring2009:​gibson.png?​24}} My verdict: thumbs up and no obvious possibilities for melted computers. I've found shell scripts such as these to be very useful for running a series of predefined calculations such as computing statistics and making movies of orbits, and doing poor man's continuation of existing solutions. For these shell scripts are adequate. For the PACE cluster, jobs are submitted to a job queue with "​qsub"​ and monitored with "​qstat"​. It's somewhat like shell scripting but not entirely. I have written a few shell functions that simplify the job submission procedure and need to post and document them. I am also feeling the need (quite strongly, in fact) to enable more sophisticated scripting with channelflow utilities and functions. For example, shell scripts are not flexible and mathematical enough for doing adaptive continuation,​ where you adjust the size of the parameter steps based on the second derivative of the continuation curve, or for switching the continuation parameter in order to turn the corner around a bifurcation point. For this, we either need to write a new channelflow utility that combines the quadratic continuation and solution-finding algorithms, or we need to use a more sophisticated scripting language like Python. There are merits to either approach. I would dearly love to work on either but it would take a few days focused effort. This would be a very good project for anyone interested in continuation. //John F. Gibson 2009-03-09//​
 +
  
 :-) Because many of us sleep some hours of the day and can't keep watchful guard over our computers at all times during the day even though our computers would like to be doing calculations even though we aren't here, I thought it would be useful if I posted a HowTo of writing shell scripts. ​ I know these will be particularly helpful for me because I am still a first year grad student and I have lots of homework and can't man a terminal at all hours of the day. --- //​[[dustin.spieker@gatech.edu|Dustin Spieker]] 2009-02-26//​ :-) Because many of us sleep some hours of the day and can't keep watchful guard over our computers at all times during the day even though our computers would like to be doing calculations even though we aren't here, I thought it would be useful if I posted a HowTo of writing shell scripts. ​ I know these will be particularly helpful for me because I am still a first year grad student and I have lots of homework and can't man a terminal at all hours of the day. --- //​[[dustin.spieker@gatech.edu|Dustin Spieker]] 2009-02-26//​
 +
 +
  
gtspring2009/howto/shell_scripts.1235671230.txt.gz ยท Last modified: 2009/02/26 10:00 by dspieker