main
edoardocoli 9 months ago
parent 3a26062708
commit c994d3be03

@ -1,3 +0,0 @@
Usage: sort_big_file <file_to_parse>
It returns a file with extension '.sort' in the /mnt/raid/tmp/ directory. Make sure to have space before.
Use arguments in the make as ARGS="stuff". Example 'make run ARGS="/path/to/file"'.

@ -1,22 +0,0 @@
#!/bin/bash
## sbatch is the command line interpreter for Slurm
## specify the name of the job in the queueing system
#SBATCH --job-name=Distributed_Sorting
## specify the partition for the resource allocation. if not specified, slurm is allowed to take the default(the one with a star *)
#SBATCH --partition=production
## format for time is days-hours:minutes:seconds, is used as time limit for the execution duration
#SBATCH --time=12:00:00
## specify the real memory required per node. suffix can be K-M-G-T but if not present is MegaBytes by default
#SBATCH --mem=3G
## format for hosts as a range(steffe[1-4,10-15,20]), to specify hosts needed to satisfy resource requirements
#SBATCH --nodelist=steffe[1]
## to specify the number of processors per task, default is one
#SBATCH --cpus-per-task=1
## to specify the number of tasks to be invoked on each node
#SBATCH --ntasks-per-node=1
## to specify the file of utput and error
#SBATCH --output ./%x.%j.out
#SBATCH --error ./e%x.%j.err
mpirun sort_big_file

Binary file not shown.

Binary file not shown.
Loading…
Cancel
Save