Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F63082437
ex5.run
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, May 17, 16:06
Size
769 B
Mime Type
text/x-shellscript
Expires
Sun, May 19, 16:06 (2 d)
Engine
blob
Format
Raw Data
Handle
17729838
Attached To
rSCEXAMPLES SCITAS examples on how to run on the clusters
ex5.run
View Options
#!/bin/bash
#SBATCH --ntasks 4
## --cpus-per-task > 1 needed for multithreaded applications
#SBATCH --cpus-per-task 1
## maximum memory needed
#SBATCH --mem 4096
## maximum walltime needed
#SBATCH --time 00:05:00
echo
echo STARTING AT `date`
echo
# bash is not my default shell? I have to initialize it!
. /etc/bashrc
module purge
module load intelmpi/4.1.3
module list
echo
#LAUNCH_DIR=/scratch/scitas-ge/jmenu
LAUNCH_DIR=/home/jmenu/COURS
#EXECUTABLE="./ex5_c"
#EXECUTABLE="./ex5_cxx"
EXECUTABLE="./ex5_f90"
echo "--> LAUNCH_DIR = ${LAUNCH_DIR}"
echo "--> EXECUTABLE = ${EXECUTABLE}"
echo
echo "--> ${EXECUTABLE} depends on the following dynamic libraries:"
ldd ${EXECUTABLE}
echo
cd ${LAUNCH_DIR}
srun ${EXECUTABLE}
echo
echo FINISHED at `date`
echo
Event Timeline
Log In to Comment