You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, Antares Web is able to handle scenarios where Antares Launcher provides the entire study archive, including the results in the study's output folder.
Antares Web is able to take into account the case where results are stored in a sub-folder, e.g. output/20230914-1918eco, but also the case where results are provided in a ZIP archive, e.g. output/20230914-1918eco.zip.
However, Antares Web does not have the capacity to handle the situation where the archive does not contain the entire study, but only the simulation results in the form of a compressed archive.
This is particularly the case when using the -z option in Antares Solver.
Proposed Solution
The aim of this feature request is to modify Antares Web to take account of this new scenario in addition to the existing scenarios.
Specifically, the SlurmLauncher._import_study_output method (which is an implementation detail) needs to be modified to take into account the case where the directory path self.local_workspace / STUDIES_OUTPUT_DIR_NAME / job_id represents a compressed archive of results instead of a entire study.
The old behavior should also be retained, i.e.
where the directory path self.local_workspace / STUDIES_OUTPUT_DIR_NAME / job_id is a complete study containing an output sub-folder.
Developer Notes
In order to test this evolution, we need to use a version of the launchAntares.sh script that exports only the results, not the entire study.
The text was updated successfully, but these errors were encountered:
Processus de rapatriement des résultats de Calin vers AntaresWeb:
Quand l'étude est finie et revient de Calin, on reçoit un zip dans le slurm workspace.
Pour exporter l’output vers AntaresWeb, il faut:
Si le zip reçu est une étude (étude zippée contenant un output non zippé): Cas actuel avec antares-solver et xpansion avec analyse de sensitivité
On la dézippe
On zippe l’output
On l’exporte du slurm workspace vers AntaresWeb
Si le zip reçu est une étude (étude zippée contenant un output zippé): Cas actuel avec xpansion sans analyse de sensi
On la dézippe
On dézippe l’output et on le rezippe (totalement stupide mais c'est pour ajouter le "updated_links" qui provient du dossier input je crois. Ça pourrait être remplacé par un zipFile.write(... , "a") mais ça serait pour un autre dev).
On l’exporte du slurm workspace vers AntaresWeb
Si le zip reçu est un output (output zippé): Cas de l’option -z du solver
On devrait juste faire le c. et changer son nom (enlever le «finished_» au début et le "job_id" à la fin) : Nécessite des modifications dans antares-launcher et dans AntaREST
Si l’option auto_unzip est activée on le dézippe sur AntaresWeb.
Problem Statement
Currently, Antares Web is able to handle scenarios where Antares Launcher provides the entire study archive, including the results in the study's
output
folder.Antares Web is able to take into account the case where results are stored in a sub-folder, e.g.
output/20230914-1918eco
, but also the case where results are provided in a ZIP archive, e.g.output/20230914-1918eco.zip
.However, Antares Web does not have the capacity to handle the situation where the archive does not contain the entire study, but only the simulation results in the form of a compressed archive.
This is particularly the case when using the
-z
option in Antares Solver.Proposed Solution
The aim of this feature request is to modify Antares Web to take account of this new scenario in addition to the existing scenarios.
Specifically, the
SlurmLauncher._import_study_output
method (which is an implementation detail) needs to be modified to take into account the case where the directory pathself.local_workspace / STUDIES_OUTPUT_DIR_NAME / job_id
represents a compressed archive of results instead of a entire study.The old behavior should also be retained, i.e.
where the directory path
self.local_workspace / STUDIES_OUTPUT_DIR_NAME / job_id
is a complete study containing anoutput
sub-folder.Developer Notes
launchAntares.sh
script that exports only the results, not the entire study.The text was updated successfully, but these errors were encountered: