...
Code Block |
---|
language | bash |
---|
title | .bash_profile |
---|
|
tmpdir=$ITMWORK/tmp
export TMP=${tmpdir}
export TEMP=${tmpdir}
export TMPDIR=${tmpdir} |
Run a massive builds on the worker nodes
Code Block |
---|
|
# Run 'interactive' batch job using SLURM 'srun' command
# -p gw : 'gw' queue offering the longer walltime than the default 'gwdebug'
# --ntasks-per-node=48 : number of cores requested (1 node provides up to 48 cores)
# --time=48:0:0 : walltime (documentation says that the default walltime in 'gw' queue is 48h but not explicitly specified is set to 1h - To Be Checked)
# --pty /bin/bash : pseudoterminal
bash> srun -p gw --ntasks-per-node=48 --time=48:0:0 --pty /bin/bash |
Once resources are allocated, a new shell is being opened on the working node. A file system error is reported in most cases:
Code Block |
---|
bash: /afs/eufus.eu/user/g/g2<user>/.bashrc: Permission denied |
It means that the Kerberos token should be set/renewed, to allow access to the filesystem:
Code Block |
---|
bash> kinit; aklog |
Now .bashrc
could be 'sourced' to enable user's startup settings:
Code Block |
---|
bash> source .bashrc |
Now EasyBuild can be used to build a software.
Info |
---|
|
- Add
--parallel=48 to EB commands (on the working nodes EB doesn't recognise properly a number of available cores and runs sequentially - To Be Checked) - EB has built-in feature that allows to submit build to the batch system (see this link) - To Be Checked
|
Increasing the length of error/warning message
...