Skip to content
Snippets Groups Projects
Select Git revision
  • 0e0b838c87e29e2f5a07297d6c63eb8ed975e961
  • master default protected
  • github/fork/hrani/master
  • github/fork/dilawar/master
  • chamcham
  • chhennapoda
  • wheel
  • 3.2.0-pre0
  • v3.1.3
  • 3.1.2
  • 3.1.1
  • chamcham-3.1.1
  • 3.1.0
  • ghevar_3.0.2_pre2
  • ghevar_3.0.2
15 results

index.rst

Blame
  • config_template.py 721 B
    # Absolute path of repository
    base_path = None
    # Place to store simulations
    data_path = None
    # Template for job scripts
    jobscript_template = '''
    # Instruction for the queuing system
    
    mpirun python {base_path}/run_simulation.py {label}'''
    
    """
    Here is an example for the Slurm queueing system:
    
    # jobscript_template = '''#!/bin/bash
    # #SBATCH --job-name MAM
    # #SBATCH -o {sim_dir}/{label}.%j.o
    # #SBATCH -e {sim_dir}/{label}.%j.e
    # #SBATCH --mem=120G
    # #SBATCH --time=06:00:00
    # #SBATCH --exclusive
    # #SBATCH --cpus-per-task={local_num_threads}
    # #SBATCH --ntasks={num_processes}
    # mpirun python {base_path}/run_simulation.py {label} {network_label}'''
    """
    
    # Command to submit jobs on the local cluster
    submit_cmd = None