[oi-dev] [developer] Feedback on Slurm patches

Alexander Pyhalov alp at rsu.ru
Fri May 6 19:44:47 UTC 2016


On 05/06/2016 22:25, Aurélien Larcher wrote:
> Hi,
> in an attempt to compile Slurm [0] on OpenIndiana to add it to oi-userland
> [1], I encountered several minor illumos-related issues:
>
> 1) getgrent_r has 3 arguments since it returns group * on illumos while
> glibc has 4 and returns int: is checking that ret != NULL enough ?

You can compile code with -D_POSIX_PTHREAD_SEMANTICS to get standard 
behavior (see getgrnam(3C).

> 2) sched_getaffinity does not exist and I replaced it with pset [2]

>
> 3) cfmakeraw does not exist so I used the code snippet [3]
>
> 4) mount.h does not have MS_NOEXEC and MS_NODEV and I do not know what to
> do [4]

Have you seen 
http://comments.gmane.org/gmane.comp.distributed.slurm.devel/6016 ?

>
> 5) getgrouplist does not exist and I used a patch from kde-solaris [5]
>

BTW, it exists in latest Solaris 
(https://issues.apache.org/jira/browse/HADOOP-11655).

-- 
Best regards,
Alexander Pyhalov,
system administrator of Southern Federal University IT department




More information about the oi-dev mailing list