Hoffman2:Batch Mode: Difference between revisions

From Center for Cognitive Neuroscience
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
To use a batch job, you need to create a batch file with bash or tcsh. This find should have three parts:
To use a batch job, you need to create a batch file with bash or tcsh. This find should have three parts:


Part 1: List all the resource requests
Part 1: List all the resource you want to reserve for your job


Part 2: Load your modules, export the Unix environment that needed for your script to run
Part 2: Load your modules, export the Unix environment that needed for your script to run

Revision as of 18:36, 18 December 2019

Back to all things Hoffman2

To use a batch job, you need to create a batch file with bash or tcsh. This find should have three parts:

Part 1: List all the resource you want to reserve for your job

Part 2: Load your modules, export the Unix environment that needed for your script to run

Part 3: Call your job script

Here are some batch file templates you can start with

Job Submission Templates

Please use these job submission template scripts to simplify job submission.