|
[Sponsors] |
[OpenFOAM.com] Cannot open configuration file /opt/openmpi/share/openmpi/mpicc-wrapper-data.txt |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 28, 2019, 06:29 |
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 |
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 |
|
January 28, 2019, 20:47 |
|
#2 |
New Member
hui
Join Date: Dec 2018
Posts: 6
Rep Power: 8 |
The problem is resolved by adding OPAL_PREFIX to environment variables. See https://users.open-mpi.narkive.com/d...apper-data-txt.
|
|
Tags |
openfoam, openmpi |
|
|
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 |