About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
My tests were run with the 3.10 distribution that provides compatibility from RHEL7 onwards.
If I regress to the 2.6 distribution (RHEL5 onwards) it fails.
From searching the kernel/glibc archives, there are differences in some of the max variable lengths. As the LSF libraries are statically linked, they have the 2.6 kernel glib2.3 definitions - so an incompatibility between the glibc version the binary is built with, and the glibc version installed.
So the solution is to use the newer distribution files.
With RHEL7 now officially end of life, we will be moving the baseline up, and plant to release a RHEL9 baseline next year.
2003: RHEL5: kernel 2.6 glibc 2.3
2013: RHEL7: kernel 3.10 glibc 2.17
2022: RHEL9: kernel 5.14 glibc 2.34
Bill,
Did you test on RHEL7 and RHEL8? getcwd() works as expected unless the number of characters is limited in the code as in getcwd(cwd, 256). I uploaded the test script along with bsub logs and strace information to the problem ticket.
Mark
The length of TMPDIR is not limited to 200 characters, there is no "allowable number of characters".
I cannot reproduce your error on my cluster with >500, >1000, >2000 characters.
The error message in your example is an OS call failing for an unspecified reason. The fact that the OS error occurs only when the directory exists suggests that a getcwd() call or similar may be failing - which may be an OS or filesystem issue.
If you wish to pursue this further, opening a ticket with Support would be the appropriate channel.
with over 1000 characters
With over 2000 characters
The limited size of this variable causes some job submission failures. When will you have a timeline for working on this issue?
We're using LSF10.1 ServicePack 14