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

Running Fluent in the Background

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 28, 2010, 16:39
Default Running Fluent in the Background
  #1
New Member
 
Jon
Join Date: Mar 2010
Posts: 10
Rep Power: 16
Sidewinder is on a distinguished road
I was wondering if anybody could tell me how to run fluent which is installed on a linux/unix machine in the background. From what I gather on the internet, the command nohup can be used. But you need an input file and output file.

The simulation is 3ddp and I have prepared the *.cas file for it. I know the number of interations is requires.

Please assist

Thanks
Sidewinder is offline   Reply With Quote

Old   March 29, 2010, 01:54
Default
  #2
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41
-mAx- will become famous soon enough
in a shell:
> fluent 3ddp -g

******
From the help:
******
Usage: fluent [version] [-help] [options]
options:
-cl following argument passed to fluent,
-checknetwork check the network connections before spawning compute nodes,
-cxarg following argument passed to cortex,
-cx host12 connect to the specified cortex process,
-driver [ opengl | x11 | null ],
sets the graphics driver (available drivers vary by platform),
-env show environment variables,
-g run without gui or graphics,
-gr run without graphics,
-gu run without gui,
-hcl following argument passed to fluent host,
-help this listing,
-i journal read the specified journal file,
-loadx load mpp from host x,
-lsf run fluent under LSF,
-manspa manually spawn compute nodes,
-n no execute,
-ncl following argument passed to fluent node,
-nocheck disable checks for valid license file and server,
-pathx specify root path x to Fluent.Inc,
-post run a post-processing-only executable,
-project x write project x start and end times to license log,
-px specify communicator x,
-r list all releases,
-rx specify release x,
-sge run fluent under Sun Grid Engine,
-sgeq queue name of queue for a given computing grid,
-sgeckpt ckpt_obj,
set Checkpointing object to ckpt_obj for SGE,
-sgepe fluent_pe min_n-max_n,
set parallel environment for SGE to fluent_pe,
min_n and max_n are number of min and max nodes requested,
-v list all versions,
-vx specify version x,
-tx specify number of processors x,
-cnf=x specify the host file

__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   March 29, 2010, 09:44
Default
  #3
New Member
 
Jon
Join Date: Mar 2010
Posts: 10
Rep Power: 16
Sidewinder is on a distinguished road
Thanks again mAx

But I want to start the procedure and logout. The problem is my university uses a SSH connection to the remote computer with Putty. But i want to start the process, let it run in the evening, LOG OUT and have the results in the morning. Now I need to be logged in.

the command is nohup. I am sure. But I dont know how to use it.

Any ideas are greatly appreciated.
Sidewinder is offline   Reply With Quote

Old   March 29, 2010, 09:54
Default
  #4
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41
-mAx- will become famous soon enough
no idea, but maybe it can help you:
http://www.cfd-online.com/Forums/ope...ce-n-19-a.html
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   March 30, 2010, 13:18
Default
  #5
Senior Member
 
Chris
Join Date: Jul 2009
Location: Ohio, USA
Posts: 169
Rep Power: 17
Chris D is on a distinguished road
I'm relatively new to Linux myself, but there is a way to "detach" from an ssh session, and then "reattach" latter. (I'm not sure if that's the correct terminology.) Something like this:

http://www.linux-tutorial.info/modul...rticle&sid=977
Chris D is offline   Reply With Quote

Old   March 30, 2010, 15:28
Default
  #6
Senior Member
 
Join Date: Nov 2009
Posts: 411
Rep Power: 20
DoHander is on a distinguished road
Yes, it is, here is an example:

nohup fluent 2ddp -g -t4 -ssh -cnf=hostlist -i args.txt &

The above will launch Fluent on 4 machines (ip list in "hostlist") and it will execute the commands found in args.txt

Do
DoHander 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
Problem running Fluent on amd64 Manfred FLUENT 10 March 23, 2013 07:47
Fluent.. lmgrd is not running shrikant_fromchicago Main CFD Forum 0 March 2, 2010 02:31
How to save a case running in background us FLUENT 0 July 6, 2005 11:43
How to run Fluent on the background? David FLUENT 4 January 17, 2004 03:20
FLUENT 5.2.3 running on PIII 733 Burley Wang FLUENT 7 April 19, 2000 07:03


All times are GMT -4. The time now is 23:25.