12. Tools for managing AGLA by the administrator#
12.1. lock: AGLA lock for developers#
Used to prohibit access to AGLA tools that modify reference files. This allows you to pause the use of AGLA for the AGLA update.
12.1.1. Call mode#
12.1.2. Tasks completed#
Set up the locking mechanism for the AGLA. The explanatory message will be sent to any developer who attempts to use one of the AGLA tools using the standard locking mechanism.
12.2. Unlock: unlock the AGLA#
Allows you to unlock the exclusive access mechanism to the AGLA tools. Used after a « crash » of one of these tools or after a voluntary lock by the Administrator (with lock).
It also allows each developer to remove a lock concerning their user.
12.2.1. Call mode#
12.2.2. Tasks completed#
Unlocking the AGLA.
12.3. fgrep_agla: « fast-grep » in AGLA sources#
Search for a simple character string (not a regular expression) in the C-shell sources.
12.3.1. Call mode#
12.3.2. Tasks completed#
/aster/adm/tool/ * [a-z0-9]
12.4. stat_agla.qsub: static call trees for shell scripts#
Give for each of the tools in AGLA the call tree for the C-shell and C modules.
Results in /aster/adm/g_agla/resu.
Bug: does not work for dynamic calls (by variables).
12.4.1. Call mode#
Since this operation is relatively long, it is preferable to send it in batch (with qsub).
12.4.2. Tasks completed#
For each of the modules in AGLA, look for the calls:
source: from the « include » shell,
csh: C-shell as a standalone module,
qsub: batch C-shell,
direct calls: programs written in C.
12.5. app_agla.qsub: shell script callers#
Search for each module in AGLA for the modules that refer to it.
Results in /aster/adm/g_agla/resu/caller_list.
Bug: does not work for dynamic calls (by variables).
12.5.1. Call mode#
12.5.2. Tasks completed#
For each module in /aster/adm/tool, search /aster/adm/tool and /aster/tools for modules that refer to them.