Skip to content
Snippets Groups Projects
Commit 7a215e1a authored by Danny Marc Rotscher's avatar Danny Marc Rotscher
Browse files

Added further Slurm example with job dependency to a Datamover job

parent 542b007a
No related branches found
No related tags found
2 merge requests!530Automated merge from preview to main,!493Added further Slurm example with job dependency to a Datamover job
......@@ -355,4 +355,17 @@ file) that will be executed one after each other with different CPU numbers:
## Array-Job with Afterok-Dependency and Datamover Usage
This part is under construction.
First you have to start your Datamover job, which for example transfers your input data from one workspace to another.
```console
marie@login: export DATAMOVER_JOB=$(dtcp /scratch/ws/1/marie-source/input.txt /beegfs/ws/1/marie-target/. | awk '{print $4}')
```
Now you can refer to the job id of the Datamover jobs from your work load jobs.
```console
marie@login: srun --dependency afterok:${DATAMOVER_JOB} ls /beegfs/ws/1/marie-target
srun: job 23872871 queued and waiting for resources
srun: job 23872871 has been allocated resources
input.txt
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment