-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #46 from clustervision/development
Development
- Loading branch information
Showing
40 changed files
with
294 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,6 +51,10 @@ POSTLIST=( \ | |
openldap \ | ||
sssd \ | ||
bind \ | ||
mariadb \ | ||
slurm-pre \ | ||
slurm \ | ||
applications \ | ||
) | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
infinipath-psm | ||
numactl | ||
librdmacm | ||
libpciaccess | ||
libibverbs | ||
libfabric | ||
libpcap | ||
libtool-ltdl | ||
libgfortran |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
#!/bin/bash | ||
|
||
# | ||
# Script to add provided application modules to the system | ||
# All modulefiles are located in separate directories usign the format | ||
# | ||
# POST_FILEDIR/GROUP/module/version/modulefile | ||
# | ||
# The script will copy all available modules to their appropriate location | ||
# | ||
# Modulefiles should assume that the application will be installed in: | ||
# | ||
# {{ prefix }}/applications/module/version | ||
# | ||
# This script will replace {{ prefix }} with the correct value | ||
# | ||
|
||
for GROUP in 'CV-standard' 'CV-advanced' 'local'; do | ||
|
||
echo_info "Adding $GROUP module files to the system" | ||
|
||
for MOD in ${POST_FILEDIR}/${GROUP}/*; do | ||
|
||
[[ -e "$MOD" ]] || continue; | ||
|
||
MODULE=$(basename "$MOD"); | ||
VERSION=$(ls "${POST_FILEDIR}/${GROUP}/${MODULE}"); | ||
echo_info "Adding ${MODULE}/${VERSION} to $GROUP"; | ||
|
||
cp -r "$MOD" "${TRIX_SHARED}/modulefiles/${GROUP}/" | ||
sed -i -e "s,{{ prefix }},$TRIX_SHARED," "${TRIX_SHARED}/modulefiles/${GROUP}/${MODULE}/${VERSION}/modulefile" | ||
|
||
done | ||
|
||
done | ||
|
42 changes: 42 additions & 0 deletions
42
configuration/controller/applications/CV-standard/openmpi/2.0.0/modulefile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
#%Module1.0 | ||
# | ||
# @name: openmpi | ||
# @version: 2.0.0 | ||
|
||
|
||
# Customize the output of `module help` command | ||
# --------------------------------------------- | ||
proc ModulesHelp { } { | ||
puts stderr "\tAdds openmpi to your environment variables" | ||
puts stderr "\t\t\$PATH, \$MANPATH" | ||
} | ||
|
||
# Customize the output of `module whatis` command | ||
# ----------------------------------------------- | ||
module-whatis "loads the [module-info name] environment" | ||
|
||
# Define internal modulefile variables (Tcl script use only) | ||
# ---------------------------------------------------------- | ||
set name openmpi | ||
set version 2.0.0 | ||
set prefix {{ prefix }}/applications/${name}/${version} | ||
|
||
# Check if the path exists before modifying environment | ||
# ----------------------------------------------------- | ||
if {![file exists $prefix]} { | ||
puts stderr "\t[module-info name] Load Error: $prefix does not exist" | ||
break | ||
exit 1 | ||
} | ||
|
||
# Update common variables in the environment | ||
# ------------------------------------------ | ||
prepend-path PATH $prefix/bin | ||
prepend-path LD_LIBRARY_PATH $prefix/lib | ||
prepend-path LIBRARY_PATH $prefix/lib | ||
prepend-path INCLUDE $prefix/include | ||
prepend-path C_INCLUDE_PATH $prefix/include | ||
prepend-path MANPATH $prefix/share/man | ||
|
||
setenv OPAL_PREFIX $prefix | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,13 @@ | ||
# git | ||
yum-utils | ||
mongodb-server | ||
python-pymongo | ||
mongodb | ||
nginx | ||
python-tornado | ||
ipxe-bootimgs | ||
tftp-server | ||
tftp xinetd | ||
dhcp wget | ||
tftp | ||
xinetd | ||
dhcp | ||
rb_libtorrent-python | ||
net-snmp-python | ||
python-hostlist | ||
vim |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,6 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
source "$POST_CONFIG" | ||
|
||
source /etc/trinity.sh | ||
|
||
|
||
echo_info "Starting MariaDB server." | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.