View Issue Details

IDProjectCategoryView StatusLast Update
0001752OpenFOAMBugpublic2015-06-22 17:17
Reporteruser1171Assigned Tohenry  
PriorityhighSeveritymajorReproducibilityalways
Status closedResolutionno change required 
PlatformGNU/LinuxOSUbuntuOS Version12.04
Product Versiondev 
Summary0001752: Installation issue
DescriptionTrying to install OpenFOAM-dev, when I run Allwmake I get the following error :

UOPwrite.C:29:17: fatal error: mpi.h : No such file or directory
compilation aborted

The same problem occures when trying to install the ThirdParty package.
TagsNo tags attached.

Activities

wyldckat

2015-06-18 15:14

updater   ~0004967

Looks like Open-MPI wasn't built or isn't installed. You can also try running the following command for ascertaining which MPI toolbox you have installed:

  mpirun --version

Beyond this, you haven't provided enough details to work with, but my guess is that:
 - either you used the ThirdParty package from 2.4.0;
 - or used the ThirdParty-dev repository.

Either way, if you check the page for the ThirdParty-dev repository, you'll see what 3rd party packages need to be downloaded and from where: https://github.com/OpenFOAM/ThirdParty-dev/

user1171

2015-06-18 17:02

  ~0004971

Thanks for the answer.

I was using the ThirdParty package from 2.4.0 but now I've switched to the ThirdParty-dev repository. Is it better or should I stick with the ThirdParty package from 2.4.0 ?

I've installed the newest version of OpenMPI (1.8.5) but now when I try to build the ThirdParty-dev I get errors related to the scotch_6.0.3 and to cmake.
I've downloaded it but I don't know where and how to install it ? Any help please ?

Thanks in advance !

wyldckat

2015-06-18 17:07

updater   ~0004972

Simply download the files and unpack them directly in the ThirdParty-dev folder. For example, you can do these steps by running:

  cd $WM_THIRD_PARTY_DIR
  wget https://gforge.inria.fr/frs/download.php/file/34099/scotch_6.0.3.tar.gz
  tar -xzf scotch_6.0.3.tar.gz

user1171

2015-06-22 16:33

  ~0004978

Thank you very much, it works now !

Issue History

Date Modified Username Field Change
2015-06-18 11:21 user1171 New Issue
2015-06-18 15:14 wyldckat Note Added: 0004967
2015-06-18 17:02 user1171 Note Added: 0004971
2015-06-18 17:07 wyldckat Note Added: 0004972
2015-06-22 16:33 user1171 Note Added: 0004978
2015-06-22 17:17 henry Status new => closed
2015-06-22 17:17 henry Assigned To => henry
2015-06-22 17:17 henry Resolution open => no change required