Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Updated symba_mars_disk example input files and added bell cluster ru…
Browse files Browse the repository at this point in the history
…n script.
  • Loading branch information
daminton committed Aug 31, 2021
1 parent bb01ff2 commit cfcbef1
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 10 deletions.
16 changes: 6 additions & 10 deletions examples/symba_mars_disk/param.in
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
!Parameter file for the SyMBA-RINGMOONS test
T0 0.0
TSTOP 100000.0
TSTOP 1.0e12
DT 600.0
CB_IN cb.in
PL_IN mars.in
TP_IN tp.in
IN_TYPE ASCII
ISTEP_OUT 10
ISTEP_DUMP 10
!BIN_OUT bin.dat
!OUT_TYPE REAL8
BIN_OUT bin.nc
OUT_TYPE NETCDF_DOUBLE
ISTEP_OUT 1
ISTEP_DUMP 1
BIN_OUT bin.nc
PARTICLE_OUT particle.dat
OUT_TYPE NETCDF_DOUBLE
OUT_FORM XVEL
OUT_STAT REPLACE
CHK_CLOSE yes
Expand All @@ -23,15 +21,13 @@ CHK_QMIN 3389500.0
CHK_QMIN_COORD HELIO
CHK_QMIN_RANGE 3389500.0 338950000000.0
EXTRA_FORCE no
BIG_DISCARD no
RHILL_PRESENT yes
GMTINY 1000.0
MIN_GMFRAG 10.0
ENERGY yes
FRAGMENTATION yes
ROTATION yes
MU2KG 1.0
DU2M 1.0
TU2S 1.0
SEED 2 3080983 2220830
DISCARD_OUT discard.out
ENERGY_OUT energy.out
33 changes: 33 additions & 0 deletions examples/symba_mars_disk/runswiftest.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#!/bin/zsh -l
#SBATCH -A daminton
#SBATCH --nodes=1
#SBATCH --ntasks=1
#SBATCH --time=14-00:00:00
#SBATCH --ntasks-per-node=1
#SBATCH --cpus-per-task=12
#SBATCH --job-name=high_high
#SBATCH --no-requeue
#SBATCH -o %x.out
#SBATCH -e %x.err
cd $SLURM_SUBMIT_DIR

module load utilities monitor
#module load gcc/10.2.0
#netcdf-fortran/4.5.3

# track per-code CPU load
monitor cpu percent --all-cores >cpu-percent.log &
CPU_PID=$!

# track memory usage
monitor cpu memory >cpu-memory.log &
MEM_PID=$!


export OMP_NUM_THREADS=12
export KMP_STACKSIZE=2G
./swiftest_driver symba param.in

# shut down the resource monitors
kill -s INT $CPU_PID $MEM_PID

0 comments on commit cfcbef1

Please sign in to comment.