Red Hat Environment
From ScorecWiki
Contents |
[edit]
Bash
The RedHat7 machines do not have the /usr/local/etc/bash_profile
file. To avoid an error message appearing when you login to to one of the machines add the following to your ~/.bashrc
#source bash_profile on debian machines [ ! -f /etc/redhat-release ] && source /usr/local/etc/bash_profile
Be sure to remove other calls to source /usr/local/etc/bash_profile
from your ~/.bashrc
.
[edit]
Modules
Modules are install for GCC, MPICH, and several commonly used software packages.
[edit]
Setup
Setup your environment to access the modules by running the following command:
#setup lmod export PATH=/usr/share/lmod/lmod/libexec:$PATH #setup spack modules unset MODULEPATH module use /opt/scorec/spack/lmod/linux-rhel7-x86_64/Core/ module use /opt/scorec/modules
[edit]
Commands
list available modules
module av
To load the GCC and MPICH modules
module load gcc/7.3.0-bt47fwr module av #list the modules made available by loading gcc 7.3.0
then load mpich
module load mpich/3.3-diz4f6i