This runs 12 tasks on 3 nodes using 8 CPUs per task and notifies via mail about beginning and ending status of job.
#!/bin/bash
#
# python3 rev-gma.py <nome-file> <anno> | |
# gist github: https://gist.github.com/toyo97/3f876f3e079b96752cd1ed0f7f03d8b6 | |
import sys | |
import pandas as pd | |
from datetime import datetime, date | |
file_name = sys.argv[1] | |
year = int(sys.argv[2]) |