# Question: Parallelize an existing Fortran code and generate parallel Fortran code using Maple?

## Question: Parallelize an existing Fortran code and generate parallel Fortran code using Maple?

Maple
Hi Folks, Here is a numerical integration program: http://people.scs.fsu.edu/~burkardt/f_src/quadpack/quadpack.f90 In evaluating the integrand functions, it is good to do two function evaluations at the same time simultaneously. I just found that I have two CPUs Pentium Xeon 2.4GHz, each supporing only up to SSE2. Although the CPUs are slow, but if I can utilize them to do parallel computing of the numerical integration. It would be great! But I am not a Fortran expert, nor am I a CS major... Could anybody give some easy-to-follow advice on how to make that code parallel on two CPUs? Can Maple generate parallel Fortran 90 or 95 code? I really hope it can. But I know probably it won't be that smart... but there are many smart people here who are experts in both Maple and Fortran and parallel programming. Are there good solutions to easily parallelize Maple generated Fortran code? Here is another somewhat simpler question about using Maple to generate Fortran code: How to let Maple know in the following function S:=makeproc(my_expression, parameters=[a, b, c, d]); "a" should be a vector of dim "m", and correspondingly, S should vector-valued, i.e., S(a[1])= some_value1; S(a[2])= some_value2; S(a[3])= some_value3; ... How to generate such Fortran code using Maple? Thanks a lot!
﻿