Hello all, I was very happy to find some popular cluster tools already available in the gentoo portage (ganglia, torque, etc). However, one set of tools that is not present and quite popular (also very performant) is the C3 toolset ... http://www.csm.ornl.gov/torc/C3/index.html It would be very nice to have also C3 as an ebuild in the gentoo portage. Thanks. Reproducible: Always Steps to Reproduce:
Created attachment 45232 [details] c3-4.0.1.ebuild Please test.
It doesn't have any of the variables yet, so just download it yourself and stick it into /usr/portage/distfiles.
Created attachment 45233 [details] c3-4.0.1.ebuild Fixed the screwy vars. This should be good to get committed, pending any new problems.
One thing that I hassled with for a long time until I discovered a workaround (it is *not* specified anywhere in the C3 docs and hard to find even on google): if you want to run C3 commands you need the USER or C3_USER env var to be set to a username having execute rights to C3 scripts ... while this happens normally with interractive logins, it is not always true (in fact, never true) when you want to do it from within a serverside scripting language, say PHP, under Apache. Apache's environment does not include neither USER nor C3_USER env vars. You either have to add it in the apache init.d script or force it in php with putenv(). This is not an ebuild issue, but it would be nice if it was included somewhere (comments maybe).
xmerlin, feel free to commit if you're so inclined.
I'll make some tests at the end of the next week
Committed.