<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Hi Roland,<br>
<br>
Thanks for your reply.<br>
You touch on an important point, i.e the <b>cluster's</b> <b>billing policy</b>, that hadn't crossed my mind.<br>
<br>
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
>From the billing policy of Leonardo, it seems that <b>it is</b> <b>possible to use only a fraction of a node's total CPUs.</b></div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<a class="OWAAutoLink" id="LPlnk971574" href="https://docs.hpc.cineca.it/hpc/hpc_intro.html#billing-policy">https://docs.hpc.cineca.it/hpc/hpc_intro.html#billing-policy</a></div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<b>However</b>, the documentation also stresses that:</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<i>...if a job reserves all of a node’s RAM — even without utilizing all its CPUs — the node becomes unusable for other jobs and is therefore billed accordingly.<br>
<br>
</i></div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
So, apart from the cores requested, <b>should I also try to calculate the RAM requirements?</b></div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
For example, I see that Bruno's "leonardo-dcgp.ini" file specifies:</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<code>memory = 494000</code></div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
And the respective submitscript also has this line:</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<code>#SBATCH --mem 494000MB</code></div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
I note that each node in Leonardo has 512GB of RAM, so that means that <b>the script requests ~94.2% of the RAM.</b></div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
I am not sure I follow the reasoning behind this.<br>
<br>
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
What is the default behavior of SimFactory if I were to remove the above specifications from the config files?</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Because, if by default Simfactory requests/uses all the RAM available in a node, then as far as I understand, it does not make sense to request fewer cores than a full node.<br>
Let me know what you think.<br>
<br>
Best,<br>
Panayotis <br>
<br>
<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Roland Haas <rhaas@mail.ubc.ca><br>
<b>Sent:</b> Friday, September 26, 2025 4:31 PM<br>
<b>To:</b> Bruno Giacomazzo <bruno.giacomazzo@unimib.it><br>
<b>Cc:</b> IOSIF PANAGIOTIS <PANAGIOTIS.IOSIF@units.it>; Einstein Toolkit Users <users@einsteintoolkit.org><br>
<b>Subject:</b> Re: [Users] Inconsistency warnings: cores/threads mismatch [Leonardo cluster]</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Hello all,<br>
<br>
> I never used --cores and I don't know the difference with procs.<br>
<br>
--cores is a synonym for --procs in simfactory. The hope was to avoid<br>
the confusion of "procs" being "Processes" or "Processors". Though it<br>
has been pointed out that the best name would actually be "--threads"<br>
since that is what simfactory actually starts, which then collides with<br>
"--num-threads" (threads per process).<br>
<br>
Does Leonardo actually charge you for partial nodes if you do no use a<br>
full one? Simfactory is mostly written under the assumption (true at<br>
the time) that HPC systems would give you full nodes all the time, so<br>
if you use 1 core or 112 cores of a node, the charge would be the same<br>
(though shared node systems are becoming more common for HPC now [or<br>
again]).<br>
<br>
Yours,<br>
Roland<br>
<br>
-- <br>
My email is as private as my paper mail. I therefore support encrypting<br>
and signing email messages. Get my PGP key from <a href="http://pgp.mit.edu">http://pgp.mit.edu</a> .<br>
</div>
</span></font></div>
</body>
</html>