<html><head></head><body><div class="ydp5c072dfyahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div><div dir="ltr" data-setdir="false"><div><div dir="ltr" data-setdir="false">Evidently the place to change the number of processes is here:</div><div><br></div><div>%%bash</div><div># start simulation</div><div>./simfactory/bin/sim create-submit tov_ET \</div><div> --parfile=par/tov_ET.par --procs=14 --num-threads=14 --walltime=0:20:0</div></div><div><br></div><div dir="ltr" data-setdir="false">At first I didn't see anything happening, but the CPU was getting hot (about 65C), so I suspected that something was going on, and was able to obtain the star plot. Perhaps I can now follow some of the erudite discussions in this forum.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">I also prefer to use Linux natively for such projects, as I did here (Ubuntu).</div><br></div><div><br></div><div class="ydp5c072dfsignature"><p><br></p><p> </p></div></div>
<div><br></div><div><br></div>
</div><div id="yahoo_quoted_4008660808" class="yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
On Monday, October 19, 2020, 09:50:52 AM PDT, Roland Haas <rhaas@illinois.edu> wrote:
</div>
<div><br></div>
<div><br></div>
<div><div dir="ltr">Hello Robert,<br clear="none"><br clear="none">does it actually abort? Symmetric multiprocessing is tricky to get<br clear="none">right automatically and the automated CPU detection in simfactory that<br clear="none">runs during setup-silent is designed to basically ignore them.<br clear="none"><br clear="none">The HelloWorld code is very simple and does not make any attempt at<br clear="none">getting it "right". As long as you get only "Warnings" there is nothing<br clear="none">to worry about.<br clear="none"><br clear="none">"Real" simulations usually use the "hwloc" and "SystemTopology" thorns<br clear="none">which query the CPU and do a (much) better job at laying out threads<br clear="none">onto physical cores and hardware threads. Codes in Cactus are typically<br clear="none">of types where SMT gives only minimal benefit so is usually only<br clear="none">worthwhile on big clusters and large production runs but not on<br clear="none">workstations used for testing and debugging so the automated CPU<br clear="none">detection code is simfactory does not handle it (or at least chooses to<br clear="none">err on the side of caution).<br clear="none"><br clear="none">Yours,<br clear="none">Roland<div class="yqt8853369748" id="yqtfd87828"><br clear="none"><br clear="none">> I have run CactusTutorial.ipynb and obtained output for Hello World. However, when the characteristics of my computer (i9-7940X) were guessed, apparently something went wrong. I obtained the following output:<br clear="none">> Warning: Too many threads per process specified: specified num-threads=14 (ppn-used is 14)Warning: Total number of threads and number of threads per process are inconsistent: procs=1, num-threads=14 (procs*num-smt must be an integer multiple of num-threads)Warning: Total number of threads and number of cores per node are inconsistent: procs=1, ppn-used=14 (procs must be an integer multiple of ppn-used)+ set -e+ cd /home/robert/simulations/helloworld/output-0000-active+ echo Checking:+ pwd+ hostname+ date+ echo Environment:+ export CACTUS_NUM_PROCS=1+ export CACTUS_NUM_THREADS=14+ export GMON_OUT_PREFIX=gmon.out+ export OMP_NUM_THREADS=14<br clear="none">> I can reduce the number of threads, but I'd rather not. I don't know enough yet about how this software works to set procs, though: it is not explicitly mentioned as such in the machine database. How would I do this?</div><br clear="none">> <br clear="none">> <br clear="none">> <br clear="none">> <br clear="none"><br clear="none"><br clear="none">-- <br clear="none">My email is as private as my paper mail. I therefore support encrypting<br clear="none">and signing email messages. Get my PGP key from <a shape="rect" href="http://pgp.mit.edu " target="_blank">http://pgp.mit.edu </a><div class="yqt8853369748" id="yqtfd07890">.</div></div></div>
</div>
</div></body></html>