Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F94003328
execute_numa.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, Dec 3, 04:22
Size
658 B
Mime Type
text/x-shellscript
Expires
Thu, Dec 5, 04:22 (1 d, 5 h)
Engine
blob
Format
Raw Data
Handle
22703045
Attached To
R10834 Project_multiproc
execute_numa.sh
View Options
#!/bin/bash
#SBATCH --chdir /scratch/ancarola
#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=numa
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=0 --membind=0 ./$NAME
echo ""
# select node 1
echo "Binding node 1"
numactl --cpunodebind=1 --membind=1 ./$NAME
echo ""
# interleaved mode
echo "Binding interleave all nodes"
numactl --interleave=all ./$NAME
echo FINISHED at `date`
Event Timeline
Log In to Comment