| | 22 | Although MacOS X is listed on the site as one of the supported platforms. It uses a non-posix call (GNU extension) |
| | 23 | within the C library that does not exist on MacOS X: getgrent_r(). This call is in the file partition_mgr.c. |
| | 24 | This is intended to be a reentrant (thread-safe) version of getgrent() that allows looping over the defined groups. |
| | 25 | Hence the code does not compile on MacOS X. |
| | 26 | |
| | 27 | The manpages for similar C functions are explicitly marked as being thread-safe. However, this particular function |
| | 28 | is not so marked and testing would have to be done to determine whether it is indeed thread-safe. Rewriting the |
| | 29 | code would be fairly easy to do if getgrent() on MacOS X is indeed thread-safe. |
| | 30 | |
| | 31 | This problem occurs with both the production release of slurm (2.1.4) and the development release (2.2.0-0.pre2). |
| | 32 | |
| | 33 | |