... | ... | @@ -101,6 +101,8 @@ Remote configurations require you to know what your remote scheduler is and any |
|
|
[Merge Request](https://git.sharcnet.ca/bucanl_eeglab_extensions/batch_context/merge_requests)
|
|
|
if you think there is something we can do better.
|
|
|
|
|
|
Our examples use the `ef_sbatch` driver if you need to use another driver please just replace all references to `ef_sbatch` to the correct driver.
|
|
|
|
|
|
For remotes jobs we usually use GNU Octave. GNU Octave is a free and open source implementation of the Matlab language. GNU Octave is becoming more and more compatible with Matlab every day and is much easier to work with due to its GPL licensing which makes it openly available. Ensure you have GNU Octave installed on your remote cluster. We write all our scripts to be compatible with both Octave/Matlab. Tweeks may be required for remote running but will be talked about in the [Running remotely section](tutorial-running-remotely).
|
|
|
|
|
|
## Bandpass Configuration (Remote)
|
... | ... | @@ -109,7 +111,9 @@ Start with the [Bandpass Local configuration](#bandpass-configuration-local) |
|
|
|
|
|
You can open this in `Batch > Batch Configuration` and edit it there.
|
|
|
|
|
|
You will need to add the following fields
|
|
|
Change the exec_func to `ef_sbatch`.
|
|
|
|
|
|
You will need to add the following fields:
|
|
|
* session_init = `config/octave.sesinit`
|
|
|
* m_init = `config/octave.minit`
|
|
|
* memory = `1 + c*0.001g`
|
... | ... | @@ -125,7 +129,9 @@ Save as `config/c01_bandpass_remote.cfg` |
|
|
|
|
|
Start with the [Amica Local configuration](#amica-configuration-local)
|
|
|
|
|
|
First we need a submission session initialization for Amica, this will run the code in this file on the remote before submitting the job. We use the session init to setup environment variables and other short setups.
|
|
|
Change the exec_func to `ef_sbatch`
|
|
|
|
|
|
Then, we need a submission session initialization for Amica, this will run the code in this file on the remote before submitting the job. We use the session init to setup environment variables and other short setups.
|
|
|
* session_init = `config/amica.sesinit`
|
|
|
|
|
|
Lets add some reasonable time/memory limits.
|
... | ... | @@ -149,6 +155,8 @@ Save as `config/c03_amica_remote.cfg` |
|
|
|
|
|
Start with [Fin Configuration Local](#fin-configuration-local) and follow the same modifications as [Bandpass Configuration (Remote)](#bandpass-configuration-remote)
|
|
|
|
|
|
Don't forget to change the exec_func to `ef_sbatch`
|
|
|
|
|
|
Save as `config/c04_fin_remote.cfg`
|
|
|
|
|
|
*Updated/Verified by Brad Kennedy on 2017-08-11*
|
... | ... | |