Skip to content
Snippets Groups Projects
Commit 3a33a474 authored by jourdain's avatar jourdain
Browse files

Merge branch 'develop' of https://dci-gitlab.cines.fr/dci/abs into develop

parents 1bc4da8e a6241f96
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
#SBATCH --job-name=RamsesLarge
#SBATCH --nodes=147
#SBATCH --ntasks=12800
#SBATCH --cpus-per-task=2
#SBATCH --threads-per-core=1
#SBATCH --time=00:30:00
#SBATCH --output=ramses3dLarge-BDW28-%j.out
#SBATCH --error=ramses3dLarge-BDW28-%j.err
#SBATCH --constraint=BDW28
set -x
#!/bin/bash
#MSUB -r PROD_BIG
#MSUB -n 12800
#MSUB -c 2
#MSUB -T 1800
#MSUB -o PROD_BIG.o_%J
#MSUB -e PROD_BIG.e_%J
#MSUB -A gch0412
#MSUB -q rome
source ./env
SIMU=$bench_dir/PROD_BIG/ # Working directory
NML="cosmo.nml" # Namelist file
RAMSES=$ramses_dir/ramses/bin/ramses3d # ramses executable
DATE=`date +"%m-%d-%y-%H-%M-%S"`
cd $SIMU
srun --mpi=pmi2 -K1 --resv-ports -n $SLURM_NTASKS $RAMSES $NML > $SIMU'/run_'$DATE.log
#!/bin/bash
#SBATCH --job-name=RamsesMedium
#SBATCH --nodes=147
#SBATCH --ntasks=4096
#SBATCH --threads-per-core=1
#SBATCH --time=00:30:00
#SBATCH --output=ramses3dMedium-BDW28-%j.out
#SBATCH --constraint=BDW28
set -x
source ./env
cp ../../PROD/cosmo.nml $bench_dir/testcase_medium/.
SIMU=$bench_dir/testcase_medium/ # Working directory
NML="cosmo.nml" # Namelist file
RAMSES=$ramses_dir/ramses/bin/ramses3d # ramses executable
DATE=`date +"%m-%d-%y-%H-%M-%S"`
cd $SIMU
srun --mpi=pmi2 -K1 --resv-ports -n $SLURM_NTASKS $RAMSES $NML > $SIMU'/run_'$DATE.log
#!/bin/bash
#SBATCH --job-name=DEBUG
#SBATCH --nodes=11
#SBATCH --nodes=10
#SBATCH --ntasks=256
#SBATCH --threads-per-core=1
#SBATCH --time=00:30:00
#SBATCH --output=ramses3d-BDW28-%j.out
#SBATCH --error=ramses3d-BDW28-%j.err
#SBATCH --output=ramses3dDebug-BDW28-10N-%j.out
#SBATCH --constraint=BDW28
set -x
......
Test case presentation
======================
The small test case of the template application is doing nothing but watching videos on Youtube all day long.
It uses no DFT method, nor spectral method or anything else. The FFTW is widely not use for this case.
Case profile
------------
A profiling of a small specfem3D test case performed on Occigen on 1 haswell node (64GB) is available in this folder:
`profile_occigen-hsw.html"
It has been generated using Intel APS (infos: https://software.intel.com/sites/products/snapshots/application-snapshot/)
#!/bin/bash
source ../machines/occigen-bdw/env
echo "************************************************************"
echo "* Prepare medium case in $bench_dir"
echo "************************************************************"
mkdir -p $bench_dir/testcase_medium/
if [[ $HOSTNAME = *"occigen"* ]]; then
tar xvf /store/CINES/dci/SHARED/abs/ramses/input.tar -C $bench_dir/testcase_medium/.
elif [[ $HOSTNAME = *"jean-zay"* ]]; then
tar xvf $SCRATCH/abs/ramses/input.tar -C $bench_dir/testcase_medium/.
elif [[ $HOSTNAME = *"irene"* ]]; then
tar xvf $CCCSCRATCHDIR/abs/ramses/input.tar -C $bench_dir/testcase_medium/.
else
echo "Hostname not recognized: abort"
exit 1
fi
echo "************************************************************"
echo "* End Prepare medium case "
echo "************************************************************"
#!/bin/bash
cd ../machines/occigen-bdw
source ./env
if [ -z "$bench_dir" ]; then
echo "bench_dir missing"
exit 1
fi
sbatch batch_medium.slurm
#!/bin/bash
source ../machines/occigen-bdw/env
cd $bench_dir/PROD/
log_file=`ls -thlx run_* | awk -F " " '{ print $1 }'`
start_t=`grep startup $log_file | awk '{ print $5 }'`
end_t=`grep "Total elapsed time:" $log_file | awk '{ print $4 }'`
perf=`bc -l <<< $end_t-$start_t`
if [ -z "$perf" ] || [ -z "$end_t" ]
then
echo "bench is not validated"
else
echo "bench is validated"
echo "end = $end_t s"
echo "perf = $perf s (total simulation time excluding initialization and i/o)"
fi
This diff is collapsed.
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment