Can you export files from a DOE without running it
I want to export a DOE to run it on the server instead of running everything locally. It will save me some run time as my machine is not as strong as the server. Can this be done ?
Best Answer
-
Hi @ChrisV,
Thank you for the response.
Adding the HPC/Server script in Design Explorer is the most straight forward option for executing the DOE/Optimization from Design Explorer.
However, if you insist on using the DOE folder structure & then executing the respective solver files from within the individual DOE run folders using some automation on the server, then, kindly follow the below process.
Step 1: Enable 'Write solver files only' & click on 'Export' (as shown below).
Step 2 : Go to the Design Explorer study folder & open the HyperStudy file (.hstudy) in the same version as the Design Explorer.
Step 3: In the HyperStudy setup, click on DOE_1>Specifications & click on 'Apply'. Then, under 'Evaluate', select only 'Write Input Files' option. Then, click on 'Evaluate Tasks'.
Step 4 : Once done, the solver files will be written in the respective DOE folders (as shown below), one can now execute the solver files from individual DOE run folders using automation scripts locally or on the server.
Kind Regards
Garima Singh
0
Answers
-
When running the approach in HSt you can just select 'Write' option, and not 'Execute'.
This would only write all the input files from your DOE into the specific HSt folder structure.
But, depending on your HPC structure, it would be possible to create a custom solver script to copy the models into the HPC, and submit these jobs and copy results back. It needs scripting anyway, and a deeper knowledge of your HPC structure.
0 -
Ah, sorry, I forgot to mention some things. I'm running the DOE using Hypermesh 2023, I just need to export the files not run it inside Hypermesh. The server is what I usually use to run all my opti jobs, so it's not really the issue here
0 -
Hi @ChrisV,
Kindly let us know the product being used for the DOE creation. Are you using Design Explorer, SimLab or HyperStudy for creating the DOE?
Based on the response, we will suggest accordingly on the query.
Many thanks.
Kind Regards
Garima Singh
0 -
Hi Garima,
I'm using Design Explorer under HM 2023.1
Thanks,
Chris
0 -
Hi @ChrisV,
Thank you for the response.
Recommendations for the Design Explorer query are as follows:
1. By default, DOE/Optimization explorations will be evaluated locally using the solvers installed along with HyperMesh.
2. One can optionally register & use different scripts of the solvers which are installed on the server.
3. The default solver or any manually registered solver scripts will appear in the Solver field of the Evaluate dialog.
3. The process for manually registering a solver script using 'Register Solver Script' option in Design Explorer is as shown below:
a. If you are using Altair Access as the HPC/Server, you can integrate Access Desktop directly in Design Explorer. Do you use Altair Access as the HPC/Server?
b. Else, you have to integrate the UNIX solver script (for your HPC) in Design Explorer.
Kind Regards
Garima Singh
0 -
Hi Garima,
So, from all that, I'm getting that the answer is no, you can't output the DOE files without running it in the HM interface.
I can set up my run script on my side, but that wasn't the question here. I just need to get the file/folder structure from the DOE so that I can use my script to submit them on my HPC server (which is not an Altair Access server).
I guess I will have to create a script to create all my runs as well by altering the parameters for my DOE and run it outside HM (it's just a create folder, copy and modify the deck with the parameters and submit the run to the server). Is this something you can help with ? Otherwise I will work on it myself.
Thanks,
Chris
0 -
i'm pretty confident that we have an option to only export the study from HM, generating a .Hstudy for hyperstudy.
You could export it, and check 'write' only inside the DOE. Not so direct, but I think you will get what you need.
0 -
Hi @ChrisV,
Thank you for the response.
Adding the HPC/Server script in Design Explorer is the most straight forward option for executing the DOE/Optimization from Design Explorer.
However, if you insist on using the DOE folder structure & then executing the respective solver files from within the individual DOE run folders using some automation on the server, then, kindly follow the below process.
Step 1: Enable 'Write solver files only' & click on 'Export' (as shown below).
Step 2 : Go to the Design Explorer study folder & open the HyperStudy file (.hstudy) in the same version as the Design Explorer.
Step 3: In the HyperStudy setup, click on DOE_1>Specifications & click on 'Apply'. Then, under 'Evaluate', select only 'Write Input Files' option. Then, click on 'Evaluate Tasks'.
Step 4 : Once done, the solver files will be written in the respective DOE folders (as shown below), one can now execute the solver files from individual DOE run folders using automation scripts locally or on the server.
Kind Regards
Garima Singh
0 -
that worked, thank you!
Cheers,
Chris
0