|
|
Up |
|
|
  |
Author: FatemehFatemeh Date: Sep 3, 2008 03:34
Dear all;
I have written a code in Fortran90, but this code is run for large
systems very slowly (because of large amount of data)
now I want to convert my program to a parallel one. but I haven't ever
written parallel program.
Would you please guide me what should I do?
I'm anxiously looking forward your reply and guidelines.
Kind regards,
Fatemeh
|
| |
|
| | 7 Comments |
|
  |
Author: Arjen MarkusArjen Markus Date: Sep 3, 2008 03:54
On 3 sep, 12:34, Fatemeh gmail.com> wrote:
> Dear all;
>
> I have written a code in Fortran90, but this code is run for large
> systems very slowly (because of large amount of data)
> now I want to convert my program to a parallel one. but I haven't ever
> written parallel program.
> Would you please guide me what should I do?
>
> I'm anxiously looking forward your reply and guidelines.
>
> Kind regards,
> Fatemeh
There are roughly speaking three methods you can use:
- OpenMP - the easiest method, as it involves compiler directives
mostly
- multithreading (tricky to get right, but more flexible than
OpenMP)
- multiprocessing (MPI is a commonly used method)
|
| Show full article (1.12Kb) |
|
| | no comments |
|
  |
Author: Dr Ivan D. ReidDr Ivan D. Reid Date: Sep 3, 2008 05:15
On Wed, 3 Sep 2008 03:34:59 -0700 (PDT), Fatemeh gmail.com>
wrote in l42g2000hsc.googlegroups.com>:
> I have written a code in Fortran90, but this code is run for large
> systems very slowly (because of large amount of data)
> now I want to convert my program to a parallel one. but I haven't ever
> written parallel program.
> Would you please guide me what should I do?
What is your compiler, and what is your target system? Intel
Fortran, for example, can parallelise sections of code for execution on
multi-core processors. For example, a dataset comparison I wrote (on
Linux) executed in 9 hours, but reported 13-1/4 hours CPU time on a 2.2
GHz dual-core Athlon. It ran much faster than that on a quad-core 2.4 GHz
Core 2 processor, but I think much of that was due to being able to use
SSE3 instructions (and maybe SSSE3). The compile flags I used were
ifort -O3 -parallel -ipo0
--
Ivan Reid, School of Engineering & Design, _____________ CMS Collaboration,
Brunel University. Ivan.Reid@[ brunel.ac.uk|cern.ch] Room 40-1-B12, CERN
KotPT -- "for stupidity above and beyond the call of duty".
|
| |
| no comments |
|
  |
Author: DamianDamian Date: Sep 4, 2008 07:20
On Sep 3, 3:54 am, Arjen Markus wrote:
> On 3 sep, 12:34, Fatemeh gmail.com> wrote:
>
>> Dear all;
>
>> I have written a code in Fortran90, but this code is run for large
>> systems very slowly (because of large amount of data)
>> now I want to convert my program to a parallel one. but I haven't ever
>> written parallel program.
>> Would you please guide me what should I do?
>
>> I'm anxiously looking forward your reply and guidelines.
>
>> Kind regards,
>> Fatemeh
>
> There are roughly speaking three methods you can use:
> - OpenMP - the easiest method, as it involves compiler directives
> mostly
> - multithreading (tricky to get right, but more flexible than ...
|
| Show full article (2.57Kb) |
| no comments |
|
  |
Author: Colin Paul GlosterColin Paul Gloster Date: Sep 5, 2008 03:47
On Wed, 3 Sep 2008, Fatemeh wrote:
|----------------------------------------------------------------------|
|"I have written a code in Fortran90, [..] |
| |
|[..]" |
|----------------------------------------------------------------------|
Dear Fatemeh,
When did you write this Fortran90 code?
With best regards,
Colin Paul
|
| |
| no comments |
|
  |
Author: FatemehFatemeh Date: Sep 5, 2008 23:13
On Sep 5, 2:47 pm, Colin Paul Gloster ACM.org>
wrote:
> On Wed, 3 Sep 2008, Fatemeh wrote:
>
> |----------------------------------------------------------------------|
> |"I have written a code in Fortran90, [..] |
> | |
> |[..]" |
> |----------------------------------------------------------------------|
>
> Dear Fatemeh,
>
> When did you write this Fortran90 code?
>
> With best regards,
> Colin Paul
It's new. I have just written it. (can I see your code?)
|
| |
| no comments |
|
  |
Author: Gib BogleGib Bogle Date: Sep 6, 2008 02:57
Fatemeh wrote:
> Dear all;
>
> I have written a code in Fortran90, but this code is run for large
> systems very slowly (because of large amount of data)
> now I want to convert my program to a parallel one. but I haven't ever
> written parallel program.
> Would you please guide me what should I do?
>
> I'm anxiously looking forward your reply and guidelines.
>
> Kind regards,
> Fatemeh
Google is your friend.
|
| |
| no comments |
|
  |
|
|
  |
Author: Colin Paul GlosterColin Paul Gloster Date: Sep 9, 2008 06:50
On Fri, 5 Sep 2008, Fatemeh wrote:
|--------------------------------------------------------------------------|
|"On Sep 5, 2:47 pm, Colin Paul Gloster ACM.org> |
|wrote: ...
|
| Show full article (1.86Kb) |
| no comments |
|
|