MicroMegas PBS scripts:mmp.pbs.talon
From EVOCD
mmp.pbs.talon
back to microMegas page
#!/bin/bash #PBS -N mmp #PBS -q special@talon #PBS -l nodes=4: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>/mmp . # Go to the directory with the ‘mmp’ executable cd /data/lustre/<your_username>/mmp/bin # Run the parallel ‘mmp’ code on 4x12=48 parallel processes with/without # cross-slip activated (set GLDEV to be T or F in # /data/lustre/<your_username>/mmp/in/ContCu) /usr/bin/time -p -o ../mmp_tests/[no-]cross-slip/mmp.time ./mmp | tee ../mmp_tests/[no-]cross-slip/mmp.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 mmp/ /cavs/cmd/data1/users/<your_username>/<your_project_directory>/mmp_test/1 # echo "All Done!"