Monitor#
Simulation time#
cloudHPC provides an estimate (ETA) of the total duration of the simulation. It is shown in the Output once the simulation has started, as highlighted in the image below. The ETA is only available for the following software:
- FDS [all versions]
Note
The duration provided is a preliminary estimate and is not a contractual element or a binding quote. The final cost is based on the actual consumption measured at the end of the run.
Manual estimate#
To estimate the duration of a simulation yourself, check how much simulated time is computed in a given amount of real time. Do this after at least 2 hours of run time. For example, suppose you want to simulate 600 seconds and, after 2 hours, 120 seconds have been computed. The simulation advances by about 60 seconds of simulated time per hour, so it will take about 10 hours to reach 600 seconds.
120s : 2h = 60s/h 600s : 60s/h = 10 h
Runtime monitor#
cloudHPC lets you monitor your analysis while it runs and, at the same time, check how the hardware resources (vCPU and RAM) are being used. To open the monitor, click the "View" button of the analysis you want to follow.
The simulation view page shows information about the running analysis and lets you control it. Its sections are briefly explained below.
Simulation output#
The most important window is the simulation output: a real-time log of all the information produced by cloudHPC while your simulation is running. Here you can find:
- Errors and warnings produced by the cloudHPC
- A basic plot of the runtime log of your solver
- Information from cloudHPC about each phase of your analysis
The output is the main window of the simulation view page, as shown in the following image.
Runtime plots#
While your solver runs, cloudHPC plots its most important outputs into charts that are easy to read. Every CSV file generated during the run is automatically plotted. In addition, some software packages produce more advanced outputs:
-
OPENFOAM: cloudHPC automatically generates a chart for each runtime post-processing function enabled in controlDict. Set up the functions you want to monitor before launching the analysis: residuals, maximum pressure/velocity, temperatures, flow rates, etc. The controlDict template already contains residuals, maximum values and yPlus.
-
FDS: the system automatically plots every CSV file written by FDS during the run. To see the results, define &DEVC (devices) and assign them the quantities to monitor, as done in the FDS template.
-
Custom scripts: write your own CSV file during the run to get live charts, as done in the python-script template.
Runtime logs#
Every simulation software writes a log file, which is displayed at runtime in the web app. You can check these logs in two ways:
- In the Output section, which shows a brief summary of the simulation status
- In the Logs section, which lists every log file produced. The logs remain available after the simulation has ended, for reference
Remote desktop#
On enabled accounts, you can access the virtual machine running your simulation via remote desktop. This feature is available on the "view" page of each simulation and gives you access to all the hardware resources of the instance. With it you can:
- monitor the running process
- check the status of the hardware resources
- run your preferred post-processing software such as ParaView, SALOME or Smokeview
The remote desktop is available for all simulations with status RUNNING. To access it, open the "view" page of the simulation and scroll to the bottom of the page.
Hardware monitor#
Besides the solver results, you can monitor vCPU and RAM usage at any time. These charts help you understand whether the computing capacity you selected is sufficient or oversized.
As a general rule, try to always keep at least 1000 MB available on the Free line (red).
SSH Connection#
Advanced users can also connect via SSH to the instance running the simulation. This gives you full control of the running analysis: for example, you can create, edit or delete files.
Note
CFD FEA SERVICE SRL cannot take responsibility for any action performed by users on the instance. In particular, if you stop the simulation or delete the results it produced, we cannot recover them.
Prerequisites#
Info
For security reasons, SSH port 22 is closed for all accounts. To open it for your IP address, contact our support team.
To access running simulations via SSH, make sure you have saved your public key in your profile, as shown in the following image:
To display your public key on Linux-based systems, run the following command in a terminal:
cat .ssh/id_rsa.pub
Connect via SSH#
Once your public key has been saved, connect to a running instance with the following command:
ssh -X -o "StrictHostKeyChecking no" cloudhpc@SIMULATION_IP_ADDRESS
where SIMULATION_IP_ADDRESS is shown on the "view" page of the running analysis. You can do the same with the cloudHPCexec tool by typing:
cloudHPCexec -ssh SIMULATION_ID
