irainit load-env is executed, performing the following operations:
- Sources pre-env.sh
- Configures the values it recognizes in the inifile
- Sources post-env.sh
- Sources the execute.sh file
If the package is already loaded, only the execute.sh file is executed.Inside post-env.sh and execute.sh, the following variables can be used:
- PYTHON_VERSION (if present)
- PYTHON3_VERSION (if present)
- version_basedir
At the end of the procedure, the environment variables PATH, LD_LIBRARY_PATH, MANPATH, and PKG_CONFIG_PATH are updated. A SOFTWARE_NAME_DIR variable is also created to reference the software in other scripts.
Other useful irainit functions
Software and packages available on the ARC cluster can be listed by typing the command:
$ irainit available
The available versions of a specific available package or software can be shown using the option “display”:
$ irainit display <software>
The user can load one specific version of the software among those available using the command:
$ irainit load <software> <version>
Example 1: activating the default version of “casa”:
In this example, we initially activate irainit, then we check the available software, we activate the default version of casapy and finally, we run casa. In this example, we assume the first two commands are not included in the personal .bashrc file and therefore they were not already run at login.
$ export irainit_search_dir=/iranet/soft
$ . $irainit_search_dir/irainit/irainit_setup-alias.sh
$ irainit available
$ irainit load casapy
$ casa
Example 2: activating a specific version of “casa”:
In this second example, after activating irainit and checking the available software, we also display the available versions of casapy. Then, we activate one specific version of casapy and finally, we run casa. Also in this example, we assume the first two commands are not included in the personal .bashrc file and therefore they were not already run at login.
$ export irainit_search_dir=/iranet/soft
$ . $irainit_search_dir/irainit/irainit_setup-alias.sh
$ irainit available
$ irainit display casapy
$ irainit load casapy 6.1.1-15-pipeline-2020.1.0.40
$ casa
Some of the available packages and software
As said above, software available on the ARC cluster can be listed by typing the command:
$ irainit available
Here below, we report an incomplete list of the available software packages:
Software package |
setup command |
launch command |
notes |
CASA |
irainit load casapy |
casa |
data reduction package (link) |
Miriad |
irainit load miriad |
miriad |
data reduction package (link) |
aips |
irainit load aips |
|
Astronomical Image Processing System (link) |
analytic infall |
irainit load analytic_infall |
|
|
astron |
irainit load astron |
|
|
Coyote library |
irainit load coyote |
|
|
fits Viewer |
irainit load fv |
|
(link) |
GCC Compiler |
irainit load gcc |
|
(link) |
Gildas |
irainit load gildas |
|
(link) |
Healpix |
irainit load healpix |
|
(link) |
IDL |
irainit load idl |
|
(link) |
heasoft |
irainit load heasoft |
|
(link) |
QA2 |
irainit load qa2 |
|
|
Starlink |
irainit load starlink |
|
(link) |