CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

[OpenFOAM.com] 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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 28, 2019, 06:29
Default Cannot open configuration file /opt/openmpi/share/openmpi/mpicc-wrapper-data.txt
  #1
New Member
 
hui
Join Date: Dec 2018
Posts: 6
Rep Power: 8
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!


PS:
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 http://www.open-mpi.org/community/help/
[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:
export WM_MPLIB=SYSTEMOPENMPI
lhsihan is offline   Reply With Quote

Old   January 28, 2019, 20:47
Default
  #2
New Member
 
hui
Join Date: Dec 2018
Posts: 6
Rep Power: 8
lhsihan is on a distinguished road
The problem is resolved by adding OPAL_PREFIX to environment variables. See https://users.open-mpi.narkive.com/d...apper-data-txt.
wyldckat likes this.
lhsihan is offline   Reply With Quote

Reply

Tags
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
Custom Thermophysical Properties wsmith02 OpenFOAM 4 June 1, 2023 15:30
[OpenFOAM.org] Patches to compile OpenFOAM 2.2 on Mac OS X gschaider OpenFOAM Installation 136 October 10, 2017 18:25
[OpenFOAM] Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 keepfit ParaView 60 September 18, 2013 04:23
ParaView Compilation jakaranda OpenFOAM Installation 3 October 27, 2008 12:46
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 02:24


All times are GMT -4. The time now is 22:57.