CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   [OpenFOAM.org] OpenFOAM 3.0.1 source compilation error (https://www.cfd-online.com/Forums/openfoam-installation/251652-openfoam-3-0-1-source-compilation-error.html)

newster August 31, 2023 04:06

OpenFOAM 3.0.1 source compilation error
 
I'm trying to source compile OpenFOAM version 3.0.1 in a container (Apptainer) with Ubuntu v14.04.5. I already have been using different version of OpenFOAM like v10,v11,v2212 directly installed. I recently compiled v1706 in a container and it works smoothly. I need to use v3.0.1 for a project work. I downloaded, extracted, both the OpenFOAM and Third-party files, installed the prerequisites. Then I set the environment variables in bashrc file aswell with this command,

--> "alias of301="source /home/OpenFOAM/OpenFOAM-3.0.1/etc/bashrc"


post which I sourced the bashrc in my terminal. Then when I enter "of301" to load the environmental setting, I get thrown with these missing files command,

--> bash: /root/OpenFOAM/OpenFOAM-3.0.1/bin/foamEtcFile: No such file or directory
bash: /root/OpenFOAM/OpenFOAM-3.0.1/bin/foamCleanPath: No such file or directory
bash: /root/OpenFOAM/OpenFOAM-3.0.1/bin/foamCleanPath: No such file or directory
bash: /root/OpenFOAM/OpenFOAM-3.0.1/bin/foamCleanPath: No such file or directory
bash: /root/OpenFOAM/OpenFOAM-3.0.1/etc/config/settings.sh: No such file or directory
bash: /root/OpenFOAM/OpenFOAM-3.0.1/etc/config/aliases.sh: No such file or directory
bash: /root/OpenFOAM/OpenFOAM-3.0.1/bin/foamEtcFile: No such file or directory
bash: /root/OpenFOAM/OpenFOAM-3.0.1/bin/foamEtcFile: No such file or directory
bash: /root/OpenFOAM/OpenFOAM-3.0.1/bin/foamEtcFile: No such file or directory
bash: /root/OpenFOAM/OpenFOAM-3.0.1/bin/foamEtcFile: No such file or directory
bash: /root/OpenFOAM/OpenFOAM-3.0.1/bin/foamCleanPath: No such file or directory
bash: /root/OpenFOAM/OpenFOAM-3.0.1/bin/foamCleanPath: No such file or directory
bash: /root/OpenFOAM/OpenFOAM-3.0.1/bin/foamCleanPath: No such file or directory



I downloaded the files from official website so I don't know how these files can be missing. Can someone help me out with this?


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