Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Batch mode

Status
Not open for further replies.

bridgehl

Civil/Environmental
Joined
Dec 23, 2006
Messages
35
Location
JP
Hi friends,
I am learning to use batch mode from the UNIX command line.
The documentation of Ansys lists 4 lines as below without detailed explaination:

------------------------
Foreground execution (ksh or sh shells):
ansys100 -b -p productvar < inputname > outputname 2>&1

Background execution (ksh or sh shells):
nohup ansys100 -b -p productvar < inputname > outputname 2>&1 &

Foreground execution (csh shell):
ansys100 -b -p productvar < inputname > &outputname

Background execution (csh shell):
nohup ansys100 -b -p productvar < inputname > &outputname &
------------------------

I tried these commands with ansys, however, no one was successful.

Could you please explain for me these commands; what is the meaning of "2>&1 &". And where can I find my "productvar" (I use Ansys Multiphysics)?

Thank you very much,
Bridge

 
The problem is solved!!!!

Bridge
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top