Translations of this page:

Building and installing

Here it is assumed that you want to use software where source code is available. First think if this software is used only by you or group of users.

Single user

Install software to your home directory.

Multiple users

First ask admin to create build and installation directories. Inform is software is only allowed to be used by limited user group. Two main directories are created to common space and one of them contains source and build directories. Other is install directory where installed software is available for all (or limited group of) users.

Example: User named someuser want to install following open source code: LUTtestcode

Admin creates directory /shared/install/LUTtestcode to store different versions and builds etc.:

[someuser@celaeno ~] ll /shared/install/LUTtestcode
drwxr-xr-x 7 someuser someuser 62 14.12.2016 LUTtestcode

Admin creates directory /shared/apps/LUTtestcode where calculation code is installed:

[someuser@celaeno ~] ll /shared/apps/LUTtestcode
drwxr-xr-x 7 someuser someusergroup 62 14.12.2016 LUTtestcode

Build process

First someuser gets source code of LUTtestcode to build directory:

cd /shared/install/LUTtestcode
wget http://LUTsomeserver?something=LUTtestcode-0.2.tar.gz
tar -xzvf LUTtestcode-0.2.tar.gz
cd LUTtestcode-0.2

After someuser carefully read instructions (for example from INSTALL file provided with code) the installation process is started.

./configure --prefix=/shared/apps/LUTtestcode/0.2
make -j 2
make install
 
/opt/webdata/webroot/wiki/data/pages/en/hpc/software/buildinstall.txt · Last modified: 2016/12/14 15:31 by vrintala
[unknown button type]
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki