Home »
Public Forums »
archive »
Calling Fortran 90 from IDL/LINUX/ pgi/ifort
Calling Fortran 90 from IDL/LINUX/ pgi/ifort [message #43568] |
Thu, 21 April 2005 18:09 |
Axel Schweiger
Messages: 11 Registered: November 1995
|
Junior Member |
|
|
I have Fortran 90 application I need to run from IDL under Redhat Linux
(x86). I have looked at the examples for call_external but apparently
neither the direct case nor the C-Wrapper case are implemented for
Linux.
Question:
-Can anyone send me an example (Makefile). I have either pgif90
or ifort (Intel) compilers available for (x86)
-I have gotten the simple simple_c2f.c to almost work but the
the strings don't get passed properly.
pgicc -fPIC -c example_c2f.c
pgif90 -fPIC -shared example_c2f.o example_c2f1.f -o \
example_c2f.so
This works except for the string variable which doesn't get
passed into the C-program correctly
-Also I noticed that when I recompile a new *.so libary, I need
to exit IDL and reenter to make it read the new one.
I tried .reset but that has no effect either.
Thanks much
Axel
|
|
|
Current Time: Wed Oct 08 17:40:24 PDT 2025
Total time taken to generate the page: 0.00581 seconds