I am trying to build OpenFOAM. https://www.openfoam.com/
The install instruction told to source the given bashrc using
source etc/bashrc which I try below.
OpenFOAM Repo: 3. Setting the Environment | OpenFOAM
However, in the
env command, the environment variable does not show any specific OpenFOAM variable, which I guess that it does not work.
I would like some suggestion. Thank you.
app-id: com.openfoam.OpenFOAM runtime: org.freedesktop.Sdk sdk: org.freedesktop.Sdk runtime-version: 22.08 command: openfoam finish-args: - --share=ipc - --device=dri modules: - name: openmpi cleanup: - /bin sources: - type: archive url: https://download.open-mpi.org/release/open-mpi/v4.1/openmpi-4.1.4.tar.bz2 sha256: 92912e175fd1234368c8730c03f4996fe5942e7479bb1d10059405e7f2b3930d - name: OpenFOAM buildsystem: simple build-commands: - source etc/bashrc - env - ./Allwmake sources: - type: archive url: https://dl.openfoam.com/source/v2212/OpenFOAM-v2212.tgz sha256: 0a3ddbfea9abca04c3a811e72fcbb184c6b1f92c295461e63b231f1a97e96476