News for hackers. Stuff that matters.
Re:GNU make insanity: finding the value of the -j parameter by cafebeen on Saturday March 28, 2015 @09:22PM (#9283526)
On a semi-related note... do any of the make gurus out there know if there's anything similar to "-j" that instead sends parallel jobs off to a cluster, e.g. Sun Grid?
Re:GNU make insanity: finding the value of the -j parameter by adrusi on Saturday March 28, 2015 @09:41PM (#9283569)
That wouldn't be appropriate as a specialized component of make. You could write a script that sends a command off to a cluster and just set

    CC=script/send_to_cluster gcc
Then specify the number of jobs you'd like to run simultaneously on your cluster with the "-j" flag.
Re:GNU make insanity: finding the value of the -j parameter by cafebeen on Saturday March 28, 2015 @10:05PM (#9283602)
Thanks for the thought. That sounds fine for simple compiler makefiles, although I'm using it for general purpose work (data analysis and visualization). I'm hoping for something that wouldn't require each command to be wrapped up, as there are many.
Re:GNU make insanity: finding the value of the -j parameter by TylerE on Sunday March 29, 2015 @12:12AM (#9283845)
For that sort of thing, maybe roll your own script using something like Fabric (http://www.fabfile.org/) for doing all the communication with the remote hosts?
Re:GNU make insanity: finding the value of the -j parameter by cafebeen on Sunday March 29, 2015 @12:45AM (#9283914)
Thanks, I'll check it out