stage_in.sh 204 Bytes
Newer Older
1 2 3 4 5 6

function stage_in_writer() {
cat <<EOF > $stagefile
#!/bin/bash
target=/localscratch/$SLURM_JOB_ID/ramdisk
cd \$target
7
parallel -j 4 cp {} {/} ::: \$(find -L ${DATABASEPATH} -type f ) 
8
cd -
9
wait
10 11 12 13
EOF
}