Software install from source package
module load gridadmin
gridadmin
- Dowload the software to /opt/sources
- Untar/unzip the source file (e.g.
tar xzf sour-x.y.z.tar.gz
)
- Create install dir, and populate with standard directories:
mkdir -p /opt/sw/[package name]/[version] && ( cd /opt/sw/[package name]/[version] && mkroot -m )
- Cd into source directory
- Configure and install software (e.g. for a typical package
./configure --prefix=/opt/sw/[package name]/[version] && make && make install
- Create a modulefile called
/opt/modulefiles/[package name]/[version]
by copying and editing from some other module file, for example. See
man modulefile
- If some default version should be there, create/modify
/opt/modulefiles/[package name]/.version
to specify default.
Download in other formats: