diff --git a/examples/symba_mars_disk/param.in b/examples/symba_mars_disk/param.in index ae89cd6d4..78c087566 100644 --- a/examples/symba_mars_disk/param.in +++ b/examples/symba_mars_disk/param.in @@ -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 @@ -23,9 +21,9 @@ 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 @@ -33,5 +31,3 @@ MU2KG 1.0 DU2M 1.0 TU2S 1.0 SEED 2 3080983 2220830 -DISCARD_OUT discard.out -ENERGY_OUT energy.out diff --git a/examples/symba_mars_disk/runswiftest.sh b/examples/symba_mars_disk/runswiftest.sh new file mode 100644 index 000000000..96dd99928 --- /dev/null +++ b/examples/symba_mars_disk/runswiftest.sh @@ -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 +