I have been having issues running a tcl script in batch mode on linux using hmbatch, and I am unsure what the underlying problem might be. Initially, I had thought the problem was with my tcl script, but it ran just fine on Windows on another machine.
The command I used and the resulting output can be seen below:
___________________________________________________________________________________________________
$ /apps/HyperWorks/2022.2/altair/scripts/hmbatch -tcl Batch_Model_Check.tcl -nobg
$ Altair HyperMesh v2022.2.0.27
Copyright (C)1990-2022 - Altair Engineering, Inc. All Rights Reserved.
Contains trade secrets of Altair Engineering, Inc. Copyright notice does not
imply publication. Decompilation or disassembly of this software is strictly
prohibited.
Graphics: batch
___________________________________________________________________________________________________
After which, absolutely nothing happens - not even any output to even see what errors it might be generating. In case the problem was with my license, I also tried running it as such (obviously pointing to the right server, not literally "license@server"), with pretty much the same results:
___________________________________________________________________________________________________
$ export ALTAIR_LICENSE_PATH=license@server
$ /apps/HyperWorks/2022.2/altair/scripts/hmbatch -tcl Batch_Model_Check.tcl -nobg
$ Altair HyperMesh v2022.2.0.27
Copyright (C)1990-2022 - Altair Engineering, Inc. All Rights Reserved.
Contains trade secrets of Altair Engineering, Inc. Copyright notice does not
imply publication. Decompilation or disassembly of this software is strictly
prohibited.
Graphics: batch
License Path: license@server
___________________________________________________________________________________________________
Is there something wrong with the command I am using? I am following the exact recommendations provided on this page to run the tcl in batch mode: HyperMesh Batch Startup Options (altair.com)
Please let me know if you need any additional details or if there is anything else you need from my end!
Thanks!