NOTE: This tutorial page is set up for the Benasque TDDFT school 2018.
Interacting with Cori
- To log in, run
ssh trainXXX@cori.nersc.govin your terminal, substituting the actual name of your training account for
- Be aware that since this machine is far away, running X-Windows programs will be very slow.
- We submit jobs using the SLURM queue manager, using a "reservation" for Aug 22 (benasque2018_1), 23 (benasque2018_2), and 24 (benasque2018_3). If you want to run before or after that, use the debug queue.
To use a reservation, you need to add the --reservation=<reservation name> flag into your submission. So for example for the second day you could either put the following line in your batch script:
or add the flag on the command line when you submit your script:
sbatch --reservation=benasque2018_2 ./myscript.sl
It also works with interactive jobs:
salloc --reservation=benasque2018_2 <other arguments>
- To copy files from Cori to your local machine, in a terminal on your local machine, write
scp trainXXX@cori.nersc.gov:FULL_PATH_TO_YOUR_FILE .(filling in the username and filename) and enter your password when prompted. For very small ASCII files, you may find cut and paste more convenient.
- To see if you have jobs running, do
squeue -u trainXXX. You should not have more than one in the queue; if you do, cancel them with
scancel JOBID, filling in the number for JOBID from the output of
- Accounts will expire on September 11. Feel free to copy the files off the machine before that to somewhere else for your future reference.
Documentation and resources
- Octopus variable reference
- BerkeleyGW manual
- Intro slides from first day
- Intro slides from second day
- BerkeleyGW implementation paper on arxiv
- More extensive lecture slides from a longer tutorial devoted solely to BerkeleyGW in January 2018
The first time you log in, execute these lines which will help you see color-coding for what is a link, executable, or directory:
echo 'alias ls="ls --color"' >> ~/.bashrc.ext . ~/.bashrc
Each time you log in, you should do this:
# Load modules module load berkeleygw/2.0 octopus/8.2
# Go to the scratch directory, where all runs should happen. cd $SCRATCH
To begin with the examples,
# List all examples available ls /project/projectdirs/mp149/Benasque2018
# Copy 1-boron_nitride example to your directory cp -R /project/projectdirs/mp149/Benasque2018/1-boron_nitride .
# Go to your local folder and follow instructions cd 1-boron_nitride less README
- Day 1
- 1-boron_nitride, GW
- Day 2