1KCREATE(2)                     LAM LOCAL LIBRARY                    KCREATE(2)
2
3
4

NAME

6       kcreate - Create a LAM process from an executable program.
7

SYNOPSIS

9       int kcreate (char *filename, char **argv);
10

DESCRIPTION

12       This local layer function is used to create a process on the local node
13       from an executable program.  Higher level functions are available  that
14       simplify process creation.
15
16       The  filename  argument is a locally accessible pathname containing the
17       exectuable program.  The argv argument  points  to  a  null  terminated
18       array  of  strings.   By  convention,  the first string is the filename
19       argument.
20
21       The new process must call kenter(2) before any other system functions.
22
23       For most purposes, users will prefer  to  create  LAM  processes  using
24       rploadgo(2), which permits a process to be created on any node, includ‐
25       ing locally, from an executable file on any node.
26

RETURN VALUE

28       Upon successful completion, the new  process  identifier  is  returned.
29       Otherwise  -1 is returned and the global variable errno is set to indi‐
30       cate the error.
31

SEE ALSO

33       rploadgo(2)
34
35
36
37LAM 7.1.2                         March, 2006                       KCREATE(2)
Impressum