Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92361308
run_hea_1q_2.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Nov 19, 16:57
Size
1 KB
Mime Type
text/x-shellscript
Expires
Thu, Nov 21, 16:57 (1 d, 21 h)
Engine
blob
Format
Raw Data
Handle
22430715
Attached To
R11910 Additive Manufacturing Work
run_hea_1q_2.sh
View Options
#!/bin/bash
#SBATCH --qos serial
#SBATCH --nodes 1
#SBATCH --ntasks 1
#SBATCH --cpus-per-task 36
#SBATCH --mem 252000
#SBATCH --time 71:59:59
#SBATCH --error=slurm-%j.stderr
#SBATCH --output=slurm-%j.stdout
#SBATCH --job-name=mech_model
#SBATCH --mail-user=recep.kubilay@epfl.ch
#SBATCH --mail-type=BEGIN,END,FAIL
set -e
module purge
source /home/kubilay/anaconda3/bin/activate
conda activate muspectre_env2
export LD_LIBRARY_PATH=/home/kubilay/pnetcdf/lib/:$LD_LIBRARY_PATH
LOG_FILE="mechanical_model_hea10.log"
echo "*** STARTING JOB ***" >$LOG_FILE
START_LAYER=268
LAYERS=333
PROCS=27
export OPENBLAS_NUM_THREADS=1
FACTOR=1.0
TARGET_DIRECTORY="/scratch/kubilay/mechanical_model/results/rate_dependent/factor"_$FACTOR
mkdir -p $TARGET_DIRECTORY
for z in $(seq $START_LAYER 1 $LAYERS)
do
echo $z >>$LOG_FILE
mpirun -np 36 python3 -u residual_stress_analysis_hea_1q_2.py $z $PROCS $FACTOR $TARGET_DIRECTORY >>$LOG_FILE
python3 -u netcdf2h5_hea_1q_2.py $z $FACTOR $TARGET_DIRECTORY >> $LOG_FILE
done
conda deactivate
echo "*** JOB FINISHED ***" >>$LOG_FILE
Event Timeline
Log In to Comment