bugGNU Parallel - Bugs: bug #33740, If the remote computer runs CSH...

 
 

bug #33740: If the remote computer runs CSH the remote does not set PARALLEL_* vars correctly

Submitter:  Ole Tange <tange>
Submitted:  Sun 10 Jul 2011 03:25:29 PM UTC
   
 
Category:  None Severity:  1 - Wish
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  tange
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 17 Jul 2011 01:08:46 AM UTC, comment #1: 

Fixed in [c2a2b34]

Ole Tange <tange>
Group administrator
Sun 10 Jul 2011 03:25:29 PM UTC, original submission:  

Set the env variable in a way that works in both csh and bash:

eval `echo $SHELL | grep -E '/(t)?csh' > /dev/null && echo setenv PARALLEL_SEQ $PARALLEL_SEQ\; setenv PARALLEL_PID $PARALLEL_PID || echo PARALLEL_SEQ=$PARALLEL_SEQ\;export PARALLEL_SEQ\;PARALLEL_PID=$PARALLEL_PID\;export PARALLEL_PID`


Ole Tange <tange>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by tange (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-07-17 tange StatusNone Fixed
        Open/ClosedOpen Closed
    2011-07-10 tange Severity3 - Normal 1 - Wish
        Assigned toNone tange
    2011-07-10 tange SummaryIf the remote computer runs CSH remote do not set ENV_VARS correctly If the remote computer runs CSH the remote does not set PARALLEL_* vars correctly

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code