|
[Sponsors] |
[OpenFOAM.com] Possible $PATH issue in V2212 windows mingw installation |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 21, 2023, 17:16 |
Possible $PATH issue in V2212 windows mingw installation
|
#1 |
New Member
Scott Stevenson
Join Date: Jun 2023
Posts: 5
Rep Power: 3 |
I'm trying to get the cfdOF package in FreeCAD working. The recommended OpenFOAM install is the Windows mingw package, specifically version 2206.
I installed the latest 2212 version thinking the newer version should work. I also installed cfmesh and HISA. Unfortanately cfdOF cannot find either cfmesh or HISA to execute those commands externally. Thinking it might be a PATH issue with the external environment I executed the openfoam terminal command to check the environment $PATH variable. OpenFOAM-v2212-MSYS2-Terminal When I type $PATH I get the following output: $ $PATH bash: /home/ofuser/OpenFOAM/sstev-v2212/platforms/win64MingwDPInt32Opt/bin:/home/ofuser/OpenFOAM/OpenFOAM-v2212/site/2212/platforms/win64MingwDPInt32Opt/bin:/home/ofuser/OpenFOAM/OpenFOAM-v2212/platforms/win64MingwDPInt32Opt/bin:/home/ofuser/OpenFOAM/OpenFOAM-v2212/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/c/Program: No such file or directory Notice the last entry in the list "/c/Program: No such file or directory" Looking at the source, I think the script responsible for creating the environment $PATH is setEnvVariables-v2212.bat The last line in this script is: set PATH=%WM_PROJECT_DIR%\platforms\%TYPE%\bin\;%WM_PR OJECT_DIR%\platforms\%TYPE%\lib\mpi\;%WM_THIRD_PAR TY_DIR%\platforms\%TYPE_THIRDPARTY%\lib\;%PATH% You can see the last term "%PATH%" where it is applying the windows path. This is apparently not working. Can anyone help? How to I get all the needed PATH information into the OpenFOAM terminal environment? Thanks in advance. |
|
June 22, 2023, 00:05 |
Nevermind
|
#2 |
New Member
Scott Stevenson
Join Date: Jun 2023
Posts: 5
Rep Power: 3 |
I'm not sure what the problem was but the PATH issue cleared itself up the next time I worked in this issue. I still cannot get cfdOF to recognize cfmesh, gmesh, or hisa, but that is a separate problem that I continue to work on.
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM] Installation ParaView for Windows version of openFOAM | kasra karimi | ParaView | 14 | September 8, 2018 15:06 |
SU2 Installation on Windows 32 bit | niddaas | SU2 Installation | 3 | May 6, 2016 18:03 |
CFX11 + Fortran compiler ? | Mohan | CFX | 20 | March 30, 2011 19:56 |
nmake issue with Windows | sega | FLUENT | 19 | June 16, 2010 02:16 |
divide by zero FPE issue in OpenFOAM 141 MingW port | allenzhao | OpenFOAM Installation | 9 | September 22, 2008 18:13 |