|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Michal Wietlicki
Join Date: Sep 2020
Posts: 3
Rep Power: 5 ![]() |
I'm trying to edit pimpleFoam application in a specific way that has already been done by a user. Trouble is that steps for compilation where not mentioned by the user and I can not compile myself, I get the following error:
mkdir: cannot create directory ‘/opt/openfoam8/platforms/linux64GccDPInt32Opt/applications’: Permission denied /bin/sh: 1: cannot create /opt/openfoam8/platforms/linux64GccDPInt32Opt/applications/solvers/incompressible/EHDpimpleFoam/SRFPimpleFoam/options: Directory nonexistent make: *** No rule to make target '/opt/openfoam8/platforms/linux64GccDPInt32Opt/applications/solvers/incompressible/EHDpimpleFoam/SRFPimpleFoam/options'. Stop. /bin/sh: 1: cannot create /opt/openfoam8/platforms/linux64GccDPInt32Opt/applications/solvers/incompressible/EHDpimpleFoam/SRFPimpleFoam/options: Directory nonexistent make: *** No rule to make target '/opt/openfoam8/platforms/linux64GccDPInt32Opt/applications/solvers/incompressible/EHDpimpleFoam/SRFPimpleFoam/options', needed by 'all'. Stop. wmake error: file '/opt/openfoam8/platforms/linux64GccDPInt32Opt/applications/solvers/incompressible/EHDpimpleFoam/SRFPimpleFoam/sourceFiles' could not be created in /opt/openfoam8/applications/solvers/incompressible/EHDpimpleFoam/SRFPimpleFoam I've seen the thread (https://bugs.openfoam.org/view.php?id=927) by wyldcat on how to resolve this issue, but this does not seem to fix it for me. Not sure if I'm making a mistake somewhere or if in my case it is not sufficient The EHDpimpleFoam/Make/files is: EHDpimpleFoam.C LIB = $(FOAM_USER_LIBBIN)/EHDpimpleFoam The EHDpimpleFoam/Make/files is of the format: EXE_INC = \ list of libaries - copied from pimplefoam LIB_LIBS = \ list of libraries - copied from pimpleFoam if I change the first EXE_INC to LIB_EXE I get the same error. I've edited the MAKE in the SRFPimpleFoam subdirectory of EHDpimpleFoam to be the same. |
|
![]() |
![]() |
![]() |
![]() |
#2 |
New Member
Michal Wietlicki
Join Date: Sep 2020
Posts: 3
Rep Power: 5 ![]() |
I used a different pc with a openfoam version 6 instead of 8 and I did not have this issue, anymore. Additionally instead of LIB = $(FOAM_USER_LIBBIN)/EHDpimpleFoam I used EXE= $(FOAM_USER_APPBIN)/EHDpimpleFoam and EXE_LIBS instead of LIB_LIBS.
|
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to compile openfoam solver without wmake | silverbluep | OpenFOAM Programming & Development | 0 | February 15, 2018 18:22 |
Why is wmake insufficient to effect the changes I want made in a library? | cdunn6754 | OpenFOAM Programming & Development | 0 | October 16, 2017 17:37 |
user routine, user funcion, or fortran compile effect on the memroy? | princeps11 | CFX | 1 | May 13, 2009 18:37 |
Can someone PLEASE document the development version installation | bernd | OpenFOAM Installation | 76 | November 14, 2008 21:51 |
CFX 5.5 | Roued | CFX | 1 | October 2, 2001 16:49 |