bridgehl
Civil/Environmental
- Dec 23, 2006
- 35
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
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