Table of Contents |
---|
minLevel | 1 |
---|
maxLevel | 3 |
---|
outline | false |
---|
style | none |
---|
type | list |
---|
printable | true |
---|
|
...
0. Define local module command (only once)
To utilize local modules, we suggest creating a bash command such as localmod
that contains essential setup within your $HOME/.bashrc
. The provided set of commands below will create a local module directory based on LOCALMOD_DIR
and then define the localmod
command in your $HOME/.bashrc
.
...
Code Block |
---|
|
LOCALMOD_DIR=$HOME/localmod # *** EDITABLE, set to an empty path ***
mkdir -p ${LOCALMOD_DIR} # Create the directory if not already exist
cat << Eof >> $HOME/.bashrc # Define the below "localmod" function in your .bashrc
function localmod(){
export EASYBUILD_PREFIX=<path-to-a-directory>${LOCALMOD_DIR}
module use ${EASYBUILD_PREFIX}/modules/all
export EASYBUILD_OPTARCH=x86-milan
echo "*** Import modules at ${EASYBUILD_PREFIX} on LANTA ***"
}
Eof |
...
Expand |
---|
|
-D : Do a short dry run to check EasyConfig hierarchy. No modules will be installed.
--robot-paths=$(pwd) : Add all EasyConfig files in the current directory to EasyBuild search path
-r : Robot. Recursively install dependencies prior to the target software. Note: You may use -r $(pwd) instead of -r --robot-paths=$(pwd) .
--parallel=N : Build the software using N CPU cores, e.g., make -j N
--trace --tmpdir=$(pwd) : Provide more information on progress (--trace ) and save logs to the current path (--tmpdir=$(pwd) ). Recommend using them together.
For more information, execute eb --help , eb -a and others in eb --help | grep 'avail' If you need further assistance, contact ThaiSC support service.
|
...