CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   parallel computing (https://www.cfd-online.com/Forums/main/16459-parallel-computing.html)

James March 13, 2009 08:51

parallel computing
 
hi all, Could someone tell me whether it is possible to run parallel codes on a Core 2 Duo PC, using MPICH on Campaq visual fortran? does it make use of the 2 core processors? thanks in advance!

James

TG March 13, 2009 15:57

Re: parallel computing
 
If you can get a Compaq Visual Fortran program to link to some version of mpich then certainly you can run it on Core 2 Duo and it will make use of both cores.

James March 13, 2009 19:09

Re: parallel computing
 
hi, many thanks! :)

RenardP March 21, 2009 08:47

You can also use gfortran (Linux, Windows, Mac) or Intel Fortran compiler (this is free only for Linux if I remember correctly).

ztdep March 21, 2009 08:53

Quote:

Originally Posted by TG
;59363
If you can get a Compaq Visual Fortran program to link to some version of mpich then certainly you can run it on Core 2 Duo and it will make use of both cores.

Dear sir:
could you please tell me how to compile a mpich with fortran in windows system.
thank you very much

wangyifei March 21, 2009 10:17

The wall in the fluentcan be deleted?and how to remove it
 
I am do not set the faces boundary of wall,but the wall was appeared in the fluent.how to remove the wall in the fluent?
thank you ,your friends fei.

RenardP March 22, 2009 06:50

First install mpich on your Windows machine, then read the documentation.

In general it is easier to do CFD on a Linux machine, because you have a lot of free tools (compilers, mesh generators ...).

NewtonKF March 22, 2009 08:06

OpenMP
 
Hi Guys,

I've worked with mpich for some time and now I think that openMP is better suited for SMP. It is easier to implement and to use. MPICH is better for DMP and harder to implement.

quarkz March 22, 2009 09:26

ya, openmp's easier and better for shared memory. however, i doubt compaq VF can use openmp. I believe intel's ifort can. correct me if i'm wrong.

RenardP March 22, 2009 10:28

gfortran can use OpenMP on Linux/Windows/FreeBSD.

happy_clp March 23, 2009 23:54

you can use Cilk language.

miko April 14, 2009 04:21

Re : Parallel computing
 
Quote:

Originally Posted by ztdep (Post 210222)
Dear sir:
could you please tell me how to compile a mpich with fortran in windows system.
thank you very much

hi, just wanna share, I did parallel computing on 2 CPUs with 4 Cores in each of them. As I remember, what you need is download the suitable mpich version, install it, target it on your computer path, set your fortran library and link, put parallel command on input data (if needed) and execute it on the command prompt. correct me if its wrong.


All times are GMT -4. The time now is 19:46.