MicroMegas PBS scripts:mm.pbs.talon
From EVOCD
mm.pbs.talon
back to microMegas page
#!/bin/bash #PBS -N mm #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 . # Go to the directory with the ‘mm’ executable cd /data/lustre/<your_username>/mm/bin # Run the serial ‘mm’ code with/without cross-slip activated (set GLDEV to be # T or F in /data/lustre/<your_username>/mm/in/ContCu) /usr/bin/time -p -o ../serial_tests/[no-]cross-slip/mm.time ./mm | tee ../serial_tests/[no-]cross-slip/mm.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/ /cavs/cmd/data1/users/<your_username>/<your_project_directory>/mm_test/1 # echo "All Done!"