Skip to content
Snippets Groups Projects
Commit 8b22437b authored by Antoine Cyril David Hoffmann's avatar Antoine Cyril David Hoffmann
Browse files

adapting for PPB110

parent 9fc570b6
No related branches found
No related tags found
No related merge requests found
...@@ -5,12 +5,9 @@ addpath(genpath('../matlab')) % ... add ...@@ -5,12 +5,9 @@ addpath(genpath('../matlab')) % ... add
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% CLUSTER PARAMETERS %% CLUSTER PARAMETERS
CLUSTER.TIME = '01:00:00'; % allocation time hh:mm:ss CLUSTER.TIME = '01:00:00'; % allocation time hh:mm:ss
CLUSTER.NODES = '1'; % MPI process CLUSTER.NODES = '8'; % MPI process
CLUSTER.CPUPT = '1'; % CPU per task CLUSTER.MEM = '2GB'; % Memory
CLUSTER.NTPN = '8'; % N tasks per node CLUSTER.JNAME = 'HeLaZ';% Job name
CLUSTER.PART = 'prod'; % dbg or prod
CLUSTER.MEM = '16GB'; % Memory
CLUSTER.JNAME = 'test';% Job name
USERNAME = 'ahoffman'; % username at ppb110 for folder naming USERNAME = 'ahoffman'; % username at ppb110 for folder naming
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% PHYSICAL PARAMETERS %% PHYSICAL PARAMETERS
...@@ -91,15 +88,14 @@ fprintf(fid,[... ...@@ -91,15 +88,14 @@ fprintf(fid,[...
'#!/bin/bash\n',... '#!/bin/bash\n',...
'#SBATCH --job-name=',CLUSTER.JNAME,'\n',... '#SBATCH --job-name=',CLUSTER.JNAME,'\n',...
'#SBATCH --time=', CLUSTER.TIME,'\n',... '#SBATCH --time=', CLUSTER.TIME,'\n',...
'#SBATCH --nodes=', CLUSTER.NODES,'\n',... '#SBATCH -n=', CLUSTER.NODES,'\n',...
'#SBATCH --mem=', CLUSTER.MEM,'\n',... '#SBATCH --mem-per-cpu=', CLUSTER.MEM,'\n',...
'#SBATCH --error=err.txt\n',... '#SBATCH --error=err.txt\n',...
'#SBATCH --output=out.txt\n',... '#SBATCH --output=out.txt\n',...
...% '#SBATCH --job-name=',PARAMS,'\n\n',...
'module load intel\n',... 'module load intel\n',...
'module load impi\n',... 'module load impi\n',...
'module load hdf5\n',... 'module load hdf5\n',...
'srun --cpu-bind=cores ./../../../bin/helaz']); 'srun ./../../../bin/helaz']);
fclose(fid); fclose(fid);
system(['cp batch_script.sh ',BASIC.RESDIR,'/.']); system(['cp batch_script.sh ',BASIC.RESDIR,'/.']);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment