<html><body>
<p><font size="2" face="sans-serif">No.  Scilab used to be linked against BLAS.  I expect it still is.  I would guess V6 t was done using SWIG,  but I'm guessing. </font><br>
<font size="2" face="sans-serif">I used to build scilab from the source distribution on linux, back around versions 3 and 4 - it's become just to hairy to do that - the prerequisites have grown enormously.</font><br>
<font size="2" face="sans-serif">Back then there were many working examples of calling fortran.</font><br>
<font size="2" face="sans-serif"> </font><br>
<font size="2" face="sans-serif">It's still possible to connect scilab to fortran using the "call" function.</font><br>
<font size="2" face="sans-serif">It's just clumsy.   Possibly slow as well.    I use Mingw.</font><br>
<br>
<font size="2" face="sans-serif">There's a reason why all the "modern" languages brag that they are almost as fast as fortran...</font><br>
<font size="2" face="sans-serif">Even "modern" Fortran has managed to break itself, with the new "modules" thing...  old-fashoned makefiles no longer work.</font><br>
<br>
<font size="2" face="sans-serif">F77 was powerful, succinct, and efficient.    I guess it just wasn't cool.</font><br>
<br>
<br>
<br>

<script language="JavaScript" type="text/javascript">
<!-- 
function _dSectionExpand(sec) {
         document.getElementById("cSec"+sec).style.display = "none";
         document.getElementById("xSec"+sec).style.display = "block";
}
function _dSectionCollapse(sec) {
         document.getElementById("xSec"+sec).style.display = "none";
         document.getElementById("cSec"+sec).style.display = "block";
}
// -->
</script>
<div id="cSec1"><a href="javascript:_dSectionExpand('1')" onclick="return _dSectionExpand('1');"><img src="/icons/expand.gif" border="0" alt="Show details for Adelson Oliveira ---03/06/2017 01:33:04 PM---Does it mean that scilab no longer carry about interfacing with Fortran (if ever did it)? Modern For"></a><a onclick="return _dSectionExpand('1');"><font size="2" color="#424282" face="sans-serif">Adelson Oliveira ---03/06/2017 01:33:04 PM---Does it mean that scilab no longer carry about interfacing with Fortran (if ever did it)? Modern For</font></a></div><div id="xSec1"><a href="javascript:_dSectionCollapse('1')" onclick="return _dSectionCollapse('1');"><img src="/icons/collapse.gif" border="0" alt="Hide details for Adelson Oliveira ---03/06/2017 01:33:04 PM---Does it mean that scilab no longer carry about interfacing with Fortran (if ever did it)? Modern For"></a><a onclick="return _dSectionCollapse('1');"><font size="2" color="#424282" face="sans-serif">Adelson Oliveira ---03/06/2017 01:33:04 PM---Does it mean that scilab no longer carry about interfacing with Fortran (if ever did it)? Modern For</font></a><br>
<br>
<font size="1" color="#5F5F5F" face="sans-serif">From:      </font><font size="1" face="sans-serif">Adelson Oliveira <adelson.oliveira@gmail.com></font><br>
<font size="1" color="#5F5F5F" face="sans-serif">To:        </font><font size="1" face="sans-serif">Users mailing list for Scilab <users@lists.scilab.org></font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Date:      </font><font size="1" face="sans-serif">03/06/2017 01:33 PM</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Subject:   </font><font size="1" face="sans-serif">Re: [Scilab-users] using intersci in 6.0.0 (was: Matlab vs Scilab perf; calling a fortran routine.)</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Sent by:   </font><font size="1" face="sans-serif">"users" <users-bounces@lists.scilab.org></font><br>
<hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br>
<br>
<br>
<font size="3" face="serif">Does it mean that scilab no longer carry about interfacing with Fortran (if ever did it)? Modern Fortran is my prefered language for production codes.<br>
</font><br>
<font size="3" face="serif">Thanks</font><br>
<br>
<font size="3" face="serif">2017-03-06 14:28 GMT-03:00 <</font><a href="mailto:shorne@energetiq.com" target="_blank"><font size="3" color="#0000FF" face="serif"><u>shorne@energetiq.com</u></font></a><font size="3" face="serif">>:</font>
<ul style="padding-left: 9pt"><font size="2" face="sans-serif">I had looked up SWIG.  I have found no examples of connecting fortran to scilab using swig.</font><font size="3" face="serif"><br>
</font>
<p><font size="2" color="#424282" face="sans-serif">Clément David ---03/06/2017 03:54:24 AM---> While I'm on the subject, the old  Intersci system was a very convenient way to automatically > ge</font><br>
<font size="2" color="#424282" face="sans-serif">Clément David ---03/06/2017 03:54:24 AM---> While I'm on the subject, the old  Intersci system was a very convenient way to automatically > ge</font><font size="3" face="serif"><br>
</font><font size="1" color="#5F5F5F" face="sans-serif"><br>
From: </font><font size="1" face="sans-serif">Clément David <</font><a href="mailto:clement.david@scilab-enterprises.com" target="_blank"><font size="1" color="#0000FF" face="sans-serif"><u>clement.david@scilab-enterprises.com</u></font></a><font size="1" face="sans-serif">></font><font size="1" color="#5F5F5F" face="sans-serif"><br>
To: </font><font size="1" face="sans-serif">Users mailing list for Scilab <</font><a href="mailto:users@lists.scilab.org" target="_blank"><font size="1" color="#0000FF" face="sans-serif"><u>users@lists.scilab.org</u></font></a><font size="1" face="sans-serif">></font><font size="1" color="#5F5F5F" face="sans-serif"><br>
Cc: </font><a href="mailto:shorne@energetiq.com" target="_blank"><font size="1" color="#0000FF" face="sans-serif"><u>shorne@energetiq.com</u></font></a><font size="1" color="#5F5F5F" face="sans-serif"><br>
Date: </font><font size="1" face="sans-serif">03/06/2017 03:54 AM</font><font size="1" color="#5F5F5F" face="sans-serif"><br>
Subject: </font><font size="1" face="sans-serif">using intersci in 6.0.0 (was: Matlab vs Scilab perf; calling a fortran routine.)</font><font size="3" face="serif"><br>
</font><hr width="100%" size="2" align="left" noshade><font size="3" face="serif"><br>
<br>
</font><tt><font size="2"><br>
> While I'm on the subject, the old  Intersci system was a very convenient way to automatically<br>
> generate the interface routine between scilab and an arbitrary fortran subroutine.  There seems<br>
> not to be recent documentation on doing the same (specifically for fortran).  Or am I missing<br>
> something?   I've had to use the "call" interface to use old code.  Is there a better way?<br>
<br>
In Scilab 6.0.0, we did not reproduce and intersci code generation as this is handled by another<br>
tool called `SWIG` [1] for multiple scripting (or not) languages. This idea is to let the tool parse<br>
an C interface description (similar to a .h file with directives) and generate the wrapper code for<br>
a specific language.<br>
<br>
Scilab is natively supported and the tool generates API Scilab code. IMHO this is way simpler to<br>
define in interface just writing C code instead of guessing what's the intersci encoding scheme :)<br>
for a specific parameter.<br>
<br>
[1]: </font></tt><a href="http://swig.org/" target="_blank"><tt><font size="2" color="#0000FF"><u>http://swig.org/</u></font></tt></a><tt><font size="2"><br>
<br>
Thanks,<br>
<br>
--<br>
Clément</font></tt><font size="3" face="serif"><br>
</font><br>
<br>
<font size="3" face="serif"><br>
_______________________________________________<br>
users mailing list</font><font size="3" color="#0000FF" face="serif"><u><br>
</u></font><a href="mailto:users@lists.scilab.org"><font size="3" color="#0000FF" face="serif"><u>users@lists.scilab.org</u></font></a><font size="3" color="#0000FF" face="serif"><u><br>
</u></font><a href="http://lists.scilab.org/mailman/listinfo/users" target="_blank"><font size="3" color="#0000FF" face="serif"><u>http://lists.scilab.org/mailman/listinfo/users</u></font></a><font size="3" face="serif"><br>
</font></ul>
<tt><font size="2">_______________________________________________<br>
users mailing list<br>
users@lists.scilab.org<br>
</font></tt><tt><font size="2"><a href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a></font></tt><tt><font size="2"><br>
</font></tt><br>
</div>
<script language="JavaScript" type="text/javascript">
<!-- 
_dSectionExpand('1');
// -->
</script>
<br>
</body></html>