in reply to input and output data from PERL code to my Fortran code!!!

The question is: how does the commercial package provide its data?

If it writes files, it might bring a considerable speed-up to write these files not to a real hard disk, but to a RAM Disk. This should work without modifying the program.

You can call C code from Fortran, and you can interface C from Perl too, so you could also interface Fortran an Perl, but I don't see how that's going to help unless you can actually change the commercial package you're interfacing.

Perl 6 - links to (nearly) everything that is Perl 6.
  • Comment on Re: input and output data from Perl code to my Fortran code

Replies are listed 'Best First'.
Re^2: input and output data from Perl code to my Fortran code
by jushin-pon (Initiate) on Sep 16, 2009 at 08:34 UTC
    Dear moritz: Thank you for your kind help. To write data both from the commerical package and my Fortran code to a RAM Disk is possible, but I don't know how to read the data from a RAM disk for a fortran code, which is embedded as a part of a PERL code. Shin-Pon
      Reading from a RAM disk is just like reading from any other file - that's the beauty of it.

      Oh, and the programming language is spelled Perl, the interpreter is spelled perl - there is no PERL.

      Perl 6 - links to (nearly) everything that is Perl 6.