i did
$gfortran -c -fpic rls2.f90 backward.f90 forward.f90 fzmf.f90 dxfz.f90 hybrid.f90
but this only gives the .o of each file so i create the .so with
$gfortran -shared -mrtd -o hybrid.so hybrid.o rls2.o backward.o forward.o fzmf.o dxfz.o
same results.
Thank for your answer.
i was able to create a .dll by omitting dlltool step and the the hybrid.def
$gfortran -c rls2.f90 backward.f90 forward.f90 fzmf.f90 dxfz.f90 hybrid.f90
$gfortran -shared -mrtd -o hybrid.dll hybrid.o rls2.o backward.o forward.o fzmf.o dxfz.o
however, went i call this...
Hello all, Does anyone know how to create a fortran dynamic library in linux?
On a windows platform my .dll is created by the following procedure
on shell:
$gfortran -c rls2.f90 backward.f90 forward.f90 fzmf.f90 dxfz.f90 hybrid.f90
$dlltool -z hybrid.def --export-all-symbols hybrid.o
$gfortran...
Hello all
After running my program i get this error:
----------------------------------
*** glibc detected *** ./a.out: free(): invalid pointer: 0x080537f0 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb7e1ea85]
.
.
.
======= Memory map: ========
08048000-0804c000 r-xp 00000000...
Thank for the reply
these variables are defined in the main program but are related to the others input.
[p,k]=size(E); --> this is scilab code
"E" is the data matrix entry, "k" is the number column, and p the number or rows
"Y" is the data matrix output, it is only a single column and p rows...
Hello all, i'm a newbie to fortran 90, i believe that there a mistake with my variable er3 declaration but i can't find it. my code is:
----------------------------------
SUBROUTINE BACKWARD(E,Y,p,L,k,pqr,O5,er5,er4,er3)
IMPLICIT NONE
INTEGER , INTENT(IN) :: p,k,L
INTEGER :: i,j,jo...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.