CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

[] Cannot open configuration file /opt/openmpi/share/openmpi/mpicc-wrapper-data.txt

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By lhsihan

LinkBack Thread Tools Search this Thread Display Modes
Old   January 28, 2019, 05:29
Default Cannot open configuration file /opt/openmpi/share/openmpi/mpicc-wrapper-data.txt
New Member
Join Date: Dec 2018
Posts: 6
Rep Power: 6
lhsihan is on a distinguished road
I have installed OpenFOAM and Openmpi under /opt/HPC-Apps/. I can load openmpi from module file and run "mpirun --version" successfully.

But when sourcing /opt/HPC-Apps/openfoam/OpenFOAM-v1806/etc/bashrc, got the below error "Cannot open configuration file /opt/openmpi/share/openmpi/mpicc-wrapper-data.txt". But I can run motorbike tutorial successfully.

So my question is that:
Why the bashrc load openmpi from "/opt/openmpi" instead of "/opt/HPC-Apps/openmpi"? How can I fix this if I really want to install openmpi under /opt/HPC-Apps?

Thanks a lot!

1. the console log is as follows:
[op@hpcapp4 hpc]$ module load /opt/HPC-Apps/openmpi/1.10.7
[op@hpcapp4 hpc]$ mpirun --version
mpirun (Open MPI) 1.10.7

Report bugs to
[op@hpcapp4 hpc]$
[op@hpcapp4 hpc]$ source /opt/HPC-Apps/openfoam/OpenFOAM-v1806/etc/bashrc
Cannot open configuration file /opt/openmpi/share/openmpi/mpicc-wrapper-data.txt
Error parsing data file mpicc: Not found

2. mpi configuration inside /opt/HPC-Apps/openfoam/OpenFOAM-v1806/etc/bashrc:
lhsihan is offline   Reply With Quote

Old   January 28, 2019, 19:47
New Member
Join Date: Dec 2018
Posts: 6
Rep Power: 6
lhsihan is on a distinguished road
The problem is resolved by adding OPAL_PREFIX to environment variables. See
wyldckat likes this.
lhsihan is offline   Reply With Quote


openfoam, openmpi

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[] Patches to compile OpenFOAM 2.2 on Mac OS X gschaider OpenFOAM Installation 136 October 10, 2017 17:25
Custom Thermophysical Properties wsmith02 OpenFOAM 3 July 27, 2015 05:37
[OpenFOAM] Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 keepfit ParaView 60 September 18, 2013 03:23
ParaView Compilation jakaranda OpenFOAM Installation 3 October 27, 2008 11:46
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 01:24

All times are GMT -4. The time now is 12:55.