dDocent icon indicating copy to clipboard operation
dDocent copied to clipboard

parallel --env <function> throws error on some systems

Open cbird808 opened this issue 4 years ago • 1 comments

Solution confirmed on 3 different HPC:

# add the following line prior to parallel --env line, which saves the whole current environment
parallel --record-env
# modify by replacing --env <function> with --env  _   which give everything in the current environment to parallel
parallel --no-notice -j $NUMProc --env _ 

cbird808 avatar Oct 16 '19 23:10 cbird808

@cbird808 Is this still an issue? If so, does this suggested fix continue to solve it? Does --env _ need to be added to every instance of parallel ?

pdimens avatar Jun 11 '21 16:06 pdimens