- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
I have encountered a situation where a small part of my most important program must produce formated HDF output which is dependent on a vendor librarythat is incompatible with Fortran's multithreaded libraries. I also need to use multithreaded capabilities for this program. The simple solution would be to compile this output section as a separatly linked program and push the data out to that program.
Is there a way to call a system routine from Fortran to start a separate program and specify the command line or to pass messages?
Link kopiert
4 Antworten
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Yes, ifort supports the common SYSTEM() function. Check the library doc. This function passes a command to the shell under which you started the ifort program.
I'd be surprised if you couldn't make HDF calls compatible, e.g. by compiling the source code. One of the advertised features was to make it possible for everyone to access the same data formats.
I'd be surprised if you couldn't make HDF calls compatible, e.g. by compiling the source code. One of the advertised features was to make it possible for everyone to access the same data formats.
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Thanks for the info.
Unfortunately, HDF source code is dependent on some other libraries that do not have available a multitasking version. So the incompatibility problem is really in the other libraries.
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
This problem surfaced again in another project. Is there an Intel tool or a Windows tool to examine the subroutine interfaces inside a .lib file?
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
There is no information in a .lib file that will tell you the interface. The only clue possible is if the routine entry points use the STDCALL convention and have names ending ith @n - the n gives you a hint as to many arguments the routine expects (usually divide n by 4, but character arguments take two positions.)

Antworten
Themen-Optionen
- RSS-Feed abonnieren
- Thema als neu kennzeichnen
- Thema als gelesen kennzeichnen
- Diesen Thema für aktuellen Benutzer floaten
- Lesezeichen
- Abonnieren
- Drucker-Anzeigeseite