-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Andrey Latyshev
committed
Jan 21, 2025
1 parent
e5e0da7
commit 41646c6
Showing
3 changed files
with
38 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,3 +16,5 @@ build/ | |
*.synctex.gz | ||
*.tdo | ||
*.toc | ||
|
||
*.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/bash -l | ||
#SBATCH -N 1 | ||
#SBATCH --ntasks-per-node=4 | ||
#SBATCH --cpus-per-task=1 | ||
#SBATCH --time=0-02:00:00 | ||
#SBATCH -p batch | ||
|
||
#SBATCH --job-name=mohr_coulomb | ||
#SBATCH --chdir=slurm_output/ | ||
|
||
echo "== Starting run at $(date)" | ||
echo "== Job name: ${SLURM_JOB_NAME}" | ||
echo "== Job ID: ${SLURM_JOBID}" | ||
echo "== Node list: ${SLURM_NODELIST}" | ||
echo "== Submit dir: ${SLURM_SUBMIT_DIR}" | ||
echo "== Number of tasks: ${SLURM_NTASKS}" | ||
|
||
spack env activate fenicsx-v09 | ||
cd ~/dolfinx-external-operator/doc/demo | ||
|
||
srun -c 1 --exclusive -n $SLURM_NTASKS python demo_plasticity_mohr_coulomb_mpi.py --N 50 | ||
|
||
echo "" | ||
echo "== Finished at $(date)" |