Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92327004
execute_order_test.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, 10:40
Size
1003 B
Mime Type
text/x-shellscript
Expires
Thu, Nov 21, 10:40 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22420394
Attached To
R10834 Project_multiproc
execute_order_test.sh
View Options
#!/bin/bash
#SBATCH --chdir /scratch/jaugey
#SBATCH --nodes 1
#SBATCH --ntasks 1
#SBATCH --cpus-per-task 28
#SBATCH --mem 10G
#SBATCH --partition serial
#SBATCH --account cs307
#SBATCH --reservation CS307-ex
NAME=order
if [ -n "$1" ]; then
NAME=$1
fi
echo STARTING AT `date`
# local mode
echo "Local allocation"
numactl --localalloc ./$NAME
echo ""
# select node 0
echo "Binding node 0"
numactl --cpunodebind=1 --membind=0 ./$NAME
numactl --cpunodebind=1 --membind=0 ./$NAME
numactl --cpunodebind=1 --membind=0 ./$NAME
numactl --cpunodebind=1 --membind=0 ./$NAME
numactl --cpunodebind=1 --membind=0 ./$NAME
echo ""
# select node 1
echo "Binding node 1"
numactl --membind=1 ./$NAME
echo ""
# interleaved mode
echo "Binding interleave node 0"
numactl --interleave=0 ./$NAME
echo ""
# interleaved mode
echo "Binding interleave node 1"
numactl --interleave=1 ./$NAME
echo ""
# interleaved mode
echo "Binding interleave all nodes"
numactl --interleave=all ./$NAME
echo FINISHED at `date`
Event Timeline
Log In to Comment