bug-parallel
[Top][All Lists]
Advanced

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

Re: GNU Parallel Bug Reports parallel not functional on Solaris 10


From: Henry Bent
Subject: Re: GNU Parallel Bug Reports parallel not functional on Solaris 10
Date: Sun, 11 Nov 2018 10:15:29 -0500

On Sun, 11 Nov 2018 at 06:51, Ole Tange <address@hidden> wrote:
On Thu, Nov 8, 2018 at 3:08 AM Henry Bent <address@hidden> wrote:

> Running on Solaris 10 1/13 x86, any spawned job is preceded by a stray "2".  Example:
>
> % parallel --verbose -k echo ::: A B C > abc-file
> 2 echo A
> 2 echo B
> 2 echo C
> 2: Command not found.
> 2: Command not found.
> 2: Command not found.

Please run:

  parallel -Dall echo ::: A

and post output here.

GNU Parallel is tested on:

$ uname -a
SunOS solaris 5.10 Generic_147147-26 sun4u sparc SUNW,Sun-Fire-V210

$ uname -a
SunOS solaris-x86 5.11 11.3 i86pc i386 i86pc


/Ole

The machine in question is running:
SunOS optiplex 5.10 Generic_150401-59 i86pc i386 i86pc

Which I would not think would be appreciably different from your testing platforms.

optiplex% parallel -Dall echo ::: A
Parent of 21664
which tcsh => tcsh in /usr/local/sbin:/usr/local/bin:/usr/openwin/bin:/usr/X11/bin:/usr/ccs/bin:/sbin:/usr/sbin:/usr/xpg6/bin:/usr/xpg4/bin:/bin:/usr/bin:/usr/ucb/bin:/usr/sfw/sbin:/usr/sfw/bin
shell path /bin/tcsh
Global::shell /bin/tcsh
Open file descriptors: 2 1
2 echo Context:  Non: 5 Ctxgrp:  NonCtxGrp: 2
2 echo ¯<¯> Context:  Non: 5 Ctxgrp: 1 NonCtxGrp: 2
Wanted procs: 4
MultifileQueue->empty  RecordQueue->empty CommandLineQueue->empty JobQueue->empty  MultifileQueue->empty  RecordQueue->empty eval  A
noncontext + command: 7
context+noncontext + command: 7
cmd_line->number_of_args 1
Tokens 2:spc:echo:spc:¯<¯>:
Replaced: 2:spc:echo:spc:ign:A:
Quoted: 2:echo:A:
noncontext + command: 7
context+noncontext + command: 7
noncontext + command: 7
context+noncontext + command: 7
8 == 8 2 echo A
Time to fork 1 procs: 0  (processes so far: 1)
MultifileQueue->empty 1 RecordQueue->empty 1CommandLineQueue->empty 1JobQueue->empty 1 RecordQueue-unget ''
JobQueue->empty  Limited to procs: 1
JobQueue->empty  Running jobs before on ::
: has  out of 1 jobs running. Start another.
JobQueue->empty  Command to run on ':': '2 echo A'
 processes . Starting (1): 2 echo A
bash -c 'testfun() { rm /tmp/parXM5YO.tst; }; export -f testfun; perl -MIPC::Open3 -e '"'"'if($pid=::open3($i,$o,$e,"-")) { wait; } else { exec("bash","-c","testfun && true"); }'"'" 2>/dev/nullopen3_setpgrp_internal chosen
Started as seq 1 pid:21696
Running jobs after on :: 1 of 1
MultifileQueue->empty 1 RecordQueue->empty 1CommandLineQueue->empty 1JobQueue->empty 1 Start draining
==1 slots: 1Reaper done ms ==1 slots: 1Reaper seq 1 died (1)>>joboutput 2 echo A
File descriptor 1 (/tmp/pare9Y_f.par):
File descriptor 2 (/tmp/pars0aPb.par):
2: Command not found.
<<joboutput 2 echo
MultifileQueue->empty 1 RecordQueue->empty 1CommandLineQueue->empty 1JobQueue->empty 1 done MultifileQueue->empty 1 RecordQueue->empty 1CommandLineQueue->empty 1JobQueue->empty 1 MultifileQueue->empty 1 RecordQueue->empty 1CommandLineQueue->empty 1JobQueue->empty 1 Done draining
Reaper done Done reaping
Halt
kill_sleep TERM
kill_sleep TERM
kill_sleep TERM
kill_sleep KILL


-Henry

reply via email to

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