You can connect into Diamond’s clusters to manually reprocess data. This is a multi-step process!
Starts the same as general connecting to Diamond (e.g. if doing a remote collection)
Step 1: Get NoMachine/NX Client. Tip: Search for “NoMachine Enterprise Client” then get without server
Step 2: Configure connection to Diamond
Step 3: Double-click on your new connection. It will ask for your username and password the first time.
Step 4: If you are part of a remote collection, the beamline machines will be listed to connect to. Do not connect to these outside of your beamtime! Instead, click “Create new desktop or custom session”
Step 5: Click “Create new virtual desktop”. You may get something like this; ”Automatically Select a Node”. Should see desktop looking something like this.This is a machine on the cluster but should not be used for processing – the memory and CPU are quite restricted. Open the launch menu (top-left), and click on the “Terminal”
Step 6: This opens a terminal window on this hostYou must change hosts to the Slurm submission controller, type: `ssh wilson`. You will then be prompted for your password. Please do not try to process data on the login NX node, or the Wilson submission node. This will either work slowly, start and then crash, or be liable to be killed if it takes too much resource on the shared infrastructure.
Therefore, please navigate to the folder that you want your script to run in - generally in your visit folder, as your home area is too small for most jobs. Use your visit processing folder to process data manually e.g.
cd /dls/i24/data/2026/mx12345-12/processing
This directory will be available for 40 days after your visit ends. Alternatively, you can work in:
cd /dls/tmp/<your fedid>
and data stored here is kept for 30 days after creation.
Any questions on using these facilities? Please feel free to email [email protected] – no questions are stupid!
Once in the right place, you can submit jobs using SLURM. When your job is running, you can type exit to log out - because it'll run happily in the background, and all the output files will appear where you expect. The output text will go to slurm-jobnumber.out.
| Command | What it does |
| sbatch <jobScript> | Run script |
| squeue | What jobs are running |
| squeue --me | What jobs are running for you |
| sinfo | View information about Slurm nodes and partitions |
| scancel <jobID> | Cancel a job |
| srun |
Run a parallel task |
More Slurm commands can be found here.
Diamond Light Source is the UK's national synchrotron science facility, located at the Harwell Science and Innovation Campus in Oxfordshire.
Diamond Light Source Ltd
Diamond House
Harwell Science & Innovation Campus
Didcot
Oxfordshire
OX11 0DE
Copyright © Diamond Light Source. Diamond Light Source® and the Diamond logo are registered trademarks of Diamond Light Source Ltd
Registered in England and Wales at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom. Company number: 4375679. VAT number: 287 461 957. Economic Operators Registration and Identification (EORI) number: GB287461957003.