[ET Trac] #2670: Refinement prolongation: All points must have been received

Roland Haas trac-noreply at einsteintoolkit.org
Tue Nov 29 23:39:43 CST 2022


#2670: Refinement prolongation: All points must have been received

 Reporter: 
   Status: new
Milestone: ET_2022_05
  Version: ET_2022_05
     Type: bug
 Priority: major
Component: Carpet

Comment (by Roland Haas):

The variable that \(usually\) controls how many threads are used is called `OMP_NUM_THREADS` . `CACTUS_NUM_THREADS` is a copy that records the number of threads requested from simfactory. In case something interferes with simfactory \(mpirun sometimes does this, or SLURM, or Cray’s alps system\) then Cactus / Carpet can used `CACTUS_NUM_THREADS` to detect this. More or less what you see \(only it would produce an error instead of just a warning\).

If _neither_ `OMP_NUM_THREADS` nor `CACTUS_NUM_THREADS` is set then OpenMP would default to the total number of cores for the number of threads \(ie 24\) and Carpet would output such an error message.

Some MPI stacks \(eg OpenMPI, note the “I” at the end\) can be configured to not pass environment variables to the Cactus executable. They may need to be given an explicit list of environment variables to pass to Cactus using the `-x` option. See eg: [https://bitbucket.org/simfactory/simfactory2/src/master/mdb/runscripts/cygwin.run](https://bitbucket.org/simfactory/simfactory2/src/master/mdb/runscripts/cygwin.run) where you can see the various `-x` options in the mpirun line. I would give adding those a try.

‌

--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2670/refinement-prolongation-all-points-must
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.einsteintoolkit.org/pipermail/trac/attachments/20221130/729d2f33/attachment.html 


More information about the Trac mailing list