MicroMegas PBS scripts:mm omp.pbs.talon
From EVOCD
mm_omp.pbs.talon
back to microMegas page
#!/bin/bash #PBS -N mm_omp #PBS -q special@talon #PBS -l nodes=1:ppn=12 #PBS -l walltime=700:00:00 #PBS -m abe #PBS -j oe #PBS -r n #PBS -V # Set the stack size to unlimited ulimit -s unlimited # Set the core size to zero ulimit -c 0 # List all resource limits ulimit -a echo "I ran on:" # Print the nodes on which the project will run cat $PBS_NODEFILE # Change your execution directory to /data/lustre/<your_username> for fast # I/O cd /data/lustre/<your_username> # Copy all necessary files from your project directory # (/cavs/cmd/data1/users/<your_username>/<your_project_directory>) to the # execution directory (/data/lustre/<your_username>) cp -fr /cavs/cmd/data1/users/<your_username>/<your_project_directory>/mm_omp . # Go to the directory with the ‘mm_omp’ executable cd /data/lustre/<your_username>/mm_omp/bin # Run the parallel ‘mm_omp’ code on 12 parallel threads with/without cross- # slip activated (set GLDEV to be T or F in # /data/lustre/<your_username>/mm_omp/in/ContCu) /usr/bin/time -p -o ../omp_tests/[no-]cross-slip/mm_omp.time ./mm_omp | tee ../omp_tests/[no-]cross-slip/mm_omp.log # Move all files from the execution directory (/data/lustre/<your_username>) # back to your project directory # (/cavs/cmd/data1/users/<your_username>/<your_project_directory>) cd /data/lustre/<your_username>/ cp -fr mm_omp/ /cavs/cmd/data1/users/<your_username>/<your_project_directory>/mm_omp_test/1 # echo "All Done!"