Hyperworks 2021.2 Linux Installtion Error
Hi,
I just downloaded the install file and hotfix for the Hyperworks 2021.2 suite.
The installation script correctly run through and there is nothing suspicious in the logs. However, when I start the program from
./INSTALL_PATH/hwdesktop/script/hwx
I receive the following errors:
INSTALL_PATH/hwdesktop/scripts/hw: 101: /home/benutzerin/2021.2/altair/hwdesktop/scripts/invoke/common.sh: [[: not found
INSTALL_PATH/hwdesktop/scripts/hw: 125: [[: not found
INSTALL_PATH/hwdesktop/scripts/hw: 318: [: hw: unexpected operator
INSTALL_PATH/hwdesktop/scripts/hw: 318: [: hw: unexpected operator
INSTALL_PATH/hwdesktop/scripts/hw: 318: [: hw: unexpected operator
INSTALL_PATH/hwdesktop/scripts/hw: 331: export:0x8400038: bad variable name
I cannot identify the problem in the Hyperworks logs.
Does someone have an idea what the probelm could be?
Thank you in advance,
Roxana
Answers
-
Hi Roxana,
I am facing the same issue. Did you find a solution to this problem?
Thanks,
Nishant
0 -
Nishant Mistry said:
Hi Roxana,
I am facing the same issue. Did you find a solution to this problem?
Thanks,
Nishant
Ok, I think I found out the issue. Just change shebang in the script from
#!/bin/sh
to
#!/bin/bash
and the errors go away.
0 -
Hi Roxana and Nishant!!
I am having the same issue. Did you handle to work out??
Any help will be handy!!! Thank you in advance.
0 -
Dear Alberto ,
as I mentioned earlier, these errors are due to the script having a shell shebang. Either you can change the shebang as per my earlier reply or you can create a symlink of sh pointing to bash in the /usr/bin/
I hope this helps.
Nishant
1 -
Dear Nishant,
It seems like I have worked out the issue so thank you so much for your help!!!
0