PDA

View Full Version : abaqus run.bat equivalent---> run.sh problem



mech5243
2010-07-21, 18:38
I have abaqus installed in linux ubuntu. and i am trying to create a .sh file to start the analysis automaticaly without using the terminal. (i am trying to make the equivalent run.bat file for windows..)

I succesfull create a run.sh file which includes the following command for example
abaqus job=a.inp
and when i type in terminal ./run.sh the analysis is starting as expected
But when i double click on file run.sh and chose run in terminal...nothing happens..the terminal opens and closes very quickly and the analysis dont start. I include a pause command after the previuse command to see what it happens and i am receving the following statement when i am executing the run.sh script
/home/user/abaqus/run.sh:1 :abaqus :not found
and i cant solve this problem...any ideas?
ps: the run.sh file has all permisions rwx for all users so no problems from there..

Jorgen
2010-08-23, 19:19
Try changing the line to something like:
/opt/abaqus/Commands/abaqus job=a.inp

It sounds like your path is not setup quite right, so you might have to specify the complete path to abaqus.

-Jorgen