HyperWorks Linux Error: sh: 1: ksh: not found
Hello all!!
I have created my simulation in Windows by means of Hypermesh. Then, I have send it to a linux computer to run the simulation through radioss and when I run it, it shows in the left cornet "running radioss block" but the solver doesn´t start. Additionally, the next message appears in the command window:
sh: 1: ksh: not found
Any idea how to work out the issue?? Is it possible to create windows radioss files and run them in Linux???
I really appreciate any help!!
Thank you in advance.
Alberto
Best Answer
-
It looks like you are trying to run radioss from inside HM in linux? from the message I'm guessing your linux distro is using ksh (rather than bash) and that may be the issue, the link between HM and Radioss in that installation may not be working correctly (or Radioss may not even be installed?) but running from HM is not the 'normal' way run a model in most cases
You don't need to open/run the model from HM, normally you would just run it from the compute console, or run from command line
In Linux, in your installation, find the scripts folder, and enter './radioss -gui' as below, that will launch the gui for submitting your radioss model, hope this helps?
1
Answers
-
It looks like you are trying to run radioss from inside HM in linux? from the message I'm guessing your linux distro is using ksh (rather than bash) and that may be the issue, the link between HM and Radioss in that installation may not be working correctly (or Radioss may not even be installed?) but running from HM is not the 'normal' way run a model in most cases
You don't need to open/run the model from HM, normally you would just run it from the compute console, or run from command line
In Linux, in your installation, find the scripts folder, and enter './radioss -gui' as below, that will launch the gui for submitting your radioss model, hope this helps?
1 -
Paul Sharp_21301 said:
It looks like you are trying to run radioss from inside HM in linux? from the message I'm guessing your linux distro is using ksh (rather than bash) and that may be the issue, the link between HM and Radioss in that installation may not be working correctly (or Radioss may not even be installed?) but running from HM is not the 'normal' way run a model in most cases
You don't need to open/run the model from HM, normally you would just run it from the compute console, or run from command line
In Linux, in your installation, find the scripts folder, and enter './radioss -gui' as below, that will launch the gui for submitting your radioss model, hope this helps?
Also, is there a particular reason why you have separately installed on linux? If you built the model in Windows, why not just run the model there?
1 -
Dear Paul!!
After trying what you have said to me, it looks like the simulation is running. I cannot express how much grateful I am for your help!!!!! It´s my first time using hyperworks in linux so as you said, I thought that the way of running the simulation from hypermesh was the same as in windows, and not by using the compute console. Thank you so much!!
After solving the issue a question have arisen., if I would like to change anything of my model in the linux computer such a boundary condition or whatever, can I do it from hypermesh as usual or there is a different procedure in linux??
Btw, the reason why I am using windows and linux is because I use my personal computer for setting the model which runs windows, and for running the simulation I am using a powerful computer from my university which runs in linux. That´s why all this mess.
0 -
Alberto Casas said:
Dear Paul!!
After trying what you have said to me, it looks like the simulation is running. I cannot express how much grateful I am for your help!!!!! It´s my first time using hyperworks in linux so as you said, I thought that the way of running the simulation from hypermesh was the same as in windows, and not by using the compute console. Thank you so much!!
After solving the issue a question have arisen., if I would like to change anything of my model in the linux computer such a boundary condition or whatever, can I do it from hypermesh as usual or there is a different procedure in linux??
Btw, the reason why I am using windows and linux is because I use my personal computer for setting the model which runs windows, and for running the simulation I am using a powerful computer from my university which runs in linux. That´s why all this mess.
no problem, you can run from compute console in windows too, it is the 'normal' way to do it, you should be able to use HM in linux as per windows to change the modelling (so long as it is working correctly), or you can make the changes in windows, save your model files and resend to linux.
From your screenshot, that job is running on only one cpu
if you e.g. put '-nt 6' in the options, it would run on 6 (if there are enough licenses) the model in your screenshot earlier looked quite small, for larger models you could also try mpi execution, by using '-np' to specify number of mpi processes
1 -
Yes, I was just checking that the simulation runned. I have checked out how many cpu the computer has, and it seems there are 12. So in the solver options, I wrote -nt 12 and I selected the "use MPI options" option. In that case, am i using the full potential of the computer?? Or should I wrote -np 12 without marking the "use MPI options" option. Thank you in advance!!!!!
0