Downloading the code

Before you run the code familiarise yourself with the concept of directories and subdirectories in your file system. When you want to use VECTRI there are two directory locations that are important, the one where you STORE the code and the one where you RUN the code.

NOTE: As the code is managed using the repository software git https://git-scm.com/ you never want to run the code in the directory or subdirectory of the code location, to avoid making lots of files that git will think are part of the code! In fact the code script tries to detect and prevent this occurrence.

We suggest that you place the code in a location such as

$HOME/vectri

and run it somewhere in parallel such as

$HOME/myruns

To get the code, change to the parent directory where you want to host the code, e.g.:

cd $HOME

and then retrieve a copy. The VECTRI code is hosted on gitlab at the moment. You can download a copy from the gitlab repository:

$ git clone https://gitlab.com/tompkins/vectri.git

This should give you the message:

Cloning into 'vectri'...

along with some additional messages. After if you list your directory contents with $ ls you should see a subdirectory called vectri.