Open Hritam2002 opened 1 year ago
Hello,
This means you had not loaded OpenFOAM before running the install command. The variable $WM_PROJECT_USER_DIR was found to be undefined. Please type the following line and try again.
source $HOME/OpenFOAM/OpenFOAM-v1706/etc/bashrc
I have sourced the "bashrc" file, still the result is the same. That logInstall-CFD file still says the same, "mkdir missing operand". But I can access the $WM_PROJECT_USER_DIR myself, which can be seen in the screenshot attached. I have attached relevant screenshots with it. Please help me out.
Thanks.
https://hystrath.github.io/installation/
Could you please try without using sudo and set NUMPROCS to an integer value?
./install.sh NUMPROCS 2>/dev/null
did the same sir, didn't work
Please add debug statements in the install script. For example:
gedit build/install-CFD.sh
Add on line 15:
echo $currentDir
echo $sendingDir
If $sendingDir is set, please try to substitute
mkdir -p $sendingDir
for
mkdir -p "$sendingDir"
Taken from: https://stackoverflow.com/questions/2743673/mkdir-error-in-bash-script
Hi @vincentcasseau, my name is Praneta Mahawar, and I continue to face this issue (even my friend and a professor of mine is unable to help us, though he was able to install it 4-5 years ago), would be highly obliged to get some further guidance from you on this issue. P.S: I've already tried the steps shown above, but met no success. I'm using Ubuntu 20.04 LTS...Thanks in advance
I am using Ubuntu 22.04, and OpenFOAM v1706 has been installed successfully, as the test cases are running. But I am unable to install hy2Foam, a message "FAIL: check logInstall-CFD" was coming. I checked the logInstall-CFD file and it contains only "mkdir: missing operand Try 'mkdir --help' for more information."
Can anybody help me out?
logInstall-CFD.txt