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

Question about running user-defined applications on cluster

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 11, 2012, 10:01
Default Question about running user-defined applications on cluster
  #1
New Member
 
Join Date: May 2012
Posts: 3
Rep Power: 13
stilljourney is on a distinguished road
I have written a user-defined solver and some utilities. They work perfectly on the workstations. They are compiled by wmake, with the executable path set to $FOAM_USER_APPBIN, something like a line in the Make/files file:

EXE = $(FOAM_USER_APPBIN)/appName

Now I need to run the simulations on cluster. My supervisor told me that cluster cannot "sense"my user directories, so that it cannot access these user-defined applications. If we compile these applications on the "top level", it will take time to verifiy that it is not risky to do so because it impacts every user.

I hope you get my question (despite those informal terms because I have no experience in cluster). Any idea or comment is welcomed! Thanks for the help!

Best regards,
Jing
stilljourney is offline   Reply With Quote

Old   July 11, 2012, 16:20
Default
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by stilljourney View Post
I have written a user-defined solver and some utilities. They work perfectly on the workstations. They are compiled by wmake, with the executable path set to $FOAM_USER_APPBIN, something like a line in the Make/files file:

EXE = $(FOAM_USER_APPBIN)/appName

Now I need to run the simulations on cluster. My supervisor told me that cluster cannot "sense"my user directories, so that it cannot access these user-defined applications. If we compile these applications on the "top level", it will take time to verifiy that it is not risky to do so because it impacts every user.

I hope you get my question (despite those informal terms because I have no experience in cluster). Any idea or comment is welcomed! Thanks for the help!

Best regards,
Jing
That is hardcore: somehow the case files must get onto the cluster, right? Put the solver into it and run it (this assumes that the solver is on the case-directory): "./jingFoam". Of course this assumes that binaries from your workstation work on the cluster. If you have problems with the dynamic library you could try compiling the solver like this "wmake exe jingFoam". This builds a HUGE binary (because the required dynamic libraries are statically linked into it). Note: I have never seriously used such binaries. So your milage may vary
gschaider is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
UDF - Derivatives for User Defined Memory Variable Sandilya Garimella FLUENT 0 January 14, 2008 11:39
User defined scalar Tomik FLUENT 0 February 8, 2007 20:23
Microsoft HPC cluster for CFD - question Rory - Administrator Main CFD Forum 8 November 13, 2006 13:59
Usage of user defined functions Gowrish FLUENT 1 October 26, 2005 08:44
Commercial software question (user viscosity) Jeff Main CFD Forum 2 July 20, 2002 11:41


All times are GMT -4. The time now is 06:52.