CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

wmake error: SourceFiles could not be created in user home

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By JackJohnson

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 20, 2018, 07:00
Default wmake error: SourceFiles could not be created in user home
  #1
New Member
 
Jack
Join Date: Feb 2018
Posts: 5
Rep Power: 8
JackJohnson is on a distinguished road
Hi all,

I am new completing some University work on OpenFOAM and I'm still very new to the programme. I am using Bash on Ubuntu on Windows.

Whilst trying to modify the SimpleFoam solver, I am unable to create a copy of the solver in my $WM_PROJECT_USER_DIR.

When I execute the wmake command, I get the following error message:

/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


Here are the steps I have successfully completed thus far:

1). Copy simpleFoam solver to WM_PROJECT_USER_DIR/applications
2). Rename simpleFoam to which I have called it simpleFoamDev
3). Rename source code file simpleFoam.C to simpleFoamDev.C
4). edit files file within the make folder to read:

SimpleFoamDev.C
EXE = $(FOAM_USER_APPBIN)/simpleFoamDev

5). Within simpleFoamDev folder execute commands:
wclean
wmake

I have followed the instructions as per the following guide which was alluded to in previous posts:

http://www.cloudpyme.eu/wp-content/u...on4-Slides.pdf

Any suggestions on what the issue may be would be gratefully received, thanks in advance!
Attached Images
File Type: jpg wmake error.JPG (27.1 KB, 45 views)
File Type: jpg files file.JPG (16.4 KB, 32 views)
JackJohnson is offline   Reply With Quote

Old   February 21, 2018, 09:02
Default
  #2
New Member
 
Jack
Join Date: Feb 2018
Posts: 5
Rep Power: 8
JackJohnson is on a distinguished road
Turns out I didn't have the make package installed on my version of OpenFoam as solved in this other thread:

wmake error: SourceFiles could not be created in user home

Apologies for the double post, would delete this repeat if I knew how...
Paul George likes this.
JackJohnson is offline   Reply With Quote

Reply

Tags
openfoam, simplefoam, source file, wmake, wmake error


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wmake as User sven82 OpenFOAM Installation 3 August 14, 2013 03:23
user routine, user funcion, or fortran compile effect on the memroy? princeps11 CFX 1 May 13, 2009 18:37
Regarding FoamX running Kindly help out hariya03 OpenFOAM Pre-Processing 0 April 18, 2008 04:26
CFX 10 User Routine NOT in Fortran Andre CFX 14 August 8, 2006 23:03
UDF with user created surfaces Henry Lee FLUENT 2 March 23, 2006 03:24


All times are GMT -4. The time now is 02:21.