Managed to complete a run of an Autosubmit workflow today for the first time, running the commands that I wanted. Here's where I was erring, and what I did to fix it.
When you use the PS
platform type, you also need to enable an SSH server.
Autosubmit reads the SSH config
file to load the host configuration.
$ cat ~/.ssh/config
Host localhost
hostname localhost
user kinow
identityfile /home/kinow/.ssh/id_rsa
forwardx11 yes
Also, in order to work around an issue with my Paramiko 2.7.1 and Py2,
I had to modify the SSHD settings in /etc/ssh/sshd_config
, adding:
PubkeyAuthentication yes
PubkeyAcceptedKeyTypes=+ssh-rsa
Modified expdef_a000.conf
to have a project type of local
so it wouldn't
just run sleep 5
.
[project]
PROJECT_TYPE = local
[local]
PROJECT_PATH = /home/kinow/autosubmit/a000/scratch/project_path/
In jobs_a000.conf
I defined scripts with a relative and an absolute locations.
These are used as templates, injected between the project head
[init]
FILE=/home/kinow/Desktop/test.sh
[train]
FILE=_.sh
RUNNING=chunk
DEPENDENCIES=init
[eval]
FILE=_.sh
RUNNING=member
DEPENDENCIES=train
Basically:
autosubmit configure
autosubmit install
autosubmit expid -H local -d Description
autosubmit create -np a000
autosubmit inspect a000
autosubmit run a000
autosubmit monitor a000