Skip to content

Commit

Permalink
Provide information of pw.x location in Quantum mobile. (#471)
Browse files Browse the repository at this point in the history
  • Loading branch information
khsrali authored Sep 11, 2024
1 parent a1df5d8 commit 1f14533
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/sections/running_processes/basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ The calculation plugin (**2**) contains the instructions that indicate to AiiDA
This includes information about what the input files look like, how to generate them from data (input) nodes, what outputs are produced, and how to parse them into data (output) nodes.
This is what you get when you `pip install` one of AiiDA's [plugin packages](https://aiidateam.github.io/aiida-registry/).

The code node (**3**) is a data node that contains the instructions for AiiDA to execute a specific instalation of the code (**1**).
The code node (**3**) is a data node that contains the instructions for AiiDA to execute a specific installation of the code (**1**).
It does have a reference to which plugin (**2**) it needs to use, but on top of that it also includes: the path to the installed executable, any environment variable required to run it, etc.
As this is a data node, it then becomes part of the provenance of every process that uses it (**4**).

Expand All @@ -164,6 +164,8 @@ $ verdi code setup --label pw --computer localhost --remote-abs-path /opt/conda/
Success: Code<2> pw@localhost created
```

In case you are using Quantum Mobile virtual machine, please note executable file `pw.x` is located in a different path `--remote-abs-path=/usr/local/bin/pw.x`

You now should be able to see this new code when you execute ``verdi code list``:

You can check this by running `verdi code list`:
Expand Down Expand Up @@ -286,7 +288,7 @@ $ verdi shell
```

There are several ways to setup and launch processes with AiiDA.
We will now show you how to do it using a *builder*, which is a tool that is particullarly convenient when manually preparing the inputs.
We will now show you how to do it using a *builder*, which is a tool that is particularly convenient when manually preparing the inputs.
The simplest way to get a builder for a calculation is from a code node, so load the one we checked at the begining of this module:

:::{margin}
Expand Down

0 comments on commit 1f14533

Please sign in to comment.