Skip to content
Snippets Groups Projects
Commit 290aadaf authored by Neda Darbehehsti's avatar Neda Darbehehsti
Browse files

luis folder started

parent 16af3d32
Branches
Tags
No related merge requests found
#!/bin/bash -login
#PBS -l nodes=1:ppn=6
#PBS -l walltime=12:00:00
#PBS -l mem=16GB
#PBS -M weigelt@ife.uni-hannover.de
#PBS -m abe
#PBS -o /home/nhglmatt/Matlab/HLSST/${PBS_JOBNAME}_${PBS_JOBID}.txt
#PBS -k oe
#PBS -j oe
# Call the calculation
for midx in `seq 1 1 12`
do
echo "Starting processing $name for year $year and month $midx ..."
# load Matlab module
module load MATLAB/2017a
# start Matlab
matlab –nosplash –nodesktop –nodisplay -r "cd('/home/nhglmatt/Matlab/HLSST/');myadd2path;hlSST('$name',[$year $midx $year $midx],true,'$TMPDIR')"
wait $!
# release Matlab module
module del MATLAB/2017a
done
% Example MATLAB script for Hello World
disp Hello World
exit
% end of example file
login
ssh nhbfneda@login.cluster.uni-hannover.de
scp /home/neda/Documents/code/gracetools-master/gfr_parallel.m nhbfneda@login.cluster.uni-hannover.de:/home/nhbfneda/
-r for directory
for mac
ssh aeissh
ssh luis
#!/bin/bash
#PBS -N matlab_serial
#PBS -M my@email.address
#PBS -m bae
#PBS -j oe
#PBS -l nodes =1:ppn=1
#PBS -l walltime =00:10:00
#PBS -l mem=4gb
# Compute node the job ran on
echo "Job ran on:" $HOSTNAME
# Load modules
module load MATLAB /2017a
# Change to work dir:
cd $PBS_O_WORKDIR
# Log file name
LOGFILE=$(echo $PBS_JOBID | cut -d"." -f1).log
# The program to run
matlab -nodesktop -nosplash < hello.m > $LOGFILE 2>&1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment