parallel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: file permissions on joblog


From: Rob Sargent
Subject: Re: file permissions on joblog
Date: Sat, 30 Jul 2022 03:27:49 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0

On 7/29/22 23:52, Ole Tange wrote:

Would this work:

#!/bin/bash
LOGDIR=/scratch/general/pe-nfs1/u0138544/logs
chmod a+x $LOGDIR/*
logfile="$LOGDIR"/mylog.$$
touch "$logfile"
chmod -R a+rw "$LOGDIR"

. /uufs/chpc.utah.edu/sys/installdir/sgspub/bin/sgsCP.sh

parallel \
     --joblog +"$joblog" \
      --verbose \
      --jobs 50% \
      --delay 1 \
      /uufs/chpc.utah.edu/sys/installdir/sgspub/bin/chaser-10Mt
83a9a2ad-fe16-4872-b629-b9ba70ed5bbb $endtime $JOBDIR ::: {1..750}

The idea is the same as my original: Make the file and set the
permissions before starting GNU Parallel.

/Ole

Ah, I missed the plus-sign nuance.  Yes, I believe that's the trick I've been looking for. Just out of curiosity, has that always been available?  It's been a very long time since I really read the --joblog portion of the manual.

Thank you, very much, for your time,
rjs




reply via email to

[Prev in Thread] Current Thread [Next in Thread]