BUG DESCRIPTION:
----------------
subroutine foof(c,a,b,n,m)
integer n,m
double precision a(*),b,c(*)
do 10 i=1,m*n
c(i) = sin(a(i))+b
10 continue
end
link("foof"+getdynlibext(),"foof")
a=[1,2,3;4,5,6];b= %pi;
[m,n]=size(a);
// Inputs:
// a is in position 2 and double
// b 3 double
// n 4 integer
// m 5 integer
// Outputs:
// c is in position 1 and double with size [m,n]
c=fort("foof",a,2,"d",b,3,"d",n,4,"i",m,5,"i","out",[m,n],1,"d");
ERROR LOG:
----------
link("foof"+getdynlibext(),"foof")
Link failed for dynamic library 'foof.so'.
Ein Fehler ist aufgetreten: foof.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden.
link: das gemeinsame Archiv wurde nicht geladen: (null)
--> a=[1,2,3;4,5,6];b= %pi;
--> [m,n]=size(a);
--> // Inputs:
--> // a is in position 2 and double
--> // b 3 double
--> // n 4 integer
--> // m 5 integer
--> // Outputs:
--> // c is in position 1 and double with size [m,n]
--> c=fort("foof",a,2,"d",b,3,"d",n,4,"i",m,5,"i","out",[m,n],1,"d");
Undefined variable: fort
HOW TO REPRODUCE THE BUG:
-------------------------
OTHER INFORMATION:
------------------
fort is not working either on Scila 6.0.0 on Windows nor on Linux
It works with Scilab 5.5.2