Skip to content

Commit 705abd6

Browse files
committed
updated batchscripts
1 parent 5433013 commit 705abd6

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

create_UVgrid.cosma.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
#SBATCH -p cosma6
44
#SBATCH --job-name=creategrid_UV
55
#SBATCH -t 0-1:00
6-
#SBATCH --ntasks 16
6+
#SBATCH --ntasks 12
77
#SBATCH --cpus-per-task=1
8-
#SBATCH --ntasks-per-node=1
8+
#SBATCH --ntasks-per-node=2
99
#SBATCH -o logs/std_output.%J
1010
#SBATCH -e logs/std_error.%J
1111

@@ -15,7 +15,7 @@ module load python/3.6.5 gnu_comp/7.3.0 openmpi/3.0.1 parallel_hdf5/1.10.3
1515

1616
source ./venv_fl/bin/activate
1717

18-
mpiexec -n 16 python3 creategrid_and_fit.py Gridgen
18+
mpiexec -n 12 python3 creategrid_and_fit.py Gridgen
1919

2020
echo "Job done, info follows..."
2121
sacct -j $SLURM_JOBID --format=JobID,JobName,Partition,MaxRSS,Elapsed,ExitCode

download_particles.cosma.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ mpiexec -n 16 python3 download_methods.py $SLURM_ARRAY_TASK_ID ${array[5]} FLARE
3232

3333
### For PERIODIC boxes: REF and AGNdT9, change ntasks and time as required (REF at z=5 required ~1.45hrs)
3434
# array=(002_z009p993 003_z008p988 004_z008p075 005_z007p050 006_z005p971 008_z005p037)
35-
# mpiexec -n 16 python3 download_methods.py $SLURM_ARRAY_TASK_ID ${array[$SLURM_ARRAY_TASK_ID]} REF
35+
# mpiexec -n 20 python3 download_methods.py $SLURM_ARRAY_TASK_ID ${array[$SLURM_ARRAY_TASK_ID]} REF
3636

3737

3838
echo "Job done, info follows..."

modules.sh

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module purge
2+
module load gnu_comp/7.3.0 openmpi/3.0.1 hdf5/1.10.3 python/3.6.5
3+
source venv_fl/bin/activate

0 commit comments

Comments
 (0)