function link and Fortran codes

Pedro Ledoux p_ledoux at yahoo.com.br
Fri Dec 17 05:11:21 CET 2010


Was told me that with this function, I'd be able to call C or Fortran functions 
in scilab and use then. So with function load it would be possible. I tried to 
do it for a simple Fortran code:

SUBROUTINE sci(n,v)
 integer :: n
 real,dimension(n) :: v
 v=sin(v)



END SUBROUTINE sci

When I tried to use link comand:

Um erro ocorreu: funt.o: Apenas ET_DYN e ET_EXEC podem ser carregados
                           !--error 236 
link: O arquivo compartilhado não foi carregado: (null)
 
 translating:

An error ocurred: funt.o: Only ET DYB and  ET EXEC can be loaded.
link: The shared file wasn't loaded:(null)

So what would it be?


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20101216/01ed0822/attachment.htm>


More information about the users mailing list