Hi, I keep running into this error below when trying to run GNU parallel, which I can’t find any particular information on (or way around). I am unsure whether it is something to do with my OS (I’m running macOS 15.1.1 (24B91)). I am unsure why the command line limit is reported as a negative number, when I check the command line limit (using getconf ARG_MAX) I get 1048576. I have also tried using a file and still run into the same error.
Any help would be much appreciated! Best, Hal Error text: parallel: Error: Command line too long (14 >= -4517) at input 0: A Parallel version: GNU parallel 20241222 Copyright (C) 2007-2024 Ole Tange, http://ole.tange.dk and Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. GNU parallel comes with no warranty. Web site: https://www.gnu.org/software/parallel When using programs that use GNU Parallel to process data for publication please cite as described in 'parallel --citation'. Platform: Darwin hjb62.eoas.ubc.ca 24.1.0 Darwin Kernel Version 24.1.0: Thu Oct 10 21:03:15 PDT 2024; root:xnu-11215.41.3~2/RELEASE_ARM64_T6000 arm64 Another example (without any input): (omphalos) ~ parallel parallel: Warning: Input is read from the terminal. You are either an expert parallel: Warning: (in which case: YOU ARE AWESOME!) or maybe you forgot parallel: Warning: ::: or :::: or -a or to pipe data into parallel. If so parallel: Warning: consider going through the tutorial: man parallel_tutorial parallel: Warning: Press CTRL-D to exit. parallel: Error: Command line too long (8 >= -4517) at input 0: (omphalos) ✘ ~ Dr. Hal Bradbury (He, Him, His<https://equity.ubc.ca/resources/gender-diversity/pronouns/>) Assistant Professor Pacific Centre for Isotopic and Geochemical Research Faculty of Science | Department of Earth, Ocean and Atmospheric Sciences The University of British Columbia | Vancouver Campus | xʷməθkʷəy̓əm (Musqueam) Traditional Territory 2020 – 2207 Main Mall | Vancouver BC | V6T 1Z4 Canada hbradb...@eoas.ubc.ca<mailto:hbradb...@eoas.ubc.ca> | @HalJBradbury<http://twitter.com/@HalJBradbury> https://www.linkedin.com/in/halbradbury | https://pcigr.ubc.ca