Last modified: 2013-11-15 16:46:52 UTC
I'm not able to commit jobs to the grid engine. That's what I'm doing: Simple php script (test.php): <? print "Test"; ?> Running "php test.php" on tools-login works as expected. Then I try it using the grid engine: > jsub -N test php test.php (and I tried it with full path to test.php, too) The job is successfully queued; the .err and .out files are created. The job is then executed. The result is: test.out is empty and test.err gives the following error message: libgcc_s.so.1 must be installed for pthread_cancel to work
Set a bigger -mem (memory limit) and it works.
See FAQ: https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/Help#Why_am_I_getting_errors_about_libgcc_s.so.1_must_be_installed_for_pthread_cancel_to_work.3F
Sadly, while the completely opaque error message is a known issue, it is also quite outside our ability to fix (as it is generated by the dynamic loader itself). Short of warning people in advance as we did with the FAQ, there is nothing that can be done.
Thanks to all. I didn't thought about searching such an error in the FAQ, sorry.
(In reply to comment #3) > Sadly, while the completely opaque error message is a known issue, it is also > quite outside our ability to fix (as it is generated by the dynamic loader > itself). > > Short of warning people in advance as we did with the FAQ, there is nothing > that can be done. Does it help if we increase the default memory limit value?
The problem is that there is no default value big enough to cover all the common cases yet reasonably frugal enough that we won't have a severe under commitment of resources. Right now, things have been tweaked so that the default value (250m) matches processor availability - any smaller wouldn't get more jobs running anyways.