Commit bd021c58 authored by Lee, Seyong's avatar Lee, Seyong
Browse files

Add job submission scripts for NEURON.

parent 85b7cb2e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -29,6 +29,7 @@ CSRCS = arrayreduction.c
#########################################################
OMP ?= 0
MODE ?= normal
POSTCMD ?= cp ./gpu.sh ./bin/

#########################################################
# Use the following macros to give program-specific     #
+2 −0
Original line number Diff line number Diff line
@@ -41,4 +41,6 @@ echo "\$ make"
echo ""
echo "====> To run the compiled binary:"
echo "\$ cd bin; arrayreduction_ACC"
echo "Or"
echo "\$ cd bin; sbatch gpu.sh"
echo ""

arrayreduction/gpu.sh

0 → 100755
+17 −0
Original line number Diff line number Diff line
#!/bin/bash               
#SBATCH -J gpu_job
#SBATCH -p ivy_k40_2
#SBATCH -N 1
#SBATCH -n 1
#SBATCH -o %x.o%j
#SBATCH -e %x.e%j
#SBATCH --time 00:10:00
#SBATCH --gres=gpu:1
#SBATCH --comment etc     # See Application SBATCH options name table's

export OMP_NUM_THREADS=1

./arrayreduction_ACC

exit 0
+1 −0
Original line number Diff line number Diff line
@@ -64,6 +64,7 @@ AOCL_BOARD ?= p510t_sch_ax115
#AOCL_FLAGS ?= -v -g -c -report
AOCL_FLAGS ?= -v -c -report
#AOCL_FLAGS ?= -v -report
POSTCMD ?= cp ./gpu.sh ./bin/

#########################################################
# Use the following macros to give program-specific     #
+3 −1
Original line number Diff line number Diff line
@@ -55,4 +55,6 @@ echo "\$ make"
echo ""
echo "====> To run the compiled binary:"
echo "\$ cd bin; jacobi_ACC"
echo "Or"
echo "\$ cd bin; sbatch gpu.sh"
echo ""
Loading