Skip to content
Snippets Groups Projects
Commit 86f37134 authored by ANONYMIZED's avatar ANONYMIZED
Browse files

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

parents df2f8604 55c48f28
No related branches found
No related tags found
No related merge requests found
Showing
with 19299 additions and 32 deletions
#!/bin/bash
cd /tmp/abinit-8.10.3
make distclean
module load intel/19.4 intelmpi/2019.4.243
export CPATH=${MKLROOT}/include:$CPATH
export FCFLAGS_OPENMP="-fopenmp"
export FCFLAGS=' -extend-source -noaltparam -nofpscomp -fopenmp'
env CC="mpicc -fopenmp -fPIC" CXX="mpiCC -fopenmp -fPIC" F77="mpif90 -fopenmp -fPIC" F90="mpif90 -fopenmp -fPIC" FC="mpif90 -fopenmp -fPIC" ./configure --disable-debug --enable-mpi --disable-xml --with-linalg-flavor="mkl+scalapack" --with-linalg-libs="-L${MKLROOT}/lib/intel64 -lmkl_scalapack_lp64 -lmkl_blacs_openmpi_lp64 -mkl" --with-fft-flavor=fftw3 --with-fft-libs="-lfftw3xf_intel_pic -mkl" --with-dft-flavor="libxc+atompaw+wannier90" --enable-mpi-io --with-trio-flavor="netcdf" --enable-gw-dpc="no" --with-tardir=/tmp/tardir --prefix=$HOME/ABINIT --enable-openmp --enable-optim
export FCFLAGS='-mtune=native -march=native -fPIC -extend-source -noaltparam -nofpscomp -fopenmp'
env CC="mpicc" CXX="mpicxx" F77="mpif90" F90="mpif90" FC="mpif90" ./configure --disable-debug --enable-mpi --disable-xml --with-linalg-flavor="mkl+scalapack" --with-linalg-libs="-L${MKLROOT}/lib/intel64 -lmkl_scalapack_lp64 -lmkl_blacs_intelmpi_lp64 -mkl" --with-fft-flavor=fftw3 --with-fft-libs="-lfftw3xf_intel -mkl" --with-dft-flavor="libxc+atompaw+wannier90" --enable-mpi-io --with-trio-flavor="netcdf" --enable-gw-dpc="no" --with-tardir=/tmp/tardir --prefix=$HOME/ABINIT --enable-openmp --enable-optim
make -j 40
make install
......@@ -2,14 +2,13 @@
mkdir -p /tmp/tardir
cd /tmp/tardir
wget http://forge.abinit.org/fallbacks/atompaw-4.0.1.0.tar.gz
wget http://forge.abinit.org/fallbacks/libxc-3.0.0.tar.gz
wget http://forge.abinit.org/fallbacks/netcdf-4.1.1.tar.gz
wget http://forge.abinit.org/fallbacks/wannier90-2.0.1.1.tar.gz
wget -nc http://forge.abinit.org/fallbacks/atompaw-4.0.1.0.tar.gz
wget -nc http://forge.abinit.org/fallbacks/libxc-3.0.0.tar.gz
wget -nc http://forge.abinit.org/fallbacks/netcdf-4.1.1.tar.gz
wget -nc http://forge.abinit.org/fallbacks/wannier90-2.0.1.1.tar.gz
cd ..
mkdir tarballs
wget https://www.abinit.org/sites/default/files/packages/abinit-8.10.3.tar.gz
cd /tmp
wget -nc --no-check-certificate https://www.abinit.org/sites/default/files/packages/abinit-8.10.3.tar.gz
tar xf abinit-8.10.3.tar.gz
cd abinit-8.10.3
#!/bin/bash
#MSUB -n 128 # Number of MPI processes
#MSUB -c 16 # Number of threads
#MSUB -T 19000 # Time requested in seconds
#MSUB -r abinit_test_ti255 # Name of the job
#MSUB -m work,scratch
#MSUB -q rome # Partition
#MSUB -A tgcc0090 # Project id
# M S U B -Q test # TEST QoS
module purge
module load datadir/own
module load datadir/cines
module load dfldatadir/own
module load flavor/buildmpi/openmpi/4.0
module load flavor/openmpi/standard
module load flavor/buildcompiler/intel/19
module load feature/mkl/lp64
module load feature/mkl/sequential
module load mkl/19.0.5.281
module load licsrv/intel
module load c/intel/19.0.5.281
module load c++/intel/19.0.5.281
module load fortran/intel/19.0.5.281
module load intel/19.0.5.281
module load feature/openmpi/net/auto
module load hwloc/2.0.4
module load sharp/2.0
module load hcoll/4.4.2938
module load ucx/1.7.0
module load mpi/openmpi/4.0.2
# set max 2GB stack
ulimit -s 2000000
#export KMP_DETERMINISTIC_REDUCTION=1
# IRENE SKYLAKE OMP_NUM_THREADS=12 Proc. 0 individual time (sec): cpu= 28702.0 wall= 3602.4
# OCCIGEN OMP_NUM_THREADS=1 - Proc. 0 individual time (sec): cpu= 18945.1 wall= 18962.5
# OCCIGEN OMP_NUM_THREADS=2 - Proc. 0 individual time (sec): cpu= 36255.7 wall= 18135.0
# IRENE OMP_NUM_THREADS=1 - Proc. 0 individual time (sec): cpu= 17933.7 wall= 17980.9
# IRENE OMP_NUM_THREADS=11 Proc. 0 individual time (sec): cpu= 59060.5 wall= 5376.3
# IRENE OMP_NUM_THREADS=12 Proc. 0 individual time (sec): cpu= 61102.7 wall= 5096.8
export OMP_STACKSIZE=200M
export KMP_LIBRARY=turnaround
export KMP_BLOCKTIME=infinite
#export KMP_AFFINITY=verbose,granularity=fine,compact,1,0
export KMP_AFFINITY=disabled
export OMP_NUM_THREADS=12
export MKL_NUM_THREADS=12
export PATH=$CCCSCRATCHDIR/AO2020/ABINIT/bin:$PATH
export LD_LIBRARY_PATH=$CCCSCRATCHDIR/AO2020/ABINIT/lib:$LD_LIBRARY_PATH
export MKL_DEBUG_CPU_TYPE=5
#export MKL_CBWR=AVX2
export OMP_NESTED=TRUE
export MKL_DYNAMIC=FALSE
export OMP_DYNAMIC=FALSE
ccc_mprun abinit -i abinit_test_ti255.files > abinit_test_ti255.log 2>&1
# top - 17:04:29 up 1 day, 21:26, 1 user, load average: 8.00, 8.01, 8.05
# Tasks: 2523 total, 9 running, 2514 sleeping, 0 stopped, 0 zombie
# %Cpu(s): 3.2 us, 0.1 sy, 0.0 ni, 96.7 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
# KiB Mem : 26324713+total, 23950019+free, 20492052 used, 3254892 buff/cache
# KiB Swap: 0 total, 0 free, 0 used. 23936841+avail Mem
# PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ P COMMAND
# 171622 ciroube 20 0 6489408 1.5g 64312 R 94.7 0.6 129:48.17 0 abinit
# 171623 ciroube 20 0 6555448 1.5g 65416 R 94.7 0.6 129:48.28 16 abinit
# 171624 ciroube 20 0 6507224 1.6g 63840 R 94.7 0.6 129:48.18 32 abinit
# 171625 ciroube 20 0 6468896 1.5g 63660 R 94.7 0.6 129:48.29 48 abinit
# 171626 ciroube 20 0 6524128 1.5g 63688 R 94.7 0.6 129:47.53 64 abinit
# 171627 ciroube 20 0 6468332 1.5g 64804 R 94.7 0.6 129:47.01 80 abinit
# 171628 ciroube 20 0 6470816 1.5g 61000 R 94.7 0.6 129:47.28 96 abinit
# 171629 ciroube 20 0 6384584 1.5g 59800 R 94.7 0.6 129:51.65 112 abinit
# 179634 ciroube 20 0 174836 4704 1568 R 21.1 0.0 0:00.07 70 top
# Mem[|||||||||||||* 21.5G/251G] Tasks: 52, 36 thr; 9 running
# Swp[ 0K/0K] Load average: 8.04 8.03 8.05
# Avg[#####* 3.6%] Uptime: 1 day, 21:49:39
# Loa[|||||||||||| 8.04]
# Loa[||||||||||||############************ 8.04/8.03/8.05]
# PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command
# 171623 ciroube 20 0 6658M 1812M 67328 R 114. 0.7 2h32:36 /ccc/scratch/cont003/cines/ciroube/AO2020/ABINIT/bin/abinit -i abinit_test_ti255.files
# 171625 ciroube 20 0 6574M 1809M 65524 R 114. 0.7 2h32:37 /ccc/scratch/cont003/cines/ciroube/AO2020/ABINIT/bin/abinit -i abinit_test_ti255.files
# 171627 ciroube 20 0 6573M 1819M 66672 R 114. 0.7 2h32:35 /ccc/scratch/cont003/cines/ciroube/AO2020/ABINIT/bin/abinit -i abinit_test_ti255.files
# 171629 ciroube 20 0 6491M 1808M 61840 R 114. 0.7 2h32:40 /ccc/scratch/cont003/cines/ciroube/AO2020/ABINIT/bin/abinit -i abinit_test_ti255.files
# 171622 ciroube 20 0 6594M 1810M 65920 R 85.5 0.7 2h32:36 /ccc/scratch/cont003/cines/ciroube/AO2020/ABINIT/bin/abinit -i abinit_test_ti255.files
# 171624 ciroube 20 0 6613M 1846M 65376 R 85.5 0.7 2h32:36 /ccc/scratch/cont003/cines/ciroube/AO2020/ABINIT/bin/abinit -i abinit_test_ti255.files
# 171626 ciroube 20 0 6628M 1828M 65252 R 85.5 0.7 2h32:36 /ccc/scratch/cont003/cines/ciroube/AO2020/ABINIT/bin/abinit -i abinit_test_ti255.files
# 171628 ciroube 20 0 6574M 1829M 62536 R 85.5 0.7 2h32:35 /ccc/scratch/cont003/cines/ciroube/AO2020/ABINIT/bin/abinit -i abinit_test_ti255.files
#!/bin/bash
#SBATCH -J abinit_test_ti255
#SBATCH --nodes=43
#SBATCH --ntasks=128
#SBATCH --cpus-per-task=12
#SBATCH --time=02:00:00
#SBATCH --hint=nomultithread
#SBATCH --qos=qos_cpu-dev
#SBATCH -A qbg@cpu
cd $SLURM_SUBMIT_DIR
module purge
module load abinit/8.10.3-mpi
#module load intel-compilers/19.0.5
#module load intel-mkl/19.0.5
#module load intel-mpi/19.0.5
#export PATH=/gpfslocalsup/spack_soft/abinit/8.10.3/intel-18.0.5-iodjoowmaestj5t7u72wvzvmxuaxrtym/bin:$PATH
#export LD_LIBRARY_PATH=/gpfslocalsup/spack_soft/fftw/3.3.8/intel-19.0.5-uitqxse2pwj6xndjihgo54lmo5zpv7wy/lib:/gpfslocalsup/spack_soft/netcdf-fortran/4.4.5/intel-19.0.4-nm7vlsr6edc7yqkb2v7l4p6mu4dcgkoy/lib:/gpfslocalsup/spack_soft/hdf5/1.10.5/intel-19.0.5-v4d6fdbpytf2in7bzykz6hbv4domjs7b/lib:/gpfslocalsup/spack_soft/libxc/3.0.1/intel-19.0.5-2wxuz66qzbvv2xl4ztjzloxtmb5nkgo3/lib:$LD_LIBRARY_PATH
# set max 1GB stack
ulimit -s 1000000
#export KMP_DETERMINISTIC_REDUCTION=1
export OMP_STACKSIZE=1000M
export KMP_LIBRARY=turnaround
export KMP_BLOCKTIME=infinite
export KMP_AFFINITY=granularity=fine,compact,1,0
export OMP_NUM_THREADS=12
#export MKL_NUM_THREADS=12
#export MKL_DEBUG_CPU_TYPE=5
#export MKL_CBWR=AVX2
export OMP_NESTED=TRUE
export MKL_DYNAMIC=TRUE
export OMP_DYNAMIC=FALSE
srun abinit -i abinit_test_ti255.files > abinit_test_ti255.log 2>&1
#!/bin/bash
#SBATCH -N 64
#SBATCH -n 128 # Number of MPI processes
#SBATCH -c 14 # Number of threads
#SBATCH -t 2:0:0
#SBATCH -J abinit_test_ti255
#SBATCH -C BDW28
#SBATCH --cpu-freq=2600000 # fixed CPU frequency at 2.6GHz
cd $SLURM_SUBMIT_DIR
module purge
module load intel/19.4 intelmpi/2019.4.243
unset I_MPI_DAPL_DIRECT_COPY_THRESHOLD
export MLX5_SINGLE_THREADED=0
export MLX4_SINGLE_THREADED=0
# set max 2GB stack
ulimit -s 2000000
export OMP_STACKSIZE=500M
#export KMP_DETERMINISTIC_REDUCTION=1
export KMP_LIBRARY=turnaround
export KMP_BLOCKTIME=infinite
export KMP_AFFINITY=verbose,granularity=fine,compact,1,0
export OMP_NUM_THREADS=12
export MKL_NUM_THREADS=12
#source /opt/software/common/intel/vtune_amplifier_2019/apsvars.sh
#srun --cpu-freq=2600000 aps abinit -i abinit_test_ti255.files > abinit_test_ti255.log.$SLURM_JOBID 2>&1
srun --cpu-freq=2600000 $HOME/ABINIT/bin/abinit -i abinit_test_ti255.files > abinit_test_ti255.log 2>&1
#aps --report=aps_result_*
#!/bin/bash
#SBATCH -N 2
#SBATCH -n 8 # Number of MPI processes
#SBATCH -c 7 # Number of threads
#SBATCH -t 2:0:0
#SBATCH -J abinit_test_au31
#SBATCH -C BDW28
#SBATCH --cpu-freq=2600000 # fixed CPU frequency at 2.6GHz
cd $SLURM_SUBMIT_DIR
module purge
module load intel/19.4 intelmpi/2019.4.243
unset I_MPI_DAPL_DIRECT_COPY_THRESHOLD
export MLX5_SINGLE_THREADED=0
export MLX4_SINGLE_THREADED=0
# set max 2GB stack
ulimit -s 2000000
#export KMP_DETERMINISTIC_REDUCTION=1
export KMP_LIBRARY=turnaround
export KMP_BLOCKTIME=infinite
export KMP_AFFINITY=granularity=fine,compact,1,0
export OMP_NUM_THREADS=4
export MKL_NUM_THREADS=4
#source /opt/software/common/intel/vtune_amplifier_2019/apsvars.sh
#srun --cpu-freq=2600000 aps abinit -i abinit_test_au31.files > abinit_test_au31.log.$SLURM_JOBID 2>&1
srun --cpu-freq=2600000 $HOME/ABINIT/bin/abinit -i abinit_test_au31.files > abinit_test_au31.log 2>&1
#aps --report=aps_result_*
abinit_test_au31.in
abinit_test_au31.out
abinit_test_au31_i
abinit_test_au31_o
abinit_test_au31_t
au.hpc.paw
\ No newline at end of file
# ================================================== #
# ABINIT - INPUT FILE - GOLD 31 ATOMS (one vacancy) #
# Small test to be run on 8 MPI x 4 openMP threads #
# #
# MT 01/2020 #
# ================================================== #
#Process distribution (parallelism)
npband 8 bandpp 16 npfft 1 npkpt 1 # 8 MPI x 4 threads
#Self-consistent cycle parameters
wfoptalg 114 ! This is the default
toldfe 1.d-10
nstep 20
#Plane wave basis
ecut 5.
pawecutdg 8.
#K-points and symetries
nkpt 1
kpt 3*0.
kptopt 0
istwfk *1
nsym 0
chksymbreak 0
#Electronic configuration
nband 256
occopt 3
tsmear 0.001 hartree
#Activation/deactivation of I/O
optforces 2
optstress 1
prtwf 0
prtden 0
prteig 0
timopt 0
#Simulation cell
acell 3*15.34
rprim 1. 0. 0. 0. 1. 0. 0. 0. 1.
natom 31
ntypat 1
typat 31*1
znucl 79.
chkprim 0
#Atomic positions
xred
2.50000000000000e-01 2.50000000000000e-01 0.00000000000000e+00
2.50000000000000e-01 0.00000000000000e+00 2.50000000000000e-01
0.00000000000000e+00 2.50000000000000e-01 2.50000000000000e-01
0.00000000000000e+00 0.00000000000000e+00 5.00000000000000e-01
2.50000000000000e-01 2.50000000000000e-01 5.00000000000000e-01
2.50000000000000e-01 0.00000000000000e+00 7.50000000000000e-01
0.00000000000000e+00 2.50000000000000e-01 7.50000000000000e-01
0.00000000000000e+00 5.00000000000000e-01 0.00000000000000e+00
2.50000000000000e-01 7.50000000000000e-01 0.00000000000000e+00
2.50000000000000e-01 5.00000000000000e-01 2.50000000000000e-01
0.00000000000000e+00 7.50000000000000e-01 2.50000000000000e-01
0.00000000000000e+00 5.00000000000000e-01 5.00000000000000e-01
2.50000000000000e-01 7.50000000000000e-01 5.00000000000000e-01
2.50000000000000e-01 5.00000000000000e-01 7.50000000000000e-01
0.00000000000000e+00 7.50000000000000e-01 7.50000000000000e-01
5.00000000000000e-01 0.00000000000000e+00 0.00000000000000e+00
7.50000000000000e-01 2.50000000000000e-01 0.00000000000000e+00
7.50000000000000e-01 0.00000000000000e+00 2.50000000000000e-01
5.00000000000000e-01 2.50000000000000e-01 2.50000000000000e-01
5.00000000000000e-01 0.00000000000000e+00 5.00000000000000e-01
7.50000000000000e-01 2.50000000000000e-01 5.00000000000000e-01
7.50000000000000e-01 0.00000000000000e+00 7.50000000000000e-01
5.00000000000000e-01 2.50000000000000e-01 7.50000000000000e-01
5.00000000000000e-01 5.00000000000000e-01 0.00000000000000e+00
7.50000000000000e-01 7.50000000000000e-01 0.00000000000000e+00
7.50000000000000e-01 5.00000000000000e-01 2.50000000000000e-01
5.00000000000000e-01 7.50000000000000e-01 2.50000000000000e-01
5.00000000000000e-01 5.00000000000000e-01 5.00000000000000e-01
7.50000000000000e-01 7.50000000000000e-01 5.00000000000000e-01
7.50000000000000e-01 5.00000000000000e-01 7.50000000000000e-01
5.00000000000000e-01 7.50000000000000e-01 7.50000000000000e-01
This diff is collapsed.
#!/bin/bash
rm -f abinit_test_au31_i* abinit_test_au31_o* abinit_test_au31_t*
#!/bin/bash
sbatch ../machines/occigen-bdw/batch_small_au31.slurm
abinit_test_ti255.in
abinit_test_ti255.out
abinit_test_ti255_i
abinit_test_ti255_o
abinit_test_ti255_t
ti.hpc.paw
\ No newline at end of file
# ======================================================== #
# ABINIT - INPUT FILE - TITANIUM 255 ATOMS #
# LOBPCG algorithm #
# #
# HOWTO: #
# - select one of the datasets (change 'jdtset' below) #
# - run ABINIT with the corresponding MPI/openMP distrib. #
# #
# MT 01/2020 #
# ======================================================== #
#Processes/threads distribution (parallelism)
# ===> SELECT one of the following datasets
ndtset 1 jdtset 2
#npband1 256 bandpp1 12 npfft1 1 npkpt1 1 # 256 MPI x 12 thread(s)
npband2 128 bandpp2 12 npfft2 1 npkpt2 1 # 128 MPI x 12 thread(s)
#npband3 256 bandpp3 12 npfft3 1 npkpt3 1 # 256 MPI x 6 thread(s)
#npband4 512 bandpp4 12 npfft4 8 npkpt4 1 # 512 MPI x 3 thread(s)
#npband5 256 bandpp5 16 npfft5 6 npkpt5 1 # 1536 MPI x 1 thread(s)
#Self-consistent cycle parameters
wfoptalg 114
tolvrs 1.d-5
nstep 20
#Plane wave basis
ecut 8.
pawecutdg 20.
#K-points and symetries
nkpt 1
kpt 3*0.5
kptopt 0
istwfk *1
nsym 0
chksymbreak 0
#Electronic configuration
nband 3072
occopt 3
tsmear 1800. K
#Activation/deactivation of I/O
optforces 2
optstress 1
prtwf 0
prtden 0
prteig 0
timopt 0
#Simulation cell
acell 50.4 25.2 25.2
rprim 1. 0. 0. 0. 1. 0. 0. 0. 1.
natom 255
ntypat 1
typat 256*1
znucl 22.
chkprim 0
pawovlp -1
#Atomic positions
xred
!0.00000000000000 0.00000000000000 0.00000000000000
0.06250000000000 0.12500000000000 0.12500000000000
0.00000000000000 0.00000000000000 0.25000000000000
0.06250000000000 0.12500000000000 0.37500000000000
0.00000000000000 0.00000000000000 0.50000000000000
0.06250000000000 0.12500000000000 0.62500000000000
0.00000000000000 0.00000000000000 0.75000000000000
0.06250000000000 0.12500000000000 0.87500000000000
0.00000000000000 0.25000000000000 0.00000000000000
0.06250000000000 0.37500000000000 0.12500000000000
0.00000000000000 0.25000000000000 0.25000000000000
0.06250000000000 0.37500000000000 0.37500000000000
0.00000000000000 0.25000000000000 0.50000000000000
0.06250000000000 0.37500000000000 0.62500000000000
0.00000000000000 0.25000000000000 0.75000000000000
0.06250000000000 0.37500000000000 0.87500000000000
0.00000000000000 0.50000000000000 0.00000000000000
0.06250000000000 0.62500000000000 0.12500000000000
0.00000000000000 0.50000000000000 0.25000000000000
0.06250000000000 0.62500000000000 0.37500000000000
0.00000000000000 0.50000000000000 0.50000000000000
0.06250000000000 0.62500000000000 0.62500000000000
0.00000000000000 0.50000000000000 0.75000000000000
0.06250000000000 0.62500000000000 0.87500000000000
0.00000000000000 0.75000000000000 0.00000000000000
0.06250000000000 0.87500000000000 0.12500000000000
0.00000000000000 0.75000000000000 0.25000000000000
0.06250000000000 0.87500000000000 0.37500000000000
0.00000000000000 0.75000000000000 0.50000000000000
0.06250000000000 0.87500000000000 0.62500000000000
0.00000000000000 0.75000000000000 0.75000000000000
0.06250000000000 0.87500000000000 0.87500000000000
0.12500000000000 0.00000000000000 0.00000000000000
0.18750000000000 0.12500000000000 0.12500000000000
0.12500000000000 0.00000000000000 0.25000000000000
0.18750000000000 0.12500000000000 0.37500000000000
0.12500000000000 0.00000000000000 0.50000000000000
0.18750000000000 0.12500000000000 0.62500000000000
0.12500000000000 0.00000000000000 0.75000000000000
0.18750000000000 0.12500000000000 0.87500000000000
0.12500000000000 0.25000000000000 0.00000000000000
0.18750000000000 0.37500000000000 0.12500000000000
0.12500000000000 0.25000000000000 0.25000000000000
0.18750000000000 0.37500000000000 0.37500000000000
0.12500000000000 0.25000000000000 0.50000000000000
0.18750000000000 0.37500000000000 0.62500000000000
0.12500000000000 0.25000000000000 0.75000000000000
0.18750000000000 0.37500000000000 0.87500000000000
0.12500000000000 0.50000000000000 0.00000000000000
0.18750000000000 0.62500000000000 0.12500000000000
0.12500000000000 0.50000000000000 0.25000000000000
0.18750000000000 0.62500000000000 0.37500000000000
0.12500000000000 0.50000000000000 0.50000000000000
0.18750000000000 0.62500000000000 0.62500000000000
0.12500000000000 0.50000000000000 0.75000000000000
0.18750000000000 0.62500000000000 0.87500000000000
0.12500000000000 0.75000000000000 0.00000000000000
0.18750000000000 0.87500000000000 0.12500000000000
0.12500000000000 0.75000000000000 0.25000000000000
0.18750000000000 0.87500000000000 0.37500000000000
0.12500000000000 0.75000000000000 0.50000000000000
0.18750000000000 0.87500000000000 0.62500000000000
0.12500000000000 0.75000000000000 0.75000000000000
0.18750000000000 0.87500000000000 0.87500000000000
0.25000000000000 0.00000000000000 0.00000000000000
0.31250000000000 0.12500000000000 0.12500000000000
0.25000000000000 0.00000000000000 0.25000000000000
0.31250000000000 0.12500000000000 0.37500000000000
0.25000000000000 0.00000000000000 0.50000000000000
0.31250000000000 0.12500000000000 0.62500000000000
0.25000000000000 0.00000000000000 0.75000000000000
0.31250000000000 0.12500000000000 0.87500000000000
0.25000000000000 0.25000000000000 0.00000000000000
0.31250000000000 0.37500000000000 0.12500000000000
0.25000000000000 0.25000000000000 0.25000000000000
0.31250000000000 0.37500000000000 0.37500000000000
0.25000000000000 0.25000000000000 0.50000000000000
0.31250000000000 0.37500000000000 0.62500000000000
0.25000000000000 0.25000000000000 0.75000000000000
0.31250000000000 0.37500000000000 0.87500000000000
0.25000000000000 0.50000000000000 0.00000000000000
0.31250000000000 0.62500000000000 0.12500000000000
0.25000000000000 0.50000000000000 0.25000000000000
0.31250000000000 0.62500000000000 0.37500000000000
0.25000000000000 0.50000000000000 0.50000000000000
0.31250000000000 0.62500000000000 0.62500000000000
0.25000000000000 0.50000000000000 0.75000000000000
0.31250000000000 0.62500000000000 0.87500000000000
0.25000000000000 0.75000000000000 0.00000000000000
0.31250000000000 0.87500000000000 0.12500000000000
0.25000000000000 0.75000000000000 0.25000000000000
0.31250000000000 0.87500000000000 0.37500000000000
0.25000000000000 0.75000000000000 0.50000000000000
0.31250000000000 0.87500000000000 0.62500000000000
0.25000000000000 0.75000000000000 0.75000000000000
0.31250000000000 0.87500000000000 0.87500000000000
0.37500000000000 0.00000000000000 0.00000000000000
0.43750000000000 0.12500000000000 0.12500000000000
0.37500000000000 0.00000000000000 0.25000000000000
0.43750000000000 0.12500000000000 0.37500000000000
0.37500000000000 0.00000000000000 0.50000000000000
0.43750000000000 0.12500000000000 0.62500000000000
0.37500000000000 0.00000000000000 0.75000000000000
0.43750000000000 0.12500000000000 0.87500000000000
0.37500000000000 0.25000000000000 0.00000000000000
0.43750000000000 0.37500000000000 0.12500000000000
0.37500000000000 0.25000000000000 0.25000000000000
0.43750000000000 0.37500000000000 0.37500000000000
0.37500000000000 0.25000000000000 0.50000000000000
0.43750000000000 0.37500000000000 0.62500000000000
0.37500000000000 0.25000000000000 0.75000000000000
0.43750000000000 0.37500000000000 0.87500000000000
0.37500000000000 0.50000000000000 0.00000000000000
0.43750000000000 0.62500000000000 0.12500000000000
0.37500000000000 0.50000000000000 0.25000000000000
0.43750000000000 0.62500000000000 0.37500000000000
0.37500000000000 0.50000000000000 0.50000000000000
0.43750000000000 0.62500000000000 0.62500000000000
0.37500000000000 0.50000000000000 0.75000000000000
0.43750000000000 0.62500000000000 0.87500000000000
0.37500000000000 0.75000000000000 0.00000000000000
0.43750000000000 0.87500000000000 0.12500000000000
0.37500000000000 0.75000000000000 0.25000000000000
0.43750000000000 0.87500000000000 0.37500000000000
0.37500000000000 0.75000000000000 0.50000000000000
0.43750000000000 0.87500000000000 0.62500000000000
0.37500000000000 0.75000000000000 0.75000000000000
0.43750000000000 0.87500000000000 0.87500000000000
0.50066333333333 0.43795366666666 0.20604666666667
0.58978833333333 0.17685666666666 0.24527666666667
0.59038833333333 0.04865666666666 0.46713866666667
0.57337833333333 0.36896766666666 0.44071566666667
0.49437333333333 0.29799666666666 0.62702666666667
0.58165333333333 0.34787366666666 0.95079666666667
0.54251333333333 0.10940666666666 0.84782666666667
0.67878919833333 0.40517666666666 0.06963666666667
0.59048833333333 0.45379666666666 0.10264666666667
0.60238833333333 0.47341066666666 0.31733066666667
0.50515833333333 0.27181666666666 0.25024666666667
0.60375833333333 0.54262666666666 0.50900866666667
0.59347833333333 0.44882266666666 0.67936666666667
0.67186083333333 0.62119666666666 0.73076666666667
0.63907933333333 0.58259666666666 0.93075666666667
0.67825691833333 0.39313466666666 0.28615666666667
0.55216833333333 0.64702666666666 0.29008666666667
0.65788433333333 0.66224666666666 0.34085666666667
0.54558333333333 0.70723666666666 0.50473966666667
0.59868333333333 0.84143666666666 0.65086666666667
0.56312333333333 0.65245666666666 0.66560666666667
0.59459833333333 0.74256666666666 0.86209666666667
0.54859333333333 0.64326666666666 0.02438666666667
0.61449833333333 0.84178666666666 0.03484666666667
0.50916333333333 0.81220666666666 0.08581666666667
0.96250333333333 0.00988666666666 0.16680666666667
0.61246833333333 0.84705666666666 0.43006566666667
0.58969333333333 0.24281666666666 0.62900666666667
0.52407833333333 0.87938666666666 0.92985666666667
0.63529633333333 0.04594666666666 0.68961666666667
0.55587333333333 0.04528666666666 0.08935666666667
0.66776783333333 0.01468666666666 0.17755666666667
0.70887233333333 0.20161666666666 0.21002666666667
0.92334333333333 0.16592666666666 0.29334666666667
0.67033283333333 0.01914666666666 0.36823266666667
0.65631933333333 0.21883666666666 0.36941666666667
0.62474833333333 0.22426666666666 0.80279666666667
0.66286883333333 0.41444856666666 0.82225666666667
0.62886383333333 0.18910666666666 0.05475666666667
0.71154233333333 0.27103666666666 0.73880666666667
0.73958333333333 0.15453666666666 0.01370666666667
0.75625833333333 0.64794666666666 0.24326666666667
0.76121333333333 0.28914666666666 0.37663266666667
0.72632283333333 0.51671666666666 0.43261966666667
0.67498088333333 0.39143366666666 0.52916666666667
0.76689333333333 0.74595666666666 0.77130666666667
0.74752333333333 0.55142666666666 0.86622666666667
0.74464333333333 0.55552666666666 0.08736666666667
0.64824733333333 0.59911666666666 0.13674666666667
0.83169333333333 0.97781666666666 0.30673666666667
0.66809783333333 0.72582666666666 0.55477666666667
0.76887333333333 0.70689666666666 0.49468866666667
0.74088833333333 0.56763666666666 0.64551666666667
0.79800333333333 0.77201666666666 0.97858666666667
0.69187333333333 0.74064666666666 0.93339666666667
0.71363633333333 0.95878666666666 0.99392666666667
0.65551333333333 0.83387666666666 0.24756666666667
0.75738333333333 0.99888666666666 0.18068666666667
0.74925833333333 0.84733666666666 0.35821766666667
0.68541433333333 0.90449666666666 0.52917666666667
0.68926733333333 0.85888666666666 0.73183666666667
0.75026333333333 0.06949666666666 0.64433666666667
0.60628833333333 0.97677666666666 0.86873666666667
0.69994983333333 0.07068666666666 0.84985666666667
0.87101333333333 0.05882666666666 0.16847666666667
0.84889333333333 0.41975886666666 0.18471666666667
0.93339833333333 0.98165666666666 0.38450366666667
0.67249083333333 0.17969666666666 0.57686666666667
0.85423833333333 0.10957666666666 0.47681066666667
0.82493333333333 0.49135366666666 0.55000666666667
0.78462333333333 0.29096666666666 0.57421666666667
0.76800333333333 0.36121566666666 0.92644666666667
0.81058333333333 0.16971666666666 0.22684666666667
0.90856333333333 0.57026666666666 0.23815666666667
0.76182833333333 0.37614666666666 0.18845666666667
0.88871833333333 0.53080666666666 0.42358146666667
0.85562833333333 0.32263166666666 0.36426866666667
0.83515833333333 0.59152666666666 0.77291666666667
0.78718833333333 0.38821366666666 0.74611666666667
0.83699333333333 0.68114666666666 0.18497666666667
0.82814333333333 0.73293666666666 0.36987966666667
0.85414333333333 0.87401666666666 0.48911766666667
0.81410333333333 0.50145866666666 0.34903766666667
0.85689833333333 0.67681666666666 0.58823666666667
0.86804333333333 0.78560666666666 0.84977666666667
0.93271333333333 0.57988666666666 0.81896666666667
0.71184083333333 0.77304666666666 0.11347666666667
0.90540833333333 0.74061666666666 0.03022666666667
0.81621333333333 0.85319666666666 0.13512666666667
0.52441333333333 0.08306666666666 0.34711166666667
0.75732333333333 0.03364666666666 0.44157466666667
0.94750833333333 0.01092666666666 0.60645666666667
0.77594833333333 0.83782666666666 0.62102666666667
0.86107833333333 0.04928666666666 0.67310666666667
0.79300333333333 0.97135666666666 0.79084666666667
0.82238833333333 0.01293666666666 0.97004666666667
0.83750833333333 0.23664666666666 0.02062666666667
0.95388333333333 0.34178766666666 0.44811166666667
0.88708833333333 0.27382666666666 0.58093666666667
0.53206333333333 0.20845666666666 0.48642566666667
0.94568833333333 0.16754666666666 0.74426666666667
0.49329333333333 0.31900866666666 0.82460666666667
0.79113333333333 0.15633666666666 0.84792666666667
0.51232833333333 0.25059666666666 0.04522666666667
0.91374333333333 0.47641466666666 0.07637666666667
0.48904333333333 0.52828666666666 0.38552966666667
0.85357333333333 0.27436666666666 0.76343666666667
0.51098333333333 0.49550966666666 0.56943666666667
0.90882833333333 0.41875446666666 0.67028666666667
0.55464333333333 0.52472666666666 0.82758666666667
0.88878333333333 0.39984166666666 0.89648666666667
0.49674833333333 0.46952266666666 0.97251666666667
0.50698333333333 0.81906666666666 0.32010066666667
0.56672333333333 0.96197666666666 0.24366666666667
0.93230333333333 0.73529666666666 0.43107266666667
0.50525833333333 0.82783666666666 0.66778666666667
0.94398833333333 0.65432666666666 0.66346666666667
0.48605333333333 0.74336666666666 0.85736666666667
0.83221333333333 0.55263666666666 0.00047666666667
0.47925833333333 0.63845666666666 0.16634666666667
0.91936333333333 0.84625666666666 0.22666666666667
0.91682333333333 0.28260666666666 0.13265666666667
0.51926833333333 0.92371666666666 0.50915766666667
0.53698833333333 0.07929666666666 0.66035666666667
0.89665333333333 0.84174666666666 0.67481666666667
0.93254833333333 0.97751666666666 0.81711666666667
0.91770833333333 0.93970666666666 0.99482666666667
0.92680333333333 0.14577666666666 0.95922666666667
#!/bin/bash
rm -f abinit_test_ti255_i* abinit_test_ti255_o* abinit_test_ti255_t*
#!/bin/bash
sbatch ../machines/occigen-bdw/batch_large_ti255.slurm
This diff is collapsed.
......@@ -4,19 +4,21 @@ Description:
Presentation
------------
YALES2BIO is a red blood flow solver. It is used for the analysis of medical devices in contact with blood such as flow diverters, Ventricular Assist Devices, extra corporal circulation, artificial heart and valves, cytometers among others. Optimizing such devices requires dealing with both macroscopic (pressure loss, residence time, wall shear stress, turbulence) and microscopic (blood cells deformation and interaction with other cells or solid boundaries) features.
The Gysela 5D code models the electrostatic branch of the Ion Temperature Gradient turbulence in tokamak plasmas.
Gysela is a 5D full-f and flux-driven gyrokinetic code. As such, it evolves in time the five-dimensional (3D in configuration space, 2D in velocity space) ion distribution function. For now, Gysela assumes electrons to be adiabatic and considers a global simplified magnetic geometry (concentric toroidal magnetic flux surfaces with circular cross-sections). The code simulates the full ion distribution function without any scale separation between equilibrium and fluctuations (”full-f”).
From the physics point of view, the other peculiarities of the Gysela code are the presence of an ion-ion collision operator accounting for neoclassical transport, and the existence of versatile sources (heat, momentum, …) which sustain the mean profiles on confinement times (“flux-driven”).
From the numerical point of view, Gysela is based on a semi-lagrangian scheme, hence is name: GYSELA 5D is an acronym for GYrokinetic SEmi-LAgrangian in 5 Dimensions. Two solvers are at the heart of Gysela: a Vlasov solver for computing ions advections and a Poisson solver for computing the magnetic field.
Technical information:
----------------------
* website : https://imag.umontpellier.fr/~yales2bio/index.html
* Scientific domain : haemodynamics
* website : http://gyseladoc.gforge.inria.fr/
* Scientific domain : Fusion
* Language : Fortran
* Parallelism : MPI + OpenMP
* GPU acceleration : No
* Scalability : good
* Vectorization: poor
* Vectorization: good
Compilation and simulation:
......@@ -30,26 +32,22 @@ Download:
The sources are available in a tarball and correspond to a stable release. To un-tar this release, run
```
export TARBALL_PATH=path/to/gysela/tarball (for occigen: export TARBALL_PATH=$SCRATCHDIR/abs_porjects/)
./download.sh
```
Compile:
--------
To compile the code, several librairies are needed:
* hdf5 in sequential (works with the 1.8.17 version)
* parmetis
* scotch
Then, a Makefile.in is needed. For IRENE, OCCIGEN and JEAN-ZAY platforms, this file is already made. For another platform one has to write it. An example can be found in...
Compile the code using:
```
source machines/occigen-bdw/env
source machines/occigen-bdw/env_bench
./compile.sh
```
`machines/occigen-bdw/env` contains the information for compilation (module load gcc openmpi lapack hdf5 ...)
In `source machines/occigen-bdw/env_bench` **occigen-bdw** is to be replaced with the proper machine name (jean-zay-cpu, irene-amd...). It the directory does not exist fo a machine, please add it.
`machines/occigen-bdw/env` contains the information for compilation. To use GYSELAX, you need to export the ARCH environment variables (export ARCH=occigen2). Then, the user needs to source the gysela environement variable setting file `gysela/scripts/lib/setup_path.sh`. This is done in the env file.
Run and validate the simulation:
--------------------------------
......@@ -67,9 +65,5 @@ cd testcase_XXX
./run.sh
./validate.sh
```
And getting no error code returned.
Those steps can also be used in a batch file for running the simulation using a job scheduler.
####################################
# TEST THE ENVIRONMENT
####################################
echo "################################"
####################################
# GO TO GYSELAX DIRECTORY
####################################
......
#####################################
## CLONE THE GYSELAX REPO
#####################################
#git clone https://gitlab.maisondelasimulation.fr/gysela-developpers/gysela.git 1>/dev/null 2>/dev/null
####################################
# CLONE THE GYSELAX REPO
####################################
git clone https://gitlab.maisondelasimulation.fr/gysela-developpers/gysela.git 1>/dev/null 2>/dev/null
tar xvf $TARBALL_PATH/gysela.tar.gz -C ./ 1>/dev/null 2>/dev/null
####################################
# TEST THE DOWNLOAD
......
#******************************************
# job parameters
#******************************************
NB_RESTART = 0
TIME = 03:00:00
MACHINE_FILE =
JOBNAME = N14_DLOGTI0.0
#*******************************************
# Variables used to specify if the
# simulation is a restart from
# another one
#*******************************************
SEARCH_SP0 = 0 ! 0 if no restart, 1 otherwise
DIR_SP0 = ! if SEARCH_SP0=1, name of the directory
! containing the major species restart files
#*******************************************
# Variables for parallelization
#*******************************************
NSPECIES = 2
NPROC_R = 1
NPROC_TH = 2
NPROC_MU = 16
NTHREAD = 28
#*******************************************
# Variables for radial profile input files
#*******************************************
ns0_sp0_filename = ns0_sp0_test.dat
ns0_sp1_filename = ns0_sp1_test.dat
Ts0_sp0_filename = Ts0_sp0_test.dat
Ts0_sp1_filename = Ts0_sp1_test.dat
q_filename = safety_factor_test.dat
Vpars0_sp0_filename = Vpar0_sp0_test.dat
Vpars0_sp1_filename = Vpar0_sp1_test.dat
ripple_filename = ripple_constant.h5
#******************************************
# gysela input datas
#******************************************
&PARALLEL
Nspecies = $NSPECIES
Nbproc_r = $NPROC_R
Nbproc_theta = $NPROC_TH
Nbproc_mu = $NPROC_MU
Nbthread = $NTHREAD
/
&MESH
CylindricalGeometry = .false.
Nr = 31
Ntheta = 128
Nphi = 32
Nvpar = 127
Nmu = $((NPROC_MU-1))
small_radius = 139.
rhomin = 0.
rhomax = 1.
Ltheta = 6.283185307179586476925286766559005768394
Lphi = 6.283185307179586476925286766559005768394
aspect_ratio = 2.78
nb_vth0 = 7.
Lmu = 12.
mumin = 0.,
/
&EQUIL
! Define the choice for electrons
! 0 = "ADIABATIC"
! 1 = "FULL-KINETIC"
! 2 = "TRAPPED-KINETIC"
electron_type = 2
! We consider as kinetic only the trapped electrons which have
! a maximum parallel velocity so that
! |vpar/vperp| < sqrt(2*eps)*kineticTE_coeff
kineticTE_coeff = 1.
! The possible choices for the equilibrium distribution function are:
! 1 = "MAXWELLIAN"[default]
! 2 = "ENERGETIC_PARTICLES"
fequilibrium_type = 1 , 1
canonical_profile = 0
tau0 = 1.
A0 = 1.
Z0 = 1.
As = 2. , 0.02
Zs = 1. , -1.
species_frac = 1. , 1.
read_ns0 = .false. , .false.
read_Ts0 = .false. , .false.
read_q = .false.
read_Vpars0 = .false. , .false.
profile_choice = 5 , 5
rpeak = 0.5
kappa_ns0 = 2.22 , 2.22
kappa_Ts0 = 0.0, 6.92
deltar_ns0 = 0.3 , 0.3
deltar_Ts0 = 0.3 , 0.3
Vpars0 = 0.
q_profile = 4
q_param1 = 0.854
q_param2 = 0
q_param3 = 2.184
q_param4 = 0.
magnetic_drift = .true.
perturb_amplitude = 0.001 , 0.001
perturb_choice = 2
m = 20
n = 14
!--> Gyroaverage tunable input parameters
gyroaverage = .true. , .true.
! The default 'gyro_strategy' is "PADE"
! All possible choices:
! {"PADE", "SPLINE", "HERMITE"}
gyro_strategy = "HERMITE"
! The default 'gyro_opt_hermite' is "BLOCKING"
! All possible choices:
! {"BLOCKING", "LAYOUT"}
! gyro_opt_hermite = ""
! 'gyro_Nbpoints' is usefull only if
! gyro_strategy={"SPLINE", "HERMITE"}
gyro_Nbpoints = 8
TF_ripple = .false.
N_ripple = 0,
/
&COLLISION_OPERATOR
collision_strategy = "NONE" ! ("DEFAULT", "NONE", "GENERAL")
nustar = 0.0
coll_nbstep = 1,
/
&BUFFER_REGION
coef_diffr = 0.0 , 0.0
coef_diffth = 0.0 ,0.0
buffer_asymmetry = .false.
right_buffer_only = .true.
buffer_location = 0.05
buffer_stiffness = 0.025,
/
&ALGORITHM
Vlasov_scheme = "BSL"
aligned_strategy = "SPLINE"
skiphole = .true.
QN_strategy = "TKE"
QN_TKE_version = 0
FFTpotential_filter = 1
FFTpotential_filter_deltam = 1000.
deltat = 10.
nbiter = 500
dt_diag = 50.
/
&SOURCE
flux_driven = .true.
heat_source = .false.
heat_version = 0
Sce0 = 0.00002 , 0.
TS = 1.5 , 1.
rhoS = 0. , 0.
LS = 0.1 , 0.
/
&TEST
!--> Tests for QN solver
solve_QN = .true.
!--> Tests for RHS of Boltzmann equation
RHS_only = .false.
!--> Tests for equilibrium definition
canonical_vpar0 = 3
!--> Tests with simplified physics
BstareqB = .false.
single_m = .false.
single_n = .true.
remove_n0 = .true.
Rosenbluth_Hinton = .false.
!--> Tests for computer sciences
modulo_restart_iter = 400
/
&OUTPUT
integration_CS = .true.
diag_level = 8
Phi3D_saving = .true.
Moments3D_saving = .true.
fluxes3D_GC_saving = .true.
f5D_saving = .false.
Phi3D_dt_diag = 1000.
Moments3D_dt_diag = 1000.
fluxes3D_GC_dt_diag = 1000.
f5D_dt_diag = 3000.
/
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