Chapter 23. Fortran Reference Manual

We describe here all the possible calls to NetSolve from Fortran. All these calls return a NetSolve code status. The list of the possible code status is given in Chapter 24.

CALL FNETSL('<problem name()>}()',INFO, ...)

Sends a blocking request to NetSolve. FNETSL() takes as argument the name of the problem, an integer, and the list of arguments in the calling sequence. See the section called What is the Calling Sequence? in Chapter 5 for a discussion about this calling sequence. When the call returns, the integer INFO contains the NetSolve status code. If the call is successful, the result of the computation is stored in the output arguments. The output arguments are specified in the calling sequence.

CALL FNETSLNB('<problem name()>}()',INFO, ...)

Sends a nonblocking request to NetSolve. FNETSLNB() takes as argument the name of the problem, an integer, and the list of arguments in the calling sequence. See the section called What is the Calling Sequence? in Chapter 5 for a discussion about this calling sequence. It returns the NetSolve status code (integer status). If the call is successful, status contains the request handler.

CALL FNETSLWT(<request handler>,INFO)

Waits for a request completion. FNETSLWT() takes as argument a request handler and an integer. When the call returns, INFO contains the NetSolve status code. If the call is successful, the result of the computation is stored in the output arguments. The output arguments are specified in the calling sequence during the call to FNETSLNB().

CALL FNETSLPR(<request handler>,INFO)

Probes for a request completion. FNETSLPR() takes as argument a request handler and an integer. When the call returns, INFO contains the NetSolve status code. If the call is successful, the result of the computation is stored in the output arguments. The output arguments are specified in the calling sequence during the call to FNETSLNB().

CALL FNETSLERR(<error code>)

Displays an explicit error message given a NetSolve error code.

CALL FNETSLMAJOR('<major>')

Sets the way the user has stored her matrices (row- or column-wise). The argument can be 'col' or 'row'. It is case-insensitive and in fact only the first character is used by NetSolve.