gfarm_initialize() initializes the Gfarm execution environment for client application. This function should be called before any Gfarm library API. argcp is a pointer to the number of arguments and argvp is a pointer to the argument vector.
The function terminated successfully.
Insufficient memory was available.
The metadata server cannot be resolved.
Network is unrechable.
Connetion timeout occurs.
Protocol error occurs.
Connection to the metadata server is broken.
The requested access to the file is not allowed, or one of the directories in gfarm_url did not allow search (execute) permission. Or, the authentication to the metadata server fails.
Specified authentication protocol is not supported.
User authentication failed when connecting to the metadata server.
An error except the above occurred. The reason is shown by its gfarm_error_string(3).