|
[Sponsors] |
wmake error: SourceFiles could not be created in user home |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 20, 2018, 09:17 |
wmake error: SourceFiles could not be created in user home
|
#1 |
New Member
Jack
Join Date: Feb 2018
Posts: 5
Rep Power: 8 |
Hi all,
I am completing some University work using Bash on Ubuntu on Windows interface. I am tying to modify the SimpleFoam solver. However, the following error message appears when I execute the wmake command: /opt/openfoam5/wmake/wmake: line 409: make: command not found /opt/openfoam5/wmake/wmake: line 412: make: command not found wmake error: file 'Make/linux64GccDPInt32Opt/sourceFiles' could not be created in /home/Matt-ts/OpenFOAM/Matt-ts-5.0/applications/simpleFoamDev Prior to executing this command I have completed the following steps: 1). Copy simpleFoam solver to $WM_PROJECT_USER_DIR /applications 2). Rename the simpleFoam to a new name (which I have named as simpleFoamDev). 3). Rename source code from simpleFoam.C to simpleFoamDev.C 4). Edit files file in the make folder to: simpleFoamDev.C EXE = $(FOAM_USER_APPBIN)/simpleFoamDev 5). Return to SimpleFoamDev folder and enter: wclean wmake This is when the error message appears as per above. I have been following the modification guide which has been alluded to on previous posts: http://www.cloudpyme.eu/wp-content/u...on4-Slides.pdf Does anyone know what the issue may be? |
|
February 21, 2018, 09:46 |
|
#2 | |
Member
Anurag
Join Date: Aug 2014
Location: Germany
Posts: 57
Rep Power: 12 |
Quote:
Code:
> dpkg -l make Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-================-=============-=============-====================================== ii make 4.1-6 amd64 utility for directing compilation Code:
> which make /usr/bin/make Code:
> echo $PATH /home/user/salome_7.5.1/salome_appli_7.5.1:/usr/lib64/openmpi/bin/:/home/user/bin:/usr/games:/home/user/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin |
||
February 21, 2018, 09:50 |
|
#3 |
Member
Andrew Coughtrie
Join Date: May 2011
Posts: 51
Rep Power: 15 |
Possibly make not being installed.
Try running: which make If no result then you'll need to install it. Andy |
|
February 21, 2018, 10:00 |
|
#4 |
New Member
Jack
Join Date: Feb 2018
Posts: 5
Rep Power: 8 |
Thanks anuragm and Andy!
I did not have the make package installed. Many thanks both! |
|
Tags |
modified solver, simplefoam, wmake, wmake error, wmake problems |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] wmake problem | vville | OpenFOAM Installation | 1 | October 8, 2015 06:01 |
Wmake as User | sven82 | OpenFOAM Installation | 3 | August 14, 2013 04:23 |
Regarding FoamX running Kindly help out | hariya03 | OpenFOAM Pre-Processing | 0 | April 18, 2008 05:26 |
CFX 10 User Routine NOT in Fortran | Andre | CFX | 14 | August 9, 2006 00:03 |
UDF with user created surfaces | Henry Lee | FLUENT | 2 | March 23, 2006 04:24 |