From MAILER-DAEMON Wed Nov 07 21:08:22 2018 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gKZk6-0000ld-4Z for mharc-bug-parallel@gnu.org; Wed, 07 Nov 2018 21:08:22 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33482) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gKZhF-00051T-9J for bug-parallel@gnu.org; Wed, 07 Nov 2018 21:05:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gKZhD-0006FX-7Q for bug-parallel@gnu.org; Wed, 07 Nov 2018 21:05:24 -0500 Received: from mail-ot1-x333.google.com ([2607:f8b0:4864:20::333]:45671) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gKZhB-0006A0-PE for bug-parallel@gnu.org; Wed, 07 Nov 2018 21:05:23 -0500 Received: by mail-ot1-x333.google.com with SMTP id g10so16741406otl.12 for ; Wed, 07 Nov 2018 18:05:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=egUW7RKaWG2BZAlVTQG+n8uHNqodxNJkHkKC6THD5ok=; b=FUGUAJvxBe/JZD78O0nDzlxCx5vs4JVNWDkLZYKFKnEZSWDTK2rgPGwEnyFCTmov+Z 7SglGIFmMoaZ+1C9LK3ZTv6uA6BkMLxZGP/IF1dpAFPlZ88jwY1JpZCMnNkHfc7SE/Fq 60OODaP2PrXMTvsDlZGWQKsmUABUf44AJSGyxx80NXHt6cGdHx+Aam+TD1ygXv2jbDJ0 90aw9f2TjSazSnn6BcUaoin0DtLTmFFqQbK5XYZHAQi2LEnr1sUYSgeAAbCqAqCZGu78 9o/q+kSLac2ewPTCrIWV+nQ0/+lDmz/0rxSgw+vJs2mnSJb2o2MaAC2yW41ruNJdt5fZ kptw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=egUW7RKaWG2BZAlVTQG+n8uHNqodxNJkHkKC6THD5ok=; b=PO8tyj98/x35oTUW1qWIo0fpXZs/y4IJrWPjY9luUeC2BFVoMXeU/giTUG1CQz9qD2 UCE7caT/mn0DRgReaEoINdg5Fo50iGbhSgdPnpsJCdDz3U1QcjeF9gLnAzhuVYiqta23 eXiKHz5BD+H39YxOebmxy49Y5qHiiXvovVaK3rCKTuLPHD9PJQ0gvvHMQHdDAdjiE0Pp ux15zZWmR3foueglmbhQ5GUeTCGZ0LLqNn7Go3Wxnb0ZSiJA3o3dQI0ALWmfIeHXdFDb VTkolPQYfSoALw7+v6PWCj+hdSsZVzuWfoU+e88HcqS0TzVDKwRR4ZaZzRQ80YwPH5qO qPBA== X-Gm-Message-State: AGRZ1gLz1/QQGZRN1uh8dPf4Gxv8qrW72XZ/kDhcjkBUS0U7rDAqYE1U 2ZgCEBIWGERlGE5dv77kZsF5QzQNQLlh53woHtKb6yBu X-Google-Smtp-Source: AJdET5cYpRK3KWX3gdSHTOD+6OhNLXprGP/gFYoVdk9PnxKzQ69EwkfghXlt5r9m8kYjKsyyeCJqjYlkQiaM2Ccve3M= X-Received: by 2002:a9d:2b17:: with SMTP id o23mr1678107otb.307.1541642717665; Wed, 07 Nov 2018 18:05:17 -0800 (PST) MIME-Version: 1.0 From: Henry Bent Date: Wed, 7 Nov 2018 21:05:06 -0500 Message-ID: To: bug-parallel@gnu.org Content-Type: multipart/alternative; boundary="0000000000008e9e0a057a1daaae" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::333 X-Mailman-Approved-At: Wed, 07 Nov 2018 21:08:21 -0500 Subject: GNU Parallel Bug Reports parallel not functional on Solaris 10 X-BeenThere: bug-parallel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Nov 2018 02:05:26 -0000 --0000000000008e9e0a057a1daaae Content-Type: text/plain; charset="UTF-8" parallel --version GNU parallel 20181022 ... 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. I tested with both the system's perl (5.8.4) and my own compile of perl 5.26.2. I am at a loss as to what is happening here. -Henry --0000000000008e9e0a057a1daaae Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
parallel --version<= br>GNU parallel 20181022
...

Running= on Solaris 10 1/13 x86, any spawned job is preceded by a stray "2&quo= t;.=C2=A0 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.
I tested with both the system's perl (5.8.4) and my own com= pile of perl 5.26.2.=C2=A0 I am at a loss as to what is happening here.
=

-Henry
--0000000000008e9e0a057a1daaae-- From MAILER-DAEMON Sun Nov 11 06:51:48 2018 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gLoHM-00076m-Qj for mharc-bug-parallel@gnu.org; Sun, 11 Nov 2018 06:51:48 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59796) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gLoHK-00076c-N3 for bug-parallel@gnu.org; Sun, 11 Nov 2018 06:51:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gLoHI-0008Re-0c for bug-parallel@gnu.org; Sun, 11 Nov 2018 06:51:46 -0500 Received: from mail-it1-f179.google.com ([209.85.166.179]:35092) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gLoHH-0008Oe-Gf for bug-parallel@gnu.org; Sun, 11 Nov 2018 06:51:43 -0500 Received: by mail-it1-f179.google.com with SMTP id v11so9534054itj.0 for ; Sun, 11 Nov 2018 03:51:42 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=8yBMzCKQwPziSM5DWft8Wj80JFKefJcXQgL29pIeHyg=; b=pJmy1WFvbjD34Lzh2m258S+bAak69JhbmJCyM0cgDrTHSQlpPlHTJL3muMjue1purm /z8PXlTpPNOXuGsQzVvxbVAuApOCrVcghFCCAJIc0H7QsFEBzqMZnVIvfOmBqcy1TaB/ UnIxaTcGgbh00jlL8j01F+0R0IjkVBCMP8S73f9tgLLvkTRZu6eLdDRx+/YT7FajZrFx YaBK85JAtwv14e9cntT3a/zBP5J7lf0iSy8x9kzWcJgAth5CYJDV8QBAxBZUOdVsKjB9 j4ZcITqPvEoiMW2tEQlBmuTEaXzaMir4j00GdyhGQVFLdeqlTOUVeaZ/B4xazt229/EJ mKSw== X-Gm-Message-State: AGRZ1gLZ9LJ4V6ZnDZ5yjTJgk8xkpRMtRB+6ORhF3eChVvWD09/l9o4d bHz9WS3CtJZKus1c8Vo82r8DApeeQ4XNuJul8kI= X-Google-Smtp-Source: AJdET5eyai0u0tKilekz4kSo/YtYTgs/7SGgOrSapK6EbSRrAcO3s+at+qmD9FLrfLufkVtW2vOOmVj2bKAIY/bKtv4= X-Received: by 2002:a02:56d3:: with SMTP id u80-v6mr14133241jad.88.1541937101588; Sun, 11 Nov 2018 03:51:41 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Ole Tange Date: Sun, 11 Nov 2018 12:51:29 +0100 Message-ID: To: henry.r.bent@gmail.com Cc: bug-parallel Content-Type: text/plain; charset="UTF-8" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.166.179 Subject: Re: GNU Parallel Bug Reports parallel not functional on Solaris 10 X-BeenThere: bug-parallel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Nov 2018 11:51:47 -0000 On Thu, Nov 8, 2018 at 3:08 AM Henry Bent 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 From MAILER-DAEMON Sun Nov 11 10:15:53 2018 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gLrSr-0005jP-01 for mharc-bug-parallel@gnu.org; Sun, 11 Nov 2018 10:15:53 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41634) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gLrSn-0005jG-Vz for bug-parallel@gnu.org; Sun, 11 Nov 2018 10:15:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gLrSm-0001wL-4G for bug-parallel@gnu.org; Sun, 11 Nov 2018 10:15:49 -0500 Received: from mail-oi1-x22a.google.com ([2607:f8b0:4864:20::22a]:35042) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gLrSl-0001rb-Sv for bug-parallel@gnu.org; Sun, 11 Nov 2018 10:15:48 -0500 Received: by mail-oi1-x22a.google.com with SMTP id v198-v6so5247166oif.2 for ; Sun, 11 Nov 2018 07:15:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=s/xmF7h7S6IOgqYH3Lwl4Ja0Ue0sS61k5OMuHb21jq4=; b=ehxZeEg66YMKqpNtCcN7WnXXABvOilvSCa3MVXJIefW67UXQP7Ztu0frBx85MgN9QL N8oDN331VsmtInAh4b3iPY/Loo/vbu66ZLc8SnFHdTA8wiyGMuKnkb2KzGl4n44EEuyH PwI95Hv55kDryJOiar993UesjoGUTgEOCFPYGEXzJNMkfW/5glK6oQ8012dXtm4lAfhe uJbbfgTOvbY5wBvUlU66OqLarjv5Hw+t6fo0syjUUr1gETa+llTbUbVYWGTYyLIcckdY M0zQ0wzJ7i2WbbKVMXP+QDruLmdX1imX3AqhtnyOWwy7rwWh3Nw2qbob0s5D4Y4FtsrO m/ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=s/xmF7h7S6IOgqYH3Lwl4Ja0Ue0sS61k5OMuHb21jq4=; b=nJ0CN8gmEpGKXo1VdqZ988JTMuv8uM153/sXdUR6IjLl39RKppf8JxlzsB5KlEMGaa Ayw5xgymKIgNwrgmxDqLvHeaOB1RdkhcCohLrkfXg/IbTgL3pBl87fdq3SLYYvf5iH9P WuYGil9Y/ZHH5VmH+9X/XmVcCAiMtn7Ce4Upk5+AvlJQ7tcPlhIZ7yZDKpv8gxp52jXL BSrFVIMWjipqkEEykkzdUQEtbB0Vb/8fyje0JJD/wSGaKglsNNl2kDir19UHEatu0ZkE Wk+Q/92jHh1Q3xrfPVcZqwiWdVmjOLYLYI7oXiRZmyvoUGj9LsTTscoGpgmJzaOIfNLV 4FCg== X-Gm-Message-State: AGRZ1gJJtS1gZh4wSE1jqgndrPaKmVRHTQ8BmU1fMhAfkjhxOdig5zqI gTPBHyjLl3Buue/tDBq5lpEM9PN372mmrXpwa718QKzn X-Google-Smtp-Source: AJdET5dc2laEFUqpKMgQyFGK4UcEaK0mV23eQIMcVcLXD0WDnrkr+QbWcyvlmE40WIGHq17ofLwVnfJRf1zcLZCP1ec= X-Received: by 2002:aca:6a4e:: with SMTP id f75-v6mr9697443oic.260.1541949342074; Sun, 11 Nov 2018 07:15:42 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Henry Bent Date: Sun, 11 Nov 2018 10:15:29 -0500 Message-ID: To: ole@tange.dk Cc: bug-parallel@gnu.org Content-Type: multipart/alternative; boundary="000000000000cbcbd2057a650e91" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::22a Subject: Re: GNU Parallel Bug Reports parallel not functional on Solaris 10 X-BeenThere: bug-parallel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Nov 2018 15:15:51 -0000 --000000000000cbcbd2057a650e91 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, 11 Nov 2018 at 06:51, Ole Tange wrote: > On Thu, Nov 8, 2018 at 3:08 AM Henry Bent 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 =3D> 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 =C2=AF<=C2=AF> 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:=C2=AF<=C2=AF>: 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 =3D=3D 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=3D::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 =3D=3D1 slots: 1Reaper done ms =3D=3D1 slots: 1Reaper seq 1 died (1)>>jobou= tput 2 echo A File descriptor 1 (/tmp/pare9Y_f.par): File descriptor 2 (/tmp/pars0aPb.par): 2: Command not found. <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 drainin= g Reaper done Done reaping Halt kill_sleep TERM kill_sleep TERM kill_sleep TERM kill_sleep KILL -Henry --000000000000cbcbd2057a650e91 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sun, 11 Nov 2018 at 0= 6:51, Ole Tange <ole@tange.dk> wr= ote:
On Thu, Nov 8, 2018 at 3:08 AM Henry Bent <henry.r.bent@gmail.com> wr= ote:

> Running on Solaris 10 1/13 x86, any spawned job is preceded by a stray= "2".=C2=A0 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:

=C2=A0 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 fro= m your testing platforms.

optiplex% parallel -Dall= echo ::: A
Parent of 21664
which tcsh =3D> tcsh in /usr/local/sbi= n:/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 des= criptors: 2 1
2 echo Context:=C2=A0 Non: 5 Ctxgrp:=C2=A0 NonCtxGrp: 22 echo =C2=AF<=C2=AF> Context:=C2=A0 Non: 5 Ctxgrp: 1 NonCtxGrp: 2Wanted procs: 4
MultifileQueue->empty=C2=A0 RecordQueue->empty C= ommandLineQueue->empty JobQueue->empty=C2=A0 MultifileQueue->empty= =C2=A0 RecordQueue->empty eval=C2=A0 A
noncontext + command: 7
con= text+noncontext + command: 7
cmd_line->number_of_args 1
Tokens 2:s= pc:echo:spc:=C2=AF<=C2=AF>:
Replaced: 2:spc:echo:spc:ign:A:
Quo= ted: 2:echo:A:
noncontext + command: 7
context+noncontext + command: = 7
noncontext + command: 7
context+noncontext + command: 7
8 =3D=3D= 8 2 echo A
Time to fork 1 procs: 0=C2=A0 (processes so far: 1)
Multi= fileQueue->empty 1 RecordQueue->empty 1CommandLineQueue->empty 1Jo= bQueue->empty 1 RecordQueue-unget ''
JobQueue->empty=C2=A0= Limited to procs: 1
JobQueue->empty=C2=A0 Running jobs before on ::<= br>: has=C2=A0 out of 1 jobs running. Start another.
JobQueue->empty= =C2=A0 Command to run on ':': '2 echo A'
=C2=A0processes= . Starting (1): 2 echo A
bash -c 'testfun() { rm /tmp/parXM5YO.tst;= }; export -f testfun; perl -MIPC::Open3 -e '"'"'if($= pid=3D::open3($i,$o,$e,"-")) { wait; } else { exec("bash&quo= t;,"-c","testfun && true"); }'"'&q= uot; 2>/dev/nullopen3_setpgrp_internal chosen
Started as seq 1 pid:21= 696
Running jobs after on :: 1 of 1
MultifileQueue->empty 1 Record= Queue->empty 1CommandLineQueue->empty 1JobQueue->empty 1 Start dra= ining
=3D=3D1 slots: 1Reaper done ms =3D=3D1 slots: 1Reaper seq 1 died (= 1)>>joboutput 2 echo A
File descriptor 1 (/tmp/pare9Y_f.par):
F= ile descriptor 2 (/tmp/pars0aPb.par):
2: Command not found.
<<j= oboutput 2 echo
MultifileQueue->empty 1 RecordQueue->empty 1Comman= dLineQueue->empty 1JobQueue->empty 1 done MultifileQueue->empty 1 = RecordQueue->empty 1CommandLineQueue->empty 1JobQueue->empty 1 Mul= tifileQueue->empty 1 RecordQueue->empty 1CommandLineQueue->empty 1= JobQueue->empty 1 Done draining
Reaper done Done reaping
Halt
k= ill_sleep TERM
kill_sleep TERM
kill_sleep TERM
kill_sleep KILL
=


-Henry
= --000000000000cbcbd2057a650e91-- From MAILER-DAEMON Mon Nov 12 17:08:34 2018 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gMKNl-0001MG-TW for mharc-bug-parallel@gnu.org; Mon, 12 Nov 2018 17:08:33 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60585) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gMKNk-0001Kg-7E for bug-parallel@gnu.org; Mon, 12 Nov 2018 17:08:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gMKNd-0001Fj-OE for bug-parallel@gnu.org; Mon, 12 Nov 2018 17:08:31 -0500 Received: from mail-io1-f49.google.com ([209.85.166.49]:43548) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gMKNd-0001DM-E1 for bug-parallel@gnu.org; Mon, 12 Nov 2018 17:08:25 -0500 Received: by mail-io1-f49.google.com with SMTP id t81-v6so7375390iod.10 for ; Mon, 12 Nov 2018 14:08:20 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=a0EOjNsph+RH+agHSYTk9zTwoV8WrDBSX1lcstazBLo=; b=fDIqEGoairezJhxQ7GK9szuQgH6Ognid/ezcnLZI6p7gks6FPSiR+J9jL8vDMbvxIG 6yPYOr2MvBR7ZR7I5iLo0/rMRVPfuIhNor5TwdeNW6qI0RHRKGJvKweRSkAnmI7K6QS+ rKxdVrfd/0fiu0SHmDx19fsCV8iAzqtEaMFumxVTCb1aHY6D4Snm0kVXVAQPxfFfLzvN vHqZ6K5hNPb9SYxdFbDyh2pYHXBzfe3kv168M0d0odTKvPO2VOYzxxgzKX40//0w9/Cf Yzuz29fexDhIOqqykXJRo53+LB7ODukGi1wRq+qHvHt4ex/z4Wrp/hZ+pZoSKrzbeAoh 7l0w== X-Gm-Message-State: AGRZ1gIngOl2DswsyVu3/9p7hoi4V6t3kPOK6j5lXFx5/yhQEte4VsAx R4an/6/aO/cKCajY41K/BtgdZNF9rRDAqcq9jX0= X-Google-Smtp-Source: AJdET5ceDivT5VzaVbgO62MpaTixV3JEO9KBxEZbOwoVL2F6MlVB4jkQx1RmzRbycvGlIZB6bmF5uQFqwEig11WFq48= X-Received: by 2002:a6b:b2d2:: with SMTP id b201mr2220523iof.303.1542060500227; Mon, 12 Nov 2018 14:08:20 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Ole Tange Date: Mon, 12 Nov 2018 23:08:06 +0100 Message-ID: To: Henry Bent Cc: bug-parallel Content-Type: text/plain; charset="UTF-8" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.166.49 Subject: Re: GNU Parallel Bug Reports parallel not functional on Solaris 10 X-BeenThere: bug-parallel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Nov 2018 22:08:33 -0000 On Sun, Nov 11, 2018 at 4:15 PM Henry Bent wrote: > On Sun, 11 Nov 2018 at 06:51, Ole Tange wrote: >> On Thu, Nov 8, 2018 at 3:08 AM Henry Bent 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: Command not found. > > 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. I agree. I have the feeling the problem is elsewhere. > optiplex% parallel -Dall echo ::: A : > 2 echo Context: Non: 5 Ctxgrp: NonCtxGrp: 2 So the 2 is present very early. If I set PARALLEL to 2 then I get the same result: % setenv PARALLEL 2 % parallel -Dall echo ::: 1 : 2 echo Context: Non: 5 Ctxgrp: NonCtxGrp: 2 So: Is $PARALLEL set? Are these empty: ~/.parallel/config ~/.parallelrc /etc/parallel/config I have the feeling one of those contain something that results in the extra '2'. Maybe something like: % setenv PARALLEL "--jobs 3 2" % parallel echo ::: A 2: Command not found. What is the output of: % parallel --plain echo ::: A --plain ignores $PARALLEL and config files. /Ole From MAILER-DAEMON Mon Nov 12 17:16:48 2018 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gMKVh-0005GN-G2 for mharc-bug-parallel@gnu.org; Mon, 12 Nov 2018 17:16:47 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34589) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gMKVe-0005Eq-S7 for bug-parallel@gnu.org; Mon, 12 Nov 2018 17:16:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gMKVd-0005PB-9C for bug-parallel@gnu.org; Mon, 12 Nov 2018 17:16:42 -0500 Received: from mail-oi1-x22f.google.com ([2607:f8b0:4864:20::22f]:33129) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gMKVb-0005Kr-9b for bug-parallel@gnu.org; Mon, 12 Nov 2018 17:16:39 -0500 Received: by mail-oi1-x22f.google.com with SMTP id c206so3019742oib.0 for ; Mon, 12 Nov 2018 14:16:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=34+EmweQngxfqLyPm5dppxZ5or04vz8c8yE7iVTZboU=; b=V9ifkh81rLotK0RQ2/ZxIOa1B3tq10foOXEKnbM6igzYREgm+6AQyZxlAHqZT4Kq07 PjVkJpvRCypQmTgoiJQOwsly6mbZyUVRsLffTmjGLw7u2N7l0j+5yGK6yYE9GmXuXNkE ZYhdEMBEP0XBT0I7FXl3ZdI0PDAGh5jXlXfDQKRt0t7HyIx7r0ogofPeNuuB5DbzGqS6 bBGLcmUtbKYgPNnVhcY3VJGVruBF/waqzyUbEa8Mo0G1e3Rf2piuR4pXSqPlWoHJScs0 HYzkO9o4BHrmRZD5E2AGYfbgJ+IGtC6KK7BFC2GOyxI0T14o7OSFk2kgsVofcnW+cVXK LX+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=34+EmweQngxfqLyPm5dppxZ5or04vz8c8yE7iVTZboU=; b=QY1jlvt1H/plkUt+fCB8frVyYyP8JBvZYwt13oBUXZwG0xqACdblIuu+6qM6C4KDv/ GEBGYSdk5Ni7mhinN2j0BQeVAvay7CDmBULJaXeDQl5c0FjQhtzDSXBp5yhWBQgdOm5d djXmWtkF2oSsjzRSzvs5J4wQ5PmWt9Zyi4ubdayJkHAajXXMqyw4PDkkGRnhSpu3pT72 0iyPo3JJpbKLqQNai+BPBdXkTuxvOip6+Ntcu5HolcCWfAzWms8NYi0x2bUSMu3c5sUT Dg4ve5yu1AVUBzT8T9uB1JtzGczwc1wC+9jz67wdiGFLPIqNSo/Ab9PHarEotjhbUj9v +seQ== X-Gm-Message-State: AGRZ1gIHqehQ7WL5DqOSV7VndsdRR0fQwtUn9J3JsD7sXFtAjrQufV+X G/Olo0OIJUKZyPwPllEnae0b1ik4wFExcIkEypuYLA== X-Google-Smtp-Source: AJdET5esqkB0QobR2R3wA2TfzTp3qu3xE0ZtJ2Hri/4WyqIGzLZlULQyYVG1mhniW1iz8ENREyGZ0bOshATHdRkGR/s= X-Received: by 2002:aca:d802:: with SMTP id p2-v6mr1497298oig.286.1542060989933; Mon, 12 Nov 2018 14:16:29 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Henry Bent Date: Mon, 12 Nov 2018 17:16:15 -0500 Message-ID: To: ole@tange.dk Cc: bug-parallel@gnu.org Content-Type: multipart/alternative; boundary="00000000000086efb7057a7f0d32" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::22f Subject: Re: GNU Parallel Bug Reports parallel not functional on Solaris 10 X-BeenThere: bug-parallel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Nov 2018 22:16:43 -0000 --00000000000086efb7057a7f0d32 Content-Type: text/plain; charset="UTF-8" On Mon, 12 Nov 2018 at 17:08, Ole Tange wrote: > So: > Is $PARALLEL set? > Are these empty: > ~/.parallel/config > ~/.parallelrc > /etc/parallel/config > > I have the feeling one of those contain something that results in the > extra '2'. Maybe something like: > > % setenv PARALLEL "--jobs 3 2" > % parallel echo ::: A > 2: Command not found. > > What is the output of: > > % parallel --plain echo ::: A > > --plain ignores $PARALLEL and config files. > You found it, I had $PARALLEL set in my environment. It must have been from something a long time ago; I have forgotten what would have wanted that variable set. This was obviously user error and thank you for helping me through it. On the plus side, this was a good excuse to clean out many years of cruft in my .cshrc. -Henry --00000000000086efb7057a7f0d32 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Mon= , 12 Nov 2018 at 17:08, Ole Tange <ole@t= ange.dk> wrote:
So:
Is $PARALLEL set?
Are these empty:
=C2=A0 ~/.parallel/config
=C2=A0 ~/.parallelrc
=C2=A0 /etc/parallel/config

I have the feeling one of those contain something that results in the
extra '2'. Maybe something like:

% setenv PARALLEL "--jobs 3 2"
% parallel echo ::: A
2: Command not found.

What is the output of:

% parallel --plain echo ::: A

--plain ignores $PARALLEL and config files.

=
You found it, I had $PARALLEL set in my environment.=C2=A0 It must hav= e been from something a long time ago; I have forgotten what would have wan= ted that variable set.=C2=A0 This was obviously user error and thank you fo= r helping me through it.=C2=A0 On the plus side, this was a good excuse to = clean out many years of cruft in my .cshrc.

-Henry=
--00000000000086efb7057a7f0d32-- From MAILER-DAEMON Thu Nov 22 18:54:05 2018 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gPynN-0007RD-FE for mharc-bug-parallel@gnu.org; Thu, 22 Nov 2018 18:54:05 -0500 Received: from eggs.gnu.org ([208.118.235.92]:47330) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gPynL-0007Pp-3M for bug-parallel@gnu.org; Thu, 22 Nov 2018 18:54:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gPynK-0006Dk-2s for bug-parallel@gnu.org; Thu, 22 Nov 2018 18:54:03 -0500 Received: from mail-io1-f43.google.com ([209.85.166.43]:36766) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gPynF-0005yu-FT; Thu, 22 Nov 2018 18:53:57 -0500 Received: by mail-io1-f43.google.com with SMTP id m19so7624617ioh.3; Thu, 22 Nov 2018 15:53:57 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=CDvnaBiYCO4TbbwGLrunveNOfWBTREZNqm3Fh/bl3Lw=; b=DGoueSnfNwZnr9EpDSfR1yDeWJNo5bIo2d4OP9uOhsyHFsPHAWn3CmpS6rV2tpXOfJ VgFiy5S1TCo1IWzJC5UrqrSiPehLGO+ZFDeVtikZmrRXwvsoAOlM4j2simt3adci7JmW Dkp2xTzdkyIFN4aVfXfhobmXlEY3a7unuW1VMuCODaeqlErXeBgtXe3KNGVcQnSaFcMm ZL2TQShobdS6lddrWM+BCWDjsqDry3uO9R66rhQQbxX82GaNlmGxcQq6M55GJA8jW63M 6xuObwhlPCCUK/CtuOrGrbg5HjugKOiedNAX+6k2Y2fdgc8etyov1tsm9MwIO7K+F4HV ypPQ== X-Gm-Message-State: AA+aEWb6NIhb7Uc4YCdKbWT7oJh4I164ZCnPcKz6aVGCqf32VszmQoZB 2CBKzco+Ee2W6KvmNhf5uaLMYtP6Fk/txPgbcsfkMdWa X-Google-Smtp-Source: AFSGD/VcLmQt9c2cf7tOhA3LYV6d51Cw4yE1rkNmG0iQnSRJ6mBt8f0vhhCNvISE5rbFqibqzvU73C6BQ7mlj3/rjm4= X-Received: by 2002:a6b:b2d2:: with SMTP id b201mr9866096iof.303.1542930836025; Thu, 22 Nov 2018 15:53:56 -0800 (PST) MIME-Version: 1.0 From: Ole Tange Date: Fri, 23 Nov 2018 00:53:44 +0100 Message-ID: To: parallel , bug-parallel Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.166.43 Subject: GNU Parallel Bug Reports GNU Parallel 20181122 ('Kilogram') released X-BeenThere: bug-parallel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Nov 2018 23:54:04 -0000 GNU Parallel 20181122 ('Kilogram') has been released. It is available for download at: http://ftpmirror.gnu.org/parallel/ Quote of the month: HOLY STUFF I LOVE GNU PARALLEL -- Nick (but spookier) @NickInfoSec@twitter New in this release: * Experimental simpler job flow control. * =E6=99=82=E9=96=93=E3=81=8C=E3=81=8B=E3=81=8B=E3=82=8B=E3=82=B3=E3=83=9E= =E3=83=B3=E3=83=89=E3=82=92 GNU parallel =E3=81=A7 =E4=B8=A6=E5=88=97=E5=AE= =9F=E8=A1=8C=E3=81=99=E3=82=8B https://qiita.com//grohiro/items/4db3fa951a4778c5c479 * Bug fixes and man page updates. Get the book: GNU Parallel 2018 http://www.lulu.com/shop/ole-tange/gnu-parallel-2018/paperback/product-2355= 8902.html GNU Parallel - For people who live life in the parallel lane. =3D About GNU Parallel =3D GNU Parallel is a shell tool for executing jobs in parallel using one or more computers. A job can be a single command or a small script that has to be run for each of the lines in the input. The typical input is a list of files, a list of hosts, a list of users, a list of URLs, or a list of tables. A job can also be a command that reads from a pipe. GNU Parallel can then split the input and pipe it into commands in parallel. If you use xargs and tee today you will find GNU Parallel very easy to use as GNU Parallel is written to have the same options as xargs. If you write loops in shell, you will find GNU Parallel may be able to replace most of the loops and make them run faster by running several jobs in parallel. GNU Parallel can even replace nested loops. GNU Parallel makes sure output from the commands is the same output as you would get had you run the commands sequentially. This makes it possible to use output from GNU Parallel as input for other programs. You can find more about GNU Parallel at: http://www.gnu.org/s/parallel/ You can install GNU Parallel in just 10 seconds with: (wget -O - pi.dk/3 || curl pi.dk/3/) | bash Watch the intro video on http://www.youtube.com/playlist?list=3DPL284C9FF24= 88BC6D1 Walk through the tutorial (man parallel_tutorial). Your commandline will love you for it. When using programs that use GNU Parallel to process data for publication please cite: O. Tange (2018): GNU Parallel 2018, March 2018, https://doi.org/10.5281/zenodo.1146014. If you like GNU Parallel: * Give a demo at your local user group/team/colleagues * Post the intro videos on Reddit/Diaspora*/forums/blogs/ Identi.ca/Google+/Twitter/Facebook/Linkedin/mailing lists * Get the merchandise https://gnuparallel.threadless.com/designs/gnu-parall= el * Request or write a review for your favourite blog or magazine * Request or build a package for your favourite distribution (if it is not already there) * Invite me for your next conference If you use programs that use GNU Parallel for research: * Please cite GNU Parallel in you publications (use --citation) If GNU Parallel saves you money: * (Have your company) donate to FSF https://my.fsf.org/donate/ =3D About GNU SQL =3D GNU sql aims to give a simple, unified interface for accessing databases through all the different databases' command line clients. So far the focus has been on giving a common way to specify login information (protocol, username, password, hostname, and port number), size (database and table size), and running queries. The database is addressed using a DBURL. If commands are left out you will get that database's interactive shell. When using GNU SQL for a publication please cite: O. Tange (2011): GNU SQL - A Command Line Tool for Accessing Different Databases Using DBURLs, ;login: The USENIX Magazine, April 2011:29-32. =3D About GNU Niceload =3D GNU niceload slows down a program when the computer load average (or other system activity) is above a certain limit. When the limit is reached the program will be suspended for some time. If the limit is a soft limit the program will be allowed to run for short amounts of time before being suspended again. If the limit is a hard limit the program will only be allowed to run when the system is below the limit.