views:

122

answers:

1

Does anyone know of a Fortran compiler that can be used inside a Windows Azure project? I am ultimately looking to take a fortran code I have upgraded with MPI and get it to run inside Azure.

I can run the code already on EC2 but integrating a web ui has been klunky as there are a lot of moving parts - IIS, mpi nodes and the like that I would like to filter out.

+1  A: 

Assuming that your FORTRAN code is compliled to a dll library or an executable file you may :

  • Use P/Invoke to call the FORTRAN library from a web or worker role
  • Spawn a subproccess that runs the FORTRAN executable from a web or worker role

In both cases you need to set the attribute enableNativeCodeExecution="true" for the web or worker role in the ServiceDefinition File

A complete example of the above is the FullTrust Sample in the Windows Azure SDK

George