LaPalma4
Introduction
LaPalma4 (referred to simply as LaPalma in the rest of this guide) comprises 288 Lenovo SD530 compute nodes. Every node has 48 cores (2x Intel Xeon Platinum 8160) at 2.1 GHz, running a Linux operating system, with 96 GB of RAM (2 GB per core) and a local SSD that provides about 118 GiB of temporary storage (see Local hard drive). Two Bull R423 servers are connected to a pair of NetApp E5600 storage systems providing a total of 1.1 PB of disk storage, accessible from every node through a Lustre parallel file system. LaPalma's nodes are interconnected by two networks:
Intel Omni-Path network: a high-bandwidth network used for communication within parallel applications.
10 Gbit network: an Ethernet network over which the Lustre file system is accessed.
Connecting
Getting an account
Before you can connect to LaPalma, you need an account. How to get one depends on whether you are an IAC user:
IAC users use their IAC username and credentials to access LaPalma (in a similar way to the burros, but with two-factor authentication). By default, your IAC account does not give access to LaPalma, but contact us and we will enable access.
Non-IAC users can get an account on LaPalma by submitting a request for computing time to the Red Española de Supercomputación (RES). Your LaPalma username will then be your RES username, of the form
reshXXXXXX.
Remember that accounts are personal and non-transferable. If new accounts are needed once a project has been created, just get in touch with us.
Connecting to LaPalma
You must use Secure Shell (ssh) tools to connect to one of the LaPalma login
nodes or to transfer files to or from LaPalma (we do not accept incoming
connections using protocols such as telnet, ftp, rlogin, rcp or rsh).
For extra security, LaPalma uses two-factor authentication (2FA), handled by
opkssh, a tool that you must install on your own machine. Thus, there are two
steps to connect to LaPalma:
Log in to the IAC Identity Provider (IdP) with
opkssh(see the section "Two-factor authentication setup" to learn aboutopksshand how to configure it for the first time).Log in to LaPalma with
ssh, connecting to one of the two login nodes available (note that the Lustre file system is also accessible from the login nodes):lapalma1.iac.es: this is the main login node, and it is accessible to all users. However, it does not allow outbound connections to the internet.lapalma2.iac.es: this is only accessible from the IAC internal network, but it allows some outbound connections (outbound connections are still a work in progress).
Important
Login nodes are to be used only for small tasks, such as editing, compiling, preparing and submitting batch jobs, and copying data to or from LaPalma. Do not run CPU-intensive programs on them: each login session is limited to 10 minutes of CPU time (CPU time used by your processes, not elapsed time), and your processes will be killed once this limit is exceeded.
Warning
The first time that you connect to LaPalma,
sshneeds to exchange some initial information to establish the connection: you will be asked to accept the host key of the remote machine, and you must answer 'yes' to do so.
Connection to LaPalma for RES users
RES users should log in to the Identity Provider (the browser window that
opens when running opkssh login) using their email address and password.
Then, when connecting to the login node with ssh, they should use their RES
username, of the form reshXXXXXX (e.g. ssh reshXXXXXX@lapalma1.iac.es).
When submitting jobs, RES users must also specify the account of their project
(see Submission scripts).
The following example shows how to log in to LaPalma from a Linux environment:
[mymachine]$ opkssh login
INFO[0000] listening on http://127.0.0.1:3000/
INFO[0000] press ctrl+c to stop
INFO[0000] Opening browser to http://localhost:3000/login
# A web browser should open now, where you must enter your credentials
Writing opk ssh public key to /home/usertest/.ssh/id_ecdsa-cert.pub and corresponding secret key to /home/usertest/.ssh/id_ecdsa
[...]
[mymachine]$ ssh -l usertest lapalma1.iac.es
+----------------------------------------------------------------------+
| |
| Welcome to LaPalma |
| |
| |
| * Please contact res_support@iac.es for questions at any time |
| |
+----------------------------------------------------------------------+
[user@login1 ~]$
Two-factor authentication setup
Accessing LaPalma requires two-factor authentication, managed by the IAC's
Identity Provider (IdP). New users are automatically added to this IdP, and to
connect to LaPalma all users need to use the opkssh utility to prove their
identity.
Installation of opkssh
Installing opkssh does not require administrator privileges, as it is a
single executable file. You can find detailed instructions on their
website.
Download the binary for your operating system:
Linux:
amd64:
curl -L github.com/openpubkey/opkssh/releases/latest/download/opkssh-linux-amd64 -o opkssh chmod +x opkssh
arm64:
curl -L github.com/openpubkey/opkssh/releases/latest/download/opkssh-linux-arm64 -o opkssh chmod +x opkssh
Windows
amd64:
winget install openpubkey.opkssh --source winget
macOS
amd64:
curl -L github.com/openpubkey/opkssh/releases/latest/download/opkssh-osx-amd64 -o opkssh chmod +x opkssh
arm64:
curl -L github.com/openpubkey/opkssh/releases/latest/download/opkssh-osx-arm64 -o opkssh chmod +x opkssh
Check that the binary has been downloaded correctly and is executable (on
Windows, simply run opkssh -v; the version shown may differ):
./opkssh -v
opkssh version 0.13.0
On Linux and macOS, for ease of use, place the executable in one of the
directories listed in your PATH environment variable, so that you can simply
call it as opkssh from any directory.
PATH environment variable
You can inspect its value on Linux/macOS with echo $PATH.
It probably already includes some directories under your $HOME where you
can place the executable, for example ~/.local/bin on many Linux
distributions. In that case, simply move opkssh there and you will be able
to call it from any directory.
First configuration
You need to provide opkssh with some information about the IdP. To do so,
generate the configuration file by running opkssh login --create-config. This
will show a message similar to:
created client config file at /home/user/.opk/config.yml
Then open that configuration file (at the location shown in the message) and replace its entire contents with the following:
---
default_provider: IAC-IdP
providers:
- alias: IAC-IdP
issuer: https://jergo.ll.iac.es/realms/IAC-IdP
client_id: opkssh
redirect_uris:
- http://localhost:3000/login-callback
- http://localhost:10001/login-callback
- http://localhost:11110/login-callback
opkssh usage
Once the configuration is done, you must run opkssh login before connecting
to LaPalma. This opens the IdP web page in your browser, where you must enter
your credentials.
Warning
The first time you log in to the IdP, you will have to set up a one-time password (OTP) with an authenticator app (e.g. Google Authenticator or FreeOTP).
After a successful login, an SSH key is generated and you can log in to
LaPalma normally with ssh. The key is valid for 8 hours, during which you can
access LaPalma without running opkssh login again. Once it has expired,
simply run opkssh login again.
Warning
If ssh fails with Permission denied (publickey,gssapi-keyex,gssapi-with-mic),
your opkssh key has probably expired (or you have not run opkssh login yet):
run opkssh login and try again.
Transferring files
To transfer files to or from LaPalma from Unix systems (Linux, macOS,
...), you can use secure copy (scp), secure FTP (sftp) and remote sync
(rsync), as long as you use ssh as the remote shell. Recent versions of
Windows also include scp and sftp. Since lapalma1 does not allow outbound
connections, these commands need to be run on your local machine.
Some examples of transferring files to LaPalma:
[mymachine]$ scp localfile usertest@lapalma1.iac.es:remotedir
[mymachine]$ sftp usertest@lapalma1.iac.es
sftp> cd remotedir
sftp> put localfile
[mymachine]$ rsync -auv localfile usertest@lapalma1.iac.es:remotedir
Some examples of transferring files from LaPalma:
[mymachine]$ scp usertest@lapalma1.iac.es:remotefile localdir
[mymachine]$ sftp usertest@lapalma1.iac.es
sftp> cd remotedir
sftp> get remotefile
[mymachine]$ rsync -auv usertest@lapalma1.iac.es:remotefile localdir
Available file systems
Important
It is your responsibility as a user of LaPalma to back up all your critical data. NO backup of user data is made in any of LaPalma's file systems.
There are three types of storage available on each node:
Root file system: where the operating system resides.
Lustre file system: a parallel, networked file system that can be accessed from all the nodes.
Local hard drive: a scratch area on each node's internal disk.
Root file system
The root file system, where the operating system is stored, resides on the local SSD of each node.
You must NOT use /tmp for temporary user data; use the
local hard drive instead. To avoid accidental use of
/tmp, the environment variable $TMPDIR is already set so that most
applications store their temporary files on the local hard drive.
Lustre file system
Lustre is an open-source parallel file system that provides fast, reliable access to a global file system from all nodes of the cluster, with excellent scalability and performance. It is the recommended file system for most jobs, because Lustre provides high-performance I/O by "striping" blocks of data from individual files across multiple disks on multiple storage devices and reading/writing these blocks in parallel.
This file system offers different locations for different purposes:
/storage/home: home directories of all users. Every user has their own home directory, which is where you start when you log in to LaPalma./storage/projects: storage of data that needs to be shared between the users of the same group or project. For example, the groupiac01will have a/storage/projects/iac01directory. All the users of the same project will share their common/storage/projectsspace, and it is the responsibility of each project manager to decide and coordinate the best use of this space, and how it is distributed or shared among the project's users. This is also the place to install any software that should be available to all the members of a project.Note for IAC users
By default, users from the IAC are not in any group and thus have no access to any
/storage/projectsfolder. If they work individually, they can simply use their/storage/home. Otherwise, they can ask for a new project quota stating how much storage is required and which users should have access to it./storage/apps: storage of applications and libraries. Browse the directories or runmodule availto see the applications available for general use. Before installing any application in your home or/storage/projects/directory, first check whether it is already installed on the system. If an application that you need is not installed, get in touch with us.
Quotas
/storage/homehas a default quota of 100 GB for each user's home directory./storage/projectsdirectories for RES projects have quotas set by the RES allocation committee. For IAC users we will set the quotas for each project depending on your needs and the storage space available.
The number of files that you can create is also limited. By default, the quota for files is set to 10,000 files.
You can check your quotas and storage usage with the command
lapalma_my_quota, which reports both the quota for your home directory (shown
under /storage/) and the quotas of the projects you belong to (shown under
/storage/projects). For example (note that the user in this example has
non-default quotas):
[user@login1 ~]$ lapalma_my_quota
Quota for user usertest:
Filesystem used quota limit grace files quota limit grace
/storage/ 45.87G 500G 501G - 27347 500000 1000000 -
Quota for projects:
/storage/projects/testproject
4k 100G 101G - 1 50000 50100 -
If you need more disk space or a larger limit on the number of files, get in touch with us.
Performance tips
Lustre performs best when reading and writing large files in large blocks. Some usage patterns can slow down both your jobs and those of other users:
Many small files or frequent small writes. Operations on large numbers of small files (and metadata operations such as
ls -lin directories with thousands of files) are expensive on Lustre. Where possible, combine small files (e.g. into atararchive) and avoid putting huge numbers of files in a single directory.Intensive I/O on temporary files. If your job reads or writes temporary data heavily during its execution, consider copying the input data to the node's local hard drive at the start of the job and copying the results back to Lustre at the end, so that most of the I/O is done locally. This is also recommended for large sets of serial jobs.
Lustre can also split ("stripe") a file across several storage targets (OSTs),
so that it can be read and written in parallel. By default, files on LaPalma
are not striped: each file is stored on a single OST (stripe count 1, with a
stripe size of 1 MiB). This is the best option for most files, but for very
large files accessed in parallel, increasing the stripe count can improve
performance. You can check and change the striping of files and directories
with the lfs command:
[user@login1 ~]$ lfs osts /storage # List all available OSTs
[user@login1 ~]$ lfs getstripe <file or dir> # Show the striping of a file or directory
[user@login1 ~]$ lfs setstripe -c 4 <dir> # Stripe new files in <dir> across 4 OSTs
Note that setting the striping of a directory only affects files created in it afterwards, not existing ones. For further advice, see the Lustre documentation and its Setting the File Layout/Striping Configuration section.
Local hard drive
Every node has a scratch area on its local disk (the same SSD that holds the
root file system), which can be used to store temporary files while your jobs
are running. It is mounted as /scratch and has a total size of about 118 GiB,
but the space actually available at any given time will vary, as part of it may
already be in use. Note that each node has its own /scratch: in multi-node
jobs each node only sees its own local files, and data stored there is not
accessible from the login nodes.
Important
Data on the local hard drive is not removed automatically, so each job should delete its files when it finishes.
Available software
Note
LaPalma4 entered service in mid-February 2026, so some applications may not be installed yet. If you need one that is not available, do get in touch with us.
The list of software available on LaPalma as of October 2026 is shown
below (run module avail for the current list):
----------------------------------- Applications -------------------------------
gromacs/2026.2 gyre/9.0 nwchem/7.3.1 turbogap/latest
gyre/8.1 mesa/25.12.1 orca/6.1.1 vasp/6.5.1
-------------------------------------- Tools -----------------------------------
astrometry.net/0.98 python/3.12.12 sextractor/2.28.2
cmake/4.2.3 R/4.4.0 swarp/2.41.5
gnuastro/0.22 scamp/2.14.0 wcstools/3.9.7
------------------------------------ Compilers ---------------------------------
gcc/15.2.0 oneapi/dpl/2022.13
oneapi/advisor/2025.4 oneapi/dpl/latest
oneapi/advisor/latest oneapi/intel_ipp_intel64/2022.3
oneapi/ccl/2022.0.0 oneapi/intel_ipp_intel64/2026.0
oneapi/ccl/2022.1.0 oneapi/intel_ipp_intel64/latest
oneapi/ccl/latest oneapi/intel_ippcp_intel64/2025.3
oneapi/compiler-intel-llvm/2025.3.2 oneapi/intel_ippcp_intel64/2026.0
oneapi/compiler-intel-llvm/2026.1.0 oneapi/intel_ippcp_intel64/latest
oneapi/compiler-intel-llvm/latest oneapi/ishmem/1.5.0
oneapi/compiler-rt/2025.3.2 oneapi/ishmem/latest
oneapi/compiler-rt/2026.1.0 oneapi/mkl/2025.3
oneapi/compiler-rt/latest oneapi/mkl/2026.1
oneapi/compiler/2025.3.2 oneapi/mkl/latest
oneapi/compiler/2026.1.0 oneapi/mpi/2021.17
oneapi/compiler/latest oneapi/mpi/2021.18
oneapi/dal/2025.10 oneapi/mpi/latest
oneapi/dal/latest oneapi/tbb/2022.3
oneapi/debugger/2025.3.1 oneapi/tbb/2023.1
oneapi/debugger/2026.1.0 oneapi/tbb/latest
oneapi/debugger/latest oneapi/tcm/1.5
oneapi/dev-utilities/2025.3.0 oneapi/tcm/latest
oneapi/dev-utilities/latest oneapi/umf/1.0.2
oneapi/dnnl/3.9.1 oneapi/umf/1.1.0
oneapi/dnnl/3.11.2 oneapi/umf/latest
oneapi/dnnl/latest oneapi/vtune/2025.8
oneapi/dpct/2025.3.0 oneapi/vtune/2026.2
oneapi/dpct/latest oneapi/vtune/latest
oneapi/dpl/2022.10
------------------------------------ Libraries ---------------------------------
boost/1.90.0 fftw/3.3.10/intel/mpi gsl/2.8 openmpi/5.0.10
cfitsio/4.6.3 gmp/6.3.0 hdf5/1.14.6 wcslib/8.5
---------------------------------- Miscellaneous -------------------------------
apptainer/1.5.0 mesa_reader/0.3.5
As mentioned in section "Lustre file system", all the
installed software (compilers, applications, numerical and graphical libraries,
tools, etc.) can be found in /storage/apps/. To make it easy to manage the
software you need at any given time, LaPalma uses
Environment Modules, which allows you to load and
unload modules dynamically.
Warning
Using Environment Modules is very simple, and you only need a handful of
module commands (see Environment Modules), but
remember to load the required modules in your Slurm scripts
when submitting jobs to LaPalma.
Some modules conflict with each other (e.g. two versions of the same MPI
library), and module will warn you if you try to load both. In that case,
unload or switch the module that is already loaded. If your environment gets
into a confusing state, start again from a clean one with module purge, or
simply open a new shell.
Compiling code
You can use the GNU or Intel oneAPI compilers to compile your code.
GNU compiler version 15.2.0 is loaded with module
gcc/15.2.0.Use commands
gcc,g++andgfortranfor compiling C, C++ and Fortran codes respectively.For code using OpenMP, use the flag
-fopenmp.For code using MPI, you should also load module
openmpi/5.0.10, and then usempicc,mpic++, andmpifortcommands for C, C++ and Fortran codes respectively.Suitable optimisation options depend greatly on each code, but you could start with
-O3 -march=native(login and compute nodes are identical, so code compiled on a login node is optimised for the compute nodes).For profiling and debugging you can use the GNU profiler (
gprof) and GNU code coverage (gcov) tools.
Two versions of the Intel oneAPI compilers (2025.3.2 and 2026.1.0) are available, loaded respectively with modules
oneapi/compiler/2025.3.2andoneapi/compiler/2026.1.0.Use commands
icx,icpxandifxfor compiling C, C++ and Fortran codes respectively.For code using OpenMP, use the flag
-qopenmp.For code using MPI, you should also load module
oneapi/mpi/2021.17oroneapi/mpi/2021.18, and then usempiicx,mpiicpx, andmpiifxcommands for C, C++ and Fortran codes respectively.Suitable optimisation options depend greatly on each code, but you could start with
-O3 -xHostFor profiling and debugging you can use:
Note
If your application needs some external libraries (like gsl, mkl,
hdf5, netcdf, etc.), use the command module avail <package> to check
whether they are available. If so, load the one(s) you need with
module load <module> before compiling your application (and remember that
you will probably also need to load them in your submission script when running
it). Please contact us if you have any questions about which version to choose,
or if you need any software that is not already installed.
Job execution
LaPalma uses the Slurm job scheduling system for batch processing, and all jobs must run through it. If you have never used Slurm before, please read the Slurm Quick Start User Guide. You can also find a general guide on how to use Slurm on IAC machines here.
Important
Do not run any CPU-intensive programs on the login nodes: each login session is limited to 10 minutes of CPU time (not elapsed time), and your processes will be killed once this limit is exceeded.
Execution queues
LaPalma has a number of "queues" (technically implemented via the "Quality of Service" (QOS) feature) to which you can submit your jobs.
IAC members are assigned to class_a by default, and RES users will be
informed by the RES Access Committee of the resources granted (including the
number of hours in each queue: class_a, class_b or class_c). These queues
are where normal jobs run. Every user has a default queue, which is used when
no queue is specified, so no special directive (see the
Submission scripts section below) is needed to use it. If you
have access to more than one of these queues, add the directive
--qos=<queue_name> to use a queue other than your default one.
Additionally, all users can use the debug and interactive queues.
The
debugqueue is reserved for testing applications before submitting them to the production queues. Only one job per user is allowed to run simultaneously in this queue. To use this queue you will have to add the directive--qos=debugeither to the script file or thesbatchcommand line.The
interactivequeue is meant to run interactive jobs, which can be useful for testing or for any other jobs that require some level of interactivity. To use it, add the directive--qos=interactive.
Each queue limits the maximum number of nodes and the maximum wall time that a job can request. If you need these limits increased, please contact us. The limits are:
Queue |
Max nodes |
Max cores |
Wall time limit |
|---|---|---|---|
|
288 |
13824 |
72 hours |
|
70 |
3360 |
48 hours |
|
70 |
3360 |
24 hours |
|
4 |
192 |
30 min |
|
1 |
48 |
6 hours |
Submission scripts
To submit a job to LaPalma you need to create a script (a simple text file)
where you request resources via a number of directives (which appear as comments
starting with #SBATCH in the job script). For example, your script file
test.sh could be as simple as:
#!/bin/bash
#SBATCH --ntasks=4
#SBATCH --time=15:00:00
#SBATCH --job-name=YourJob
#SBATCH --output=%j.out
#SBATCH --error=%j.err
module load [...]
srun ./your_mpi_application
which you would then submit to LaPalma with the command sbatch test.sh.
Below is a list of the most commonly used directives (you can find a complete list in the official documentation for the sbatch command):
-J ...: Name of the job-A <account>: The account (project) to which the job is charged. RES users must always set it to the account of their RES project, otherwise the job is rejected. IAC users can leave it unset.--qos <queue_name>: The queue to which the job is submitted. Leave this unset unless you need to use thedebugorinteractivequeues, or a queue other than your default one.-t ...: Walltime requested for the job. It must be set using the formatHH:MM:SSorDD-HH:MM:SSto a value greater than the real execution time for your application. Shorter limits are likely to reduce the waiting time in the queue, but bear in mind that your job will be killed after the period you specified. If you do not specify any time limit, the maximum available in your assigned queue will be used.-n ...: Number of tasks. For MPI programs, this is the usual way to specify how many cores you want to use (for OpenMP or hybrid programs, see also--cpus-per-task).-o /path/to/file_out: Redirect standard output (stdout) tofile_out(use/dev/nullto ignore this output)-e /path/to/file_err: Redirect error output (stderr) tofile_err(use/dev/nullto ignore this output)-D <directory>: The job will run in the specified directory (if not set, the current directory is used).
Node sharing and memory
How your job is placed on the nodes depends on how many cores and nodes it requests:
Jobs using fewer than 48 cores on a single node share the node with other jobs. They are given 1880 MB of memory per allocated core, and requests for more memory per core (
--mem-per-cpu) are capped at this value. If your job needs more memory, request more cores (e.g. with--cpus-per-task), or request a whole node with--exclusive.Jobs using 48 or more cores, or more than one node, are given whole nodes exclusively, with all their memory (about 90 GB per node). Since these nodes are not shared with other jobs, request a multiple of 48 cores where possible, so that you do not leave allocated cores unused.
Attention
Before submitting large jobs, please perform some short tests to make sure your program is running fine. When running your jobs, check outputs and logs from time to time, and cancel the job if the application fails.
Note
It is also possible to specify directives directly on the command line (but script files allow you to easily reuse job submission details when needed, so we recommend using command-line directives only for quick tests).
For example, you could run the command sbatch -t 00:10:00 test.sh to submit a
quick 10-minute job. If the -t directive is also present in the test.sh
file, the command-line option takes precedence.
Environment variables
Although you won't need them in most situations, Slurm submission scripts can
also make use of a large number of environment variables if you need them. For
example, SLURM_JOB_ID contains the job ID of the running job and
SLURM_NTASKS its number of tasks, and there are many others. For a
complete list of all the available variables check the sections on "Input Environment Variables"
and "Output Environment Variables"
in the official Slurm documentation.
Job arrays
If you need to run the same program many times with different input data, use a job array instead of submitting many separate jobs. For example:
#!/bin/bash
#SBATCH --job-name=array_test
#SBATCH --array=1-100
#SBATCH --ntasks=1
#SBATCH --time=01:00:00
#SBATCH --output=%A_%a.out
#SBATCH --error=%A_%a.err
module load [...]
./your_program input_${SLURM_ARRAY_TASK_ID}.dat
This submits 100 jobs, each of which receives a different value (1 to 100) in
the variable SLURM_ARRAY_TASK_ID. In the output file names, %A is replaced
by the job ID of the array and %a by the array index. You can limit how many
of these jobs run at the same time with, for example, --array=1-100%10.
Each task of the array is a separate job. Since jobs using fewer than 48 cores
on a single node share the node with other jobs (see
Node sharing and memory), each serial task only takes up the
core(s) it requests, so job arrays are an efficient way of running many serial
programs. Bear in mind that each core comes with 1880 MB of memory: if your
tasks need more, request more cores per task with --cpus-per-task.
Job dependencies and delayed start
You can make a job wait until other jobs have finished with the
-d/--dependency directive. For example, to start a job only after jobs
12301 and 12302 have finished successfully:
[user@login1 ~]$ sbatch -d afterok:12301:12302 test.sh
Other conditions include afternotok (start only if the other jobs failed),
afterany (start when they have finished, whatever their outcome) and after
(start once they have started); see the
sbatch documentation
for all the options. To chain jobs from a script, sbatch --parsable prints
just the job ID:
[user@login1 ~]$ jid=$(sbatch --parsable first.sh)
[user@login1 ~]$ sbatch -d afterok:$jid second.sh
Dependencies are also useful for runs that need more time than the maximum wall
time of any queue, as long as your application can write checkpoints and
restart from them. Submit several jobs with the same job name and the option
-d singleton: each one will only start once all the previous jobs with the
same name (and user) have finished, and can resume from the last checkpoint.
Make sure that your program writes its checkpoints before the job reaches its
time limit.
To delay the start of a job until a given time, use the --begin option, with
either an absolute time (--begin=21:30, --begin=YYYY-MM-DDTHH:MM:SS) or a
relative one (--begin=now+2hours).
Monitoring and managing your jobs
The most useful commands to follow and manage your jobs are:
Command |
Purpose |
|---|---|
|
List your pending and running jobs (column |
|
Show the estimated start time of your pending jobs |
|
Show detailed information about a job (resources, |
|
Cancel a job, whether pending or running ( |
|
Show accounting information for a job, including finished ones |
You can modify some parameters of a pending job without cancelling and
resubmitting it, using scontrol update. For example, to reduce its time limit
(you can reduce, but not increase, it):
[user@login1 ~]$ scontrol update JobId=<job_id> TimeLimit=02:00:00
Resources consumed by your jobs
Use sacct to see the time, CPU time and memory used by your jobs, and
sstat for jobs that are still running. For example:
[user@login1 ~]$ sacct -j <job_id> --format=JobID,JobName,State,Elapsed,TotalCPU,MaxRSS,ExitCode
[user@login1 ~]$ sacct -X -u $USER -S <YYYY-MM-DD> --format=JobID,JobName,QOS,AllocCPUS,Elapsed,CPUTime,State
[user@login1 ~]$ sstat -j <job_id> --format=JobID,AveCPU,MaxRSS
For a summary of the hours consumed over a period, use sreport:
[user@login1 ~]$ sreport -t hours cluster AccountUtilizationByUser user=$USER start=<YYYY-MM-DD>
Troubleshooting
Errors when submitting a job
sbatch: error: This does not look like a batch script: the first line of your script must be the interpreter line (e.g.#!/bin/bash), with no blank lines or spaces before it.sbatch: error: Batch script contains DOS line breaks: the script was edited on Windows. Convert it withdos2unix <script>.No account specified, please specify an account: RES users must set the account of their project with-A <account>(see Submission scripts).Job violates accounting/QOS policy: you are asking for more resources than allowed (more nodes, cores or wall time than the limits shown in Execution queues), or for a queue that you do not have access to.
Jobs that stay pending
Run squeue -u $USER and check the NODELIST(REASON) column (or the Reason
field in scontrol show job <job_id>) to see why a job is still waiting. The
most common reasons are:
Priority: other jobs have a higher priority than yours.Resources: there are not enough free resources for your job at the moment.Dependency: the job is waiting for other jobs to finish. If the reason isDependencyNeverSatisfied, the dependency can no longer be met and you should cancel the job.Reasons ending in
Limit(e.g. starting withQOSorAssoc): a limit of your queue or project has been reached. Contact us if you are not sure what it means.
A complete list of reason codes is available in the squeue documentation.
Errors while running
If your job fails, first check its error file (the one set with -e). Most
problems are related to:
The submission script. Errors such as
command not foundor missing shared libraries (*.so) usually mean that the required modules are not loaded in the script. We recommend starting your script withmodule purgeand then loading only the modules you need, the same ones that you used to compile your application. Also check the paths to your program and to its input and output files.Your code: bugs, invalid operations, unhandled conditions, etc.
The problem size: your job may need more memory or disk space than is available (see Node sharing and memory).
The system: a temporary problem with the file system or the network.
For MPI programs, launch your application with srun, as in the example in
Submission scripts. If you see errors such as
Fatal error in MPI_Init, or your program does not run in parallel, check that
you are loading the same MPI module that you used to compile it, and contact us
if the problem persists.
Missing or incomplete output
If your job has finished but you cannot find its output, or it is incomplete:
Check the paths given with
-oand-e. Relative paths are relative to the job's working directory (set with-D, or the directory from which you submitted the job), and the directories must already exist.Make sure that different jobs do not overwrite each other's output, by including
%j(or%Aand%afor job arrays) in the file names.Check whether the job was killed:
sacct -j <job_id>shows aStateofTIMEOUTif it reached its time limit andOUT_OF_MEMORYif it ran out of memory (see Node sharing and memory).Check that you have not exceeded your disk or file quota (
lapalma_my_quota).
If none of this solves the problem, contact us.
Acknowledging the use of LaPalma in your work
Publications
Please add the following text to your publications if they are based on results obtained on LaPalma:
The author thankfully acknowledges the technical expertise and assistance
provided by the Spanish Supercomputing Network (Red Española de
Supercomputación), as well as the computer resources used: the LaPalma
Supercomputer, located at the Instituto de Astrofísica de Canarias.
"Informe Anual" (for IAC members)
The use of LaPalma should also be acknowledged when filling the "Informe Anual" of the projects. When introducing a refereed publication in the section "Producción Científica", add as a used resource the following: "Supercomputing: LaPalma".
Further information and support
If you need help or are having any kind of issue related to LaPalma, please contact us by email at res_support@iac.es. To help us help you, include as much detail as possible (e.g. the job ID, the location of your submission script and the exact error message).