File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed
two-scale-heat-conduction Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ #
3+ # Job name:
4+ # SBATCH -J multi-precice
5+ #
6+ # Error and Output files
7+ # SBATCH -o ./%x.%j.out
8+ # SBATCH -e ./%x.%j.err
9+ #
10+ # Working directory:
11+ # SBATCH -D ./
12+ #
13+ # Notification and type
14+ # SBATCH --mail-type=END
15+ # SBATCH --mail-user=ishaan.desai@ipvs.uni-stuttgart.de
16+ #
17+ # Wall clock limit:
18+ # SBATCH --time=01:00:00
19+ #
20+ # Compute resources
21+ # SBATCH --nodes=1
22+ # SBATCH --ntasks-per-node=33
23+ # SBATCH --exclusive
24+
25+ echo " SLURM_NNODES" =$SLURM_NNODES
26+ echo " working directory=" $SLURM_SUBMIT_DIR
27+
28+ # load the modules you need
29+ # module purge
30+ module load ipvs-epyc/gcc/10.2 ipvs-epyc/openmpi/4.0.4-gcc-10.2 ipvs-epyc/python/3.8.5 ub2004/libxml2/2.9.10 ub2004/boost/1.75.0
31+ # module list
32+
33+ echo " Launching Nutils macro solver"
34+ cd macro-nutils/
35+ mpiexec -n 1 --bind-to core python3 macro.py verbose=2 & > log_macro.log &
36+
37+ cd ..
38+
39+ echo " Launching Micro Manager"
40+ cd micro-nutils/
41+ mpiexec -n 32 --bind-to core micro-manager-precice micro-manager-config.json & > log_micro.log
42+
43+ echo " Simulation completed."
You can’t perform that action at this time.
0 commit comments