Skip to content
Discussion options

You must be logged in to vote

Thank you for the response. For clarification I got the infinite hanging for any number of ranks >1.

I figured out that I should have been calling MPI inside the container, not outside. Calling it outside boots up 40 main ranks that don't know each other exist. The lock contention on compiled files is what I believe was causing the infinite hanging.

This script is a working version of the above:

#!/bin/sh
#SBATCH --account maths
#SBATCH --time=10:00:00
#SBATCH --nodes=1 --ntasks=40
#SBATCH --mem=64G
#SBATCH --job-name="test_firedrake"
#SBATCH --mail-user=...
#SBATCH --mail-type=ALL
#SBATCH --output=firedrake_%j.out
#SBATCH --error=firedrake_%j.err

# 1. Setup Apptainer environment
mkdir -…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@JHopeCollins
Comment options

@TrueCP6
Comment options

Answer selected by TrueCP6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants