GNUParallel load and compile to GTM

From VistApedia
Jump to: navigation, search

[GNU Parallel https://www.gnu.org/software/parallel/] is used in the bio-informatics world to spread processing of data over several CPUs, on the same machine, or on spread out machines using ssh.

I am using it here to compile routines and load globals.

To load routines (I got 44s vs 58s on 8 cpu machine):

$ cd o
$ ls ../r/*.m | parallel mumps

To load globals (i got 60s vs 149s on 8 cpu machine):

$ find vxVistA-M-master/ -name '*.zwr' -print0 | parallel -q --null mupip load \"{}\"