Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

calling .Net methods from FORTRAN

Dhananjaya_h_
Beginner
1,229 Views

 

Hi,

I did come across lot of examples showing how FORTRAN procedures can be called from .NET platform. Is the other way round is possible?

That is, can we call .NET methods from FORTRAN, are there any pointers in this aspect? I did hear about FORTRAN wizard module, but the examples seem to be more complex to be understood. Is there any simple and straight forward examples/documentation available?

Regards,

Dhana

 

0 Kudos
4 Replies
Dhananjaya_h_
Beginner
1,229 Views

 

hi,

I got a bunch of old SFORT files (Structured FORTRAN) I did try to compile those files using g77 command in Linux and it throws errors.

is anybody aware of SFORTRAN and its compilation procedures?

Does IVF compile SFORTRAN code?

any small information on SFORTRAN would help.

 

Regards,

Dhananjaya

 

 

 

0 Kudos
Steven_L_Intel1
Employee
1,229 Views

I had never heard of SFORTRAN before but I found http://www.cfg.com/compilers/sfortran/sfortran_language_reference_guide.pdf which describes "S-FORTRAN", probably the same thing. It looks like an extension to FORTRAN IV (FORTRAN 66) with some elements that made it into F77 and F90, but many others that did not. You will have to rewrite it. From what I can see, most of it has equivalent syntax in Fortran 2003.

0 Kudos
TimP
Honored Contributor III
1,229 Views

As that reference says, sfortran was an (apparently proprietary) preprocessor translating to a legacy Fortran.  It should not be too difficult to make a translator to current Fortran.

It appears this topic is unrelated to the original thread and should be posted as a new thread.

0 Kudos
Reply