Download Users` Guide to NetSolve V1.4 - Innovative Computing Laboratory
Transcript
Chapter 6. Matlab Interface and >> itpack_test These scripts invoke the PETSc, Aztec, and ITPACK interfaces and check the validity of the computed solution. Alternatively, the user can generate a series of Harwell Boeing matrix types (1-5), using the generate.m script. To see a list of Harwell Boeing matrix types that can be generated, type >> generate(0); And then call the functions petsc.m and/or aztec.m by typing >> [A,rhs] = generate(1); >> [x1,its1] = petsc(A,rhs); >> [x2,its2] = aztec(A,rhs); Note that the user can query for the list of arguments in the calling sequence to the routine by using the NetSolve tool routine. >> netsolve(’sparse_iterative_solve’) 6.12. Optional: Testing the NetSolve ’sparse_direct_solve’ interface The NetSolve ’sparse_direct_solve’ interface to MA28 and SuperLU can only be tested if the user has enabled sparse_direct_solve in the $NETSOLVE_ROOT/server_config file and has configured NetSolve with the respective paths to the SuperLU and MPI libraries. The MA28 library is distributed with NetSolve in $NETSOLVE_ROOT/src/SampleNumericalSoftware/MA28/ as a small modification to the library was necessary to enable its use in NetSolve. The SuperLU 59