|
|
**Operating Systems**
|
|
|
|
|
|
|
|
|
# Operating Systems
|
|
|
Using batch context for local batching should work despite which operating system you are using. Make sure that your [working directory]() is set properly and that you [amica program is set to executable]().
|
|
|
|
|
|
Submitting jobs to SHARCNet requires a **ssh** and it works differently depending on your operating system. You need to make some changes before and during starting the batch.
|
|
|
|
|
|
# Linux and Mac
|
|
|
If you are using a linux operating system you can use Octave or Matlab to run batch context.
|
|
|
You do not have to do anything too special. Make sure that your batch context configs have the *exec_func* field set to *ef_sqsub* or *ef_qsub*d epending on your submission preference. Note that the *qsub_options* help describes sqsub submission.
|
|
|
|
|
|
At the bottom of the *Run HTB* GUI make sure you have the submission method set to the default *system* command. This will make you system preform the ssh command to connect to SHARCNet.
|
|
|
|
|
|
![sumissionlinux](/uploads/73bdf424397939178dbfeff40df24c18/sumissionlinux.png)
|
|
|
|
|
|
Upon submission you will need to type in you password twice for each script. Once to upload the zip file and once to open it.
|
|
|
|
|
|
# Windows
|
|
|
If you are using a windows operating system you have to use Matlab to run batch context.
|
|
|
You will need to make a few samll changes to make sure your instance of matlab can *ssh from matlab*. After you start up Matlab and set the working directory run the following command in the command terminal:
|
|
|
|
|
|
```
|
|
|
sshfrommatlabinstall(1)
|
|
|
```
|
|
|
This will download and set a small java library and add it to the dynamic java path. This will allow this instance of Matlab to run the *ssh* command, since your system can not. It will also clear your workspace to make sure you path is still correct before calling eeglab.
|
|
|
|
|
|
Make sure that your batch context configs have the *exec_func* field set to *ef_sqsub* or *ef_qsub* depending on your submission preference. Note that the *qsub_options* help describes sqsub submission.
|
|
|
|
|
|
At the bottom of the *Run HTB* GUI you will have to manually change the submission method to *ssh from matlab* every time you load the GUI.
|
|
|
![submissionwindows](/uploads/6746528eaded4bd4f06877a00e02387f/submissionwindows.png)
|
|
|
|
|
|
Upon submission the computer will ask from your Password once in a Pop up.
|
|
|
|
|
|
|
|
|
***
|
... | ... | |