1 | | == Software install from source package as a module == |
| 1 | == Software installations (Currently being rewritten) == |
| 2 | |
| 3 | In general when installing software, we prefer to install software as modules. This facilitates for users to revert to older software versions, as well as to keep track of what version was used for a specific project. However, most general libraries (eg. in many cases packages called libsomething in Debian) should be installed as Debian packages. If unsure, please discuss with Mikael and/or Les. Debian packages can only be installed by system administrators, while software packages installed and made available as software modules can also be installed by users who have been granted software install permissions (and adhere to the software install guidelines.) |
| 4 | |
| 5 | Which software should be installed and made available to all users? In general, software that will have a use by more than a single project, and that can be installed in a manner that can be shared by many users can be installed. (This excludes for example excludes software that needs write permission to a central database och file set) |
| 6 | |
| 7 | == Software install procedure (all parts not yet available) == |
| 8 | |
| 9 | Software install is a two step procedure. First you install the software into a given directory that is created under /opt/sw and made available to you. Once the module file is written, a system administrator can make the software available for all users. This two step procedure is implemented for security and quality reasons. Software under /opt/sw is installed in directories adhering to the naming standard /opt/sw/SOFTWARE/VERSION. |
| 10 | |
| 11 | Detailed procedure (not involving software specifics on how to set installation location). |
| 12 | |
| 13 | 1. `module load gridsw` to enable software installation related modules. |
| 14 | 1. Run the command `gridsw` to switch primare group to mykopat-grid-software. |
| 15 | 1. Run `grid-mkswdir SOFTWARE VERSION` to create a directory /opt/sw/SOFTWARE/VERSION, where you can install the package. |
| 16 | 1. Dowload software source or binaries archive to /opt/sources |
| 17 | 1. Unzip archive, and if necessary configure/compile whith correctly specified installation path |
| 18 | |
| 19 | |
| 20 | |
| 21 | Software installations, as modules, is a two step procedure. |
| 22 | |
| 23 | == "OldGrid" Software install from source package as a module == |