My guess is: right now OpenMP is used just for the RHS assembly, and perhaps this part is cheap compared to the other stages of the solution process such internal interactions of gmres, vector multiplications,...
Miguel > On Oct 23, 2026, at 4:03 PM, Matthew Knepley <[email protected]> wrote: > > On Fri, Oct 23, 2026 at 9:25 AM Miguel Molinos <[email protected] > <mailto:[email protected]>> wrote: >> Hi Matt, >> >> MareNostrum is based on SLURM too. I think the problem is not in the >> resource allocation, but in the code itself. > > Okay, you asked for 50 tasks, so you got exactly what you asked for from MPI. > I am guessing that you also got the number of OpenMP threads that you asked > for. Why do think think something went wrong? > > Thanks, > > Matt > >> Miguel >> >> #!/bin/bash >> >> # Nombre del trabajo >> #SBATCH --job-name=Bicrystal-FeHx-S5-310-001 >> >> # Directorio de trabajo >> #SBATCH --chdir=. >> >> # Archivo de salida >> #SBATCH --output=batch-%x-%j.out >> >> # Archivo de errores >> #SBATCH --error=batch-%x-%j.err >> >> # Partición a utilizar >> #SBATCH --partition=standard >> >> # Tiempo máximo de ejecución (horas:minutos:segundos) >> #SBATCH --time=24:00:00 >> >> # Número total de tareas MPI >> #SBATCH —ntasks=50 >> >> # Número máximo de CPUs por task >> #SBATCH --cpus-per-task=20 >> >>> On Oct 23, 2026, at 3:05 PM, Matthew Knepley <[email protected] >>> <mailto:[email protected]>> wrote: >>> >>> SLURM >> > > > > -- > What most experimenters take for granted before they begin their experiments > is infinitely more interesting than any results to which their experiments > lead. > -- Norbert Wiener > > https://urldefense.us/v3/__https://www.cse.buffalo.edu/*knepley/__;fg!!G_uCfscf7eWS!bJWAbrTw8l9Rw7nBocFBfAgOSmQ8cx-J43RJeb4syniInOOHIYfEDgu4YTI7n7QsZO4WNTVrh0zqaFPxSN5HENUi$ > > <https://urldefense.com/v3/__http://www.cse.buffalo.edu/*knepley/__;fg!!D9dNQwwGXtA!WAriVjoktYxUyxk1eJ27HLZQ09P7D7XHOFxJMTI6SVXSSp1X3uac9_nvDLdC2WC6rZHgcb2dg_KHazY$ > >
