Question:
Fortran 77 and parallel computing?
2012-12-05 09:15:25 UTC
Does anyone know if it is possible to take advantage of both cores in my computer while running fortran 77 code? I use the gfortran compiler.
Three answers:
AnalProgrammer
2012-12-05 09:25:30 UTC
Yes. Run two programs at the same time.



Have fun.
Laurence I
2012-12-05 17:30:51 UTC
you certainly can

but you have to pay for it.

there are some tricky ways of determining what PATHS through

a program can be made PARALLEL and the executable has to be

altered to package up the parallel paths.

This means freebie compilers dont usually have those fancy extra bits

as far as i know.



intels compiler costs around 1800 dollars

so i guess thats out of the questions, but it does exactly what you want.
Scott H
2012-12-07 03:42:04 UTC
You can use g77 with the MPICH message passing library and explicitly code the parallel features into your code. Or, you can use gfortran and OpenMPI.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...