Fortran

From BenchIT-Wiki

Jump to: navigation, search

Using Fortran Code in BenchIT

Although the Backend of BenchIT was written in C, it is possible to use Fortran in the Kernels by mixing C with Fortran.

To develop a Fortran-Kernel please have a look into the Fortran-Skeleton available in the utilities tree. There are also general Instruction on How to write a Kernel.


You can find further information at these locations:

Mixing C, C++, and Fortran 77

Fortran/C interoperability

C and FORTRAN Mixed Programming


MacOSX

First a statement from http://www.bash.org:

<a> OS X is POSIX, isn't it?
<b> yea.. without letters P and I

There are some special preparations needed to run this mixed-mode kernels on an apple.

A Fortran Compiler as well as other libraries like MPI and OpenMP can be obtained via HPC.

A good ressource in the case of problems is CCP4

A Site especially dedicated to Fortran is Linking Fortran objects into C

Personal tools