Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Andrewgaven

    Compiling a dynamic library on linux

    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.
  2. Andrewgaven

    Compiling a dynamic library on linux

    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...
  3. Andrewgaven

    Compiling a dynamic library on linux

    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...
  4. Andrewgaven

    *** glibc detected *** does anyone knows how to solve this

    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...
  5. Andrewgaven

    Segment fail on fortran 90 code

    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...
  6. Andrewgaven

    Segment fail on fortran 90 code

    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...

Part and Inventory Search

Back
Top