|
[Sponsors] |
November 2, 2011, 17:46 |
parallel execution not starting
|
#1 |
Member
Join Date: May 2009
Posts: 54
Rep Power: 17 |
Hello,
I have a clean install of 2.0.x and single processor operations are working without any issues. If i try to use any solver or utility with the -parallel flag, I get no execution, no errors and no output to the terminal / log file. For example: mpirun -np 6 pisoFoam -parallel > logRun& or foamJob -p pisoFoam both return empty logs and 0 cpu activity. If i try: mpirun -np 6 pisoFoam -parallel without dumping into a log, nothing is shown after executing the command, and I can ctrl+c to see: mpirun: killing job... Any ideas? |
|
November 2, 2011, 18:02 |
|
#2 |
Member
Ganesh Vijayakumar
Join Date: Jan 2010
Posts: 44
Rep Power: 16 |
Can you check if you can run a trivial hello world c++ program using mpirun first?
|
|
November 3, 2011, 09:31 |
|
#3 |
Member
Join Date: May 2009
Posts: 54
Rep Power: 17 |
Ganesh,
Here is a sample hello world which utilizes mpi. Found online: Code:
#include <stdio.h> #include <mpi.h> int main (argc, argv) int argc; char *argv[]; { int rank, size; MPI_Init (&argc, &argv); /* starts MPI */ MPI_Comm_rank (MPI_COMM_WORLD, &rank); /* get current process id */ MPI_Comm_size (MPI_COMM_WORLD, &size); /* get number of processes */ printf( "Hello world from process %d of %d\n", rank, size ); MPI_Finalize(); return 0; } mpircc -o hello2 hello2.c without any errors an executable is created. Same issues when I try to run this using: mpirun -np 2 hello2 No errors, but also no execution. This exec also does not run in serial using just ./hello2, but I am not sure as to whether it should with the MPI libs in it. I also reran ./Allwmake in the main OF dir just to make sure everything was compiled correctly. I am using the openmpi that came with 2.0.x (mpirun (Open MPI) 1.5.3). |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Own boundary condition modified simpleFoam erorr in parallel execution | sponiar | OpenFOAM Running, Solving & CFD | 1 | August 27, 2008 10:16 |
Problems starting parallel fluent on linux | HSeldon | FLUENT | 6 | June 13, 2008 12:25 |
Parallel execution of customized solver | otsuki | OpenFOAM Running, Solving & CFD | 2 | March 24, 2006 08:47 |
Parallel interfom trouble in execution | mer | OpenFOAM Running, Solving & CFD | 6 | October 18, 2005 06:45 |
Parallel Computing Classes at San Diego Supercomputer Center Jan. 20-22 | Amitava Majumdar | Main CFD Forum | 0 | January 5, 1999 13:00 |