No completion added for /home/foobar/OpenFOAM/OpenFOAM-v1712/platforms/linux64GccDPInt32Opt/bin
I have explained this issue here in this StackoverFlow post too.
I'm trying to install/compile OpenFOAM on a remote server. As I don't have the admin privileges I have to compile it from scratch. Following the instructions here, when I try to run
source ~/OpenFOAM/OpenFOAM-v1712/etc/bashrc
I get the error:
No completion added for /home/foobar/OpenFOAM/OpenFOAM-v1712/platforms/linux64GccDPInt32Opt/bin
I checked the ~/OpenFOAM/OpenFOAM-v1712/etc/bashrc
definitely exists and it is intact. I also checked the /home/foobar/OpenFOAM/OpenFOAM-v1712/
folder and there are no such thing as platforms
folder! I searched and the only place I could see a similar error message is here where the issue is old Bash. I tried bash --version
returning version 4.3.48(1)-release (x86_64-pc-linux-gnu)
which is more than 4.2
as seems to be required.
My system information:
Looking into the possible required dependencies mentioned in this page, I checked the installed packages using the command
apt list --installed | grep -i packageName
The packages installed are:
build-essential, flex, bison, cmake, zlib1g-dev, libboost-system-dev, libboost-thread-dev, libopenmpi-dev, openmpi-bin, gnuplot, libreadline-dev, libqt4-dev, libqt4-opengl-dev, freeglut3-dev
And the ones not installed are:
libncurses-dev, libxt-dev, libqtwebkit-dev, libcgal-dev
which according to the installation page are not essential I suppose.
and checking the versions of the libraries installed:
-
mpirun --version
-->(Open MPI) 1.10.2
-
gcc --version
-->gcc (Ubuntu 5.4.0-6ubuntu1~16.04.5) 5.4.0 20160609
-
cmake --version
-->3.5.1
I would appreciate if could let me know what is the problem and how I can solve it? Or if not solvable, what are the alternative methods for me to have the OpenFOAM installed/compiled on the said server.