I have a C++ code that i'm running a linux based cluster. I want to measure the CPU time and wall time. Here is how the bash file for submitting the job looks like:
#!/bin/bash
#$ -V
#$ -cwd
#$ -j y
#$ -orte_onenode 2
#$ -o out
#$ -N program
~/home/directory/executable
Thanks for the help in advance.