
|
Table des matières
1 Using NetSolve with ScilabNetSolve is a project that aims to bring together disparate computational resources connected by computer networks. It is a RPC based client/agent/server system that allows one to remotely access both hardware and software components. I provide here a patched version of NetSolve-1.4.1 which works with Scilab : NetSolve-1.4.1 for Scilab This patched version will work with a Scilab cvs version (Sept 23 2002 or newer. For example, it is supposed to work with the rpm provided in this page) and I have only tested the code on Linux (RedHat 7.3).
A
A
You can also manually run a scilab test just be executing one of the
clio% scilab -nw
==========
Scilab
==========
scilab-2.7-CVS
Copyright (C) 1989-2002 INRIA/ENPC
Startup execution:
loading initial environment
-->exec ma28.tst
-->// test for MA28
-->exec('loader.sce');
shared archive loaded
-->//[A,rhs] = generate(1);
-->//A1=mtlb_sparse(A);
-->N=20;
-->A= int(N*sprand(N,N,95/100));
-->A1=mtlb_sparse(A);
-->rhs = ones(N,1);
-->x = netsolve('sparse_direct_solve','MA28',A1,rhs,0.3,1);
Sending Input to Server clio.enpc.fr
Downloading Output from Server clio.enpc.fr
-->if netsolve_check(0)== %f then pause,end
-->r = norm(full(A*x-rhs))/(norm(full(A))*norm(full(x))*%eps);
-->if r>50 then pause,end
The netsolve toolbox is loaded in Scilab by executing
the
|