Changes between Version 9 and Version 10 of Admin/StandardOperatingProcedures/InstallSoftwareFromSource


Ignore:
Timestamp:
May 7, 2019, 4:14:35 PM (6 years ago)
Author:
Mikael Brandström Durling
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Admin/StandardOperatingProcedures/InstallSoftwareFromSource

    v9 v10  
    77== Software install procedure (all parts not yet available) ==
    88
    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.
     9Software 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. Since we are now using Lmod, module files can be written either in the legacy TCL/C syntax, or in Lua. Please visit Lmod homepage for more information [[https://github.com/TACC/Lmod/]]
    1010
    1111Detailed procedure (not involving software specifics on how to set installation location).
    1212
    1313  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.
     14  1. Run the command `gridsw` to switch primare group to mykopat-grid-software. This must be done prior to any work on software in the shell you will be working with.
     15  1. Run `grid-mkswdir SOFTWARE VERSION` to create a directory /opt/sw/SOFTWARE/VERSION, where you can install the package. This directory is read and writable by you, readable by other software admins, but not by ordinary users.
    1616  1. Dowload software source or binaries archive to /opt/sources
    1717  1. Unzip archive, and if necessary configure/compile whith correctly specified installation path
    18 
     18  1. Install package into the the folder obtained at step 3. (This should be done as your ordinary user, in a shell where you have run the `gridsw` command.) If the install script/makefile/install procedure complains about denied permissions, DO NOT use sudo. You should rather check that all install paths etc are correct.
     19  1. Write a module file (copy and edit previous version or so) to reflect the new software version you have installed. The module file should be created in /opt/modulefiles_staging/ and named SOFTWARE/VERSION (or SOFTWARE/VERSION.lua if you prefer to write a Lua module).
     20  1. Add the module file to subversion with `svn add` (you might have to add the directory too, if you had to create it) and then commit the module file with svn commit.
     21  1. Ask a system administrator to publish the newly installed software.
    1922
    2023