Skip to content
Snippets Groups Projects
Select Git revision
  • f5c977ad9c04a2deea570569e9ae82eb1aae809e
  • master default protected
  • tut_ring_allen
  • docs_furo
  • docs_reorder_cable_cell
  • docs_graphviz
  • docs_rtd_dev
  • ebrains_mirror
  • doc_recat
  • docs_spike_source
  • docs_sim_sample_clar
  • docs_pip_warn
  • github_template_updates
  • docs_fix_link
  • cv_default_and_doc_clarification
  • docs_add_numpy_req
  • readme_zenodo_05
  • install_python_fix
  • install_require_numpy
  • typofix_propetries
  • docs_recipe_lookup
  • v0.10.0
  • v0.10.1
  • v0.10.0-rc5
  • v0.10.0-rc4
  • v0.10.0-rc3
  • v0.10.0-rc2
  • v0.10.0-rc
  • v0.9.0
  • v0.9.0-rc
  • v0.8.1
  • v0.8
  • v0.8-rc
  • v0.7
  • v0.6
  • v0.5.2
  • v0.5.1
  • v0.5
  • v0.4
  • v0.3
  • v0.2.2
41 results

linearrewriter.cpp

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