|
[Sponsors] |
[OpenFOAM.org] Problems with using MPIRUN/run cases in parallel in OpenFOAM 4.1 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 24, 2017, 10:22 |
Problems with using MPIRUN/run cases in parallel in OpenFOAM 4.1
|
#1 |
New Member
P. H.
Join Date: Jul 2017
Posts: 5
Rep Power: 8 |
Hello,
I'm having trouble running cases in parallel using mpirun. I installed OpenFOAM 4.1 on my Virtual Box (Ubuntu 12.04) using the following guide https://openfoamwiki.net/index.php/I...OAM-4.1/Ubuntu. The installation seems to work fine if I run cases normally, but when I try to run them in parallel, an error is displayed pointing at a missing config file. Code:
ubuntu@ubuntu-VirtualBox:~/OpenFOAM/ubuntu-4.1/run/tmp$ mpirun -np 4 rhoCentralFoam -parallel > log & [1] 9273 ubuntu@ubuntu-VirtualBox:~/OpenFOAM/ubuntu-4.1/run/tmp$ Cannot open configuration file /usr/share/openmpi/mpirun-wrapper-data.txt Error parsing data file mpirun: Not found Code:
ubuntu@ubuntu-VirtualBox:/opt$ ln -s /usr/bin/mpicc.openmpi OpenFOAM-4.1/bin/mpicc ln: failed to create symbolic link `OpenFOAM-4.1/bin/mpicc': File exists ubuntu@ubuntu-VirtualBox:/opt$ ln -s /usr/bin/mpirun.openmpi OpenFOAM-4.1/bin/mpirun ln: failed to create symbolic link `OpenFOAM-4.1/bin/mpirun': File exists Does anyone know what the purpose of "mpirun-wrapper-data.txt" or how I could modify "mpicc-wrapper-data.txt" in order to get it to work? Thank you in advance! |
|
Tags |
mpirun, openfoam4.1 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Differences in interPhaseChangeFoam between OpenFOAM 2.3 and OpenFOAM 4.1 | Mashiro5 | OpenFOAM Running, Solving & CFD | 2 | May 29, 2017 04:13 |
Explicitly filtered LES | saeedi | Main CFD Forum | 16 | October 14, 2015 11:58 |
running multiple parallel cases in openfoam slows the simulation | kkpal | OpenFOAM Running, Solving & CFD | 2 | August 21, 2015 11:08 |
OpenFoam parallel on 2 computers : Cannot find file "points" | Blue8655 | OpenFOAM Running, Solving & CFD | 1 | June 3, 2015 21:59 |
Can not run OpenFOAM in parallel in clusters, help! | ripperjack | OpenFOAM Running, Solving & CFD | 5 | May 6, 2014 15:25 |