Skip to content

Commit

Permalink
consider purge target
Browse files Browse the repository at this point in the history
  • Loading branch information
Wei Zhang authored and Wei Zhang committed Jun 3, 2020
1 parent 8944f9a commit d9068da
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions bin/run_active_eva_knl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
module load python
conda activate ActiveDR_env

cat /global/homes/w/wzhang5/software/ActiveDR/bin/2016_dir.txt | while read line
do
srun -n 40 -c 272 --cpu_bind=cores python -u user_activity_analyzer_mpi.py -d $line
done
date_array=( $( cat /global/homes/w/wzhang5/software/ActiveDR/bin/2016_dir.txt ) )

for line in "${date_array[@]}"; do
echo "working on $line"
srun -n 20 -c 64 --cpu_bind=cores python -u user_activity_analyzer_mpi.py -d $line
done

0 comments on commit d9068da

Please sign in to comment.