Instructions
This simplified tutorial use the Kestrel (HPC@NREL) as an example
Written by Cheng-Wei Lee (clee2 [at] mines [dot] edu)
The very first step is to log into Kestrel. Since there is no external login nodes available yet, you need to use login the SSH gateway first via
ssh -AY [user name]@hpcsh.nrel.govOnce on the ssh gateway, you can log into Kestrel by
ssh [user name]@kl2.hpc.nrel.govOnce on the login nodes of Kestrel, we can load the following modules
source /nopt/nrel/apps/env.sh
module purge
module load anaconda3/2022.05
module load PrgEnv-intel/8.5.0
module swap cray-mpich cray-mpich-abi
module unload cray-libsci
module load intel-oneapi-compilers/2023.2.0
module load intel-oneapi-mpi/2021.10.0-intel
module load intel-oneapi-mkl/2023.2.0-intelOnce anaconda is loaded, we can now use conda to create a python virtual environment
Once the virtual environment is set up, we can activate it via
With the environment set up, we also need git to install pylada
Now with everything set up, we can follow the instruction on the pylada's github website
(We use pip to install pylada)
Once the pylada is installed, we need to create a file name "ipython_config.py" with the path of
And it needs to have the following content
In order to submit jobs using pylada, we also need the following file at home directory
with the following content
Last updated