Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92353662
run_mechanical_model_helvetios.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, 15:28
Size
1 KB
Mime Type
text/x-shellscript
Expires
Thu, Nov 21, 15:28 (1 d, 21 h)
Engine
blob
Format
Raw Data
Handle
22429547
Attached To
R11910 Additive Manufacturing Work
run_mechanical_model_helvetios.sh
View Options
#!/bin/bash
#SBATCH --partition debug
#SBATCH --ntasks 1
#SBATCH --cpus-per-task 36
#SBATCH --mem-per-cpu 2G
#SBATCH --time 00:59:00
#SBATCH --error=slurm-%j.stderr
#SBATCH --output=slurm-%j.stdout
#SBATCH --job-name=mech_model
#SBATCH --exclusive
source
/home/kubilay/anaconda3/bin/activate
conda activate muspectre_env2
export
LD_LIBRARY_PATH
=
/home/kubilay/pnetcdf/lib/:
$LD_LIBRARY_PATH
#module load gcc mvapich2
echo
"*** STARTING JOB ***"
LOG_FILE
=
"mechanical_model.log"
echo
"*** STARTING JOB ***"
>
$LOG_FILE
which python3 >
$LOG_FILE
which mpirun >>
$LOG_FILE
which srun >>
$LOG_FILE
ulimit
-a >>
$LOG_FILE
START_LAYER
=
60
LAYERS
=
61
echo
$OPENBLAS_NUM_THREAD
>>
$LOG_FILE
export
OPENBLAS_NUM_THREADS
=
1
echo
$OPENBLAS_NUM_THREADS
>>
$LOG_FILE
for
z in
$(
seq
$START_LAYER
$LAYERS
)
do
echo
$z
conda activate muspectre_env2
#valgrind --leak-check=full -s mpirun -np 16 python3 residual_stress_analysis.py $z 15 >> $LOG_FILE
mpirun -n 36 python3 residual_stress_analysis.py
$z
35 >>
$LOG_FILE
#mpirun -np 5 amplxe-cl -collect hotspots -r /scratch/kubilay/additive-manufacturing-work/mechanical_model/profiling -- python3 residual_stress_analysis.py 60 4 >> $LOG_FILE
#python3 netcdf2h5.py $z >> $LOG_FILE
conda deactivate
done
conda deactivate
echo
"*** JOB FINISHED ***"
echo
"*** JOB FINISHED ***"
>>
$LOG_FILE
Event Timeline
Log In to Comment