[esp-r] Re: Perl script

Jon Hand jon at esru.strath.ac.uk
Tue Jul 27 10:53:50 BST 2010


In the source distribution there are some example scripts in
the folder  src/validation/benchmark/QA/model_1.1/cfg

There is a script TEST which calls other scripts to complete specific
tasks (SIMULATE.wc and ANALUYSE and ANALYSE_4).

There is a brief discussion of scripts in chapter 17 of the ESP-r Cookbook

It is possible to run assessments via Perl (not sure where there is an
example of this).  Perhaps others in the community would discuss
how they automate tasks.

Regards, Jon Hand

________________________________________
From: esp-r-bounces at lists.strath.ac.uk [esp-r-bounces at lists.strath.ac.uk] On Behalf Of victor bunster [victorbunster at gmail.com]
Sent: 27 July 2010 07:32
To: esp-r at lists.strath.ac.uk
Subject: [esp-r]  Perl script

Hello,
I'm trying to learn how to automate procedures for a simple algorithm, something like this:
>DO GEOMETRY
>     SIMULATE
>     EVALUATE
>     CHANGE GEOMETRY
>END
This loop should go on until certain thermal conditions are achieved. In "ESP-r capabilities" web is stated that the modules can be driven by scripts to automate tasks, but the only information I have found yet is a reference in the Appendix of the Cookbook (17.1 Text mode) which is helpful but very limited.

Is there any documentation for the API or how to access the commands? or about running the scripts, or which programming language is used? if not, could anyone show me some guidelines to explore this functionality?

Thanks a lot,




More information about the esp-r mailing list