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

OpenFoam wmake not found

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 27, 2014, 01:42
Default OpenFoam wmake not found
  #1
CTR
New Member
 
Charles
Join Date: Apr 2014
Posts: 9
Rep Power: 12
CTR is on a distinguished road
Hi, I am trying to compile a solver that I wrote to run on the NCI machine. However after I load OpenFOAM-2.2.1, and try to compile the solver using wmake, I got an error: command not found. I look at the /apps/OpenFOAM/2.2.1 folder and it does not appear to have a wmake folder. Is this an installation problem or are there differences between openfoam on a server and a normal pc that I don't know about? Running the ./Allrun script in the tutorial folder work fine, so I am assuming that the built-in solver compile fine.
Do I need to write a makefile to compile my own solver? any help would be much appreciated.

Charles
CTR is offline   Reply With Quote

Old   April 27, 2014, 06:04
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Charles and welcome to the forum!

Note: I have no idea what is the "NCI machine"...

From your description, it looks like the system administrators only installed the binaries for running OpenFOAM. The source code is also probably not provided in that installation folder.

The way I see it, you have three choices:
  1. Contact the system administrators for the NCI machine and ask how you can develop your own solvers for running in the machine.
  2. Figure out which exact Linux Distribution is being used in the NCI machine and which compiler version was used. Then install said Linux Distribution in a virtual machine and build the same OpenFOAM version within it, using the same compiler version. At the end, the binaries generated in your virtual machine should be compatible with those on the NCI machine.
    Then you can develop your own solvers and utilities and copy only the new binaries to the NCI machine for running with their OpenFOAM installation.
    Of course this is assuming that the NCI machine is using x86-type CPUs (x86 or x86_64), otherwise it gets really complicated...
  3. Since option #2 might not work as intended, then try building a new personal installation of OpenFOAM in the NCI machine, using the same version of OpenFOAM and compiler version. That way it's more likely that you'll be able to build compatible binaries.
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   April 27, 2014, 07:10
Default
  #3
CTR
New Member
 
Charles
Join Date: Apr 2014
Posts: 9
Rep Power: 12
CTR is on a distinguished road
Hi wyldckat,
Thanks you for you suggestion. In case you are interested, NCI refer to the National Computational infrastructure in Australia that run the supercomputer for Australian researchers.I think I will follow your first suggestion and contact the administrators for help.

Regards
Charles
CTR is offline   Reply With Quote

Reply


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
[OpenFOAM.com] erros in Allwmake jiwon OpenFOAM Installation 7 December 30, 2015 13:34
[solidMechanics] Building solidMechanics in OpenFOAM 1.6-ext on Mac OS X codder OpenFOAM CC Toolkits for Fluid-Structure Interaction 4 January 11, 2014 18:34
fireFoam.1.7.x_0.4 compilation error !link OpenFOAM Installation 9 December 24, 2012 05:15
Patches for OpenFOAM 1.7 on MacOS X gschaider OpenFOAM Installation 101 September 21, 2011 06:37
Problems Installing OF 1.6 32 bit bucksfan OpenFOAM Installation 19 August 4, 2009 02:36


All times are GMT -4. The time now is 00:31.