Hello,
I am new to GNU Parallel and will be happy if you point out errors and some misunderstandings. I read the manual but it says mostly about one-step action in which you need to specify a specific "action" in the GNU Parallel syntax (unpacking, moving) and nothing is indicated about the multi-step steps when you need to perform several actions without changing (significantly) the code ( unless of course this is possible at all)
Is it possible to implement parallel processing in code that does not actually support it? But there is a loop in it. That is, there is an incoming list of files in any format and at some point in the code it comes to a loop. (code example: 138 GMT line)
In short, is it possible that parallel processing is similar ( without changing the code significantly or only about 138 lines) when just every file starts to be processed at the same time regardless of what actions are written in the code in this moment? (and even multi-step actions , that is, when, for example, you need to add a file to the archive and then move and then something else, etc.)
# ΠΡΠ±ΡΠ΅ Π΄Π΅ΠΉΡΡΠ²ΠΈΡ ΠΈ ΠΎΠ±ΡΠ·Π°ΡΠ΅Π»ΡΠ½ΠΎ "ΠΎΡΠΊΡΡΡΠΈΠ΅ ΠΈΠ»ΠΈ ΠΏΡΠΎΠ²Π΅ΡΠΊΠ° Π½Π°Π»ΠΈΡΠΈΡ" ΡΠΏΠΈΡΠΊΠ° ΡΠ°ΠΉΠ»ΠΎΠ² # loop # foreach line (`awk '{print $0}' $1`) # ΠΡΠ±ΡΠ΅ Π΄Π΅ΠΉΡΡΠ²ΠΈΡ Maybe this can be implemented using a tool other than GNU Parallel? I will be glad to any help! thanks in advance
intf_tops.csh intf.in batch_tops.configand it is absolutely not clear how to call it, for example, with GNU Parallel. And it is necessary that this moment, which is given at the top since 138, is βdividedβ. Thank you very much. - user2899758