Update Triton-troubleshooting.md

Former-commit-id: e092e45d4888a361dfb9c8f65cc68764d55411c3
This commit is contained in:
Marek Nečada 2019-04-05 08:34:42 +03:00
parent bf04cb32c0
commit fa803573f0
1 changed files with 13 additions and 10 deletions

View File

@ -5,20 +5,22 @@ Running anything in a cluster environment can cause some unexpected problems.
With these notes, one should be able to run qpms successfully on Aalto's Triton. With these notes, one should be able to run qpms successfully on Aalto's Triton.
The main problem is that it is often not completely trivial to ensure The main problem is that it is often not completely trivial to ensure
mutual compatibility of various libraries and tools on which qpms depends. the mutual compatibility of various libraries and tools on which qpms depends.
## Triton+anaconda ## Triton+anaconda
### Installing qpms with anaconda ### Installing qpms with anaconda
This section shows how to use qpms in an anaconda virtual environment. This section shows how to use qpms in an anaconda virtual environment.
First, we purge the modules to ensure that no other other conflicting python instances are loaded. First, we purge the modules to ensure that no other other conflicting python
instances are loaded.
Then we load an anaconda3 module. Then we load an anaconda3 module.
``` ```
module purge module purge
module load anaconda3 module load anaconda3
``` ```
Next, conda needs to infect our shell with some code in order to work properly. Next, conda needs to infect our shell with some code in order to work properly.
(If you use a different shell than bash, modify the following command accordingly.) (If you use a different shell than bash, modify the following command
accordingly.)
``` ```
conda init bash conda init bash
``` ```
@ -64,8 +66,9 @@ cmake .
make clean make clean
make amos make amos
``` ```
Cmake builds in other directories are not supported right now, as qpms setup scripts now expects Cmake builds in other directories are not supported right now, as qpms setup
certain amos files at fixed relative paths. Therefore the `.` in `cmake .`. scripts now expects certain amos files at fixed relative paths. Therefore
the `.` in `cmake .`.
And finaly, build qpms. And finaly, build qpms.
``` ```
@ -77,12 +80,12 @@ needs updates.
### Running qpms with anaconda ### Running qpms with anaconda
After installing the qpms python module, one should be able to import it and to use After installing the qpms python module, one should be able to import it and to
the scripts in the misc directory in the same shell session used for installing use the scripts in the misc directory in the same shell session used
qpms. for installing qpms.
To use qpms also later, one has to restore the environment, i.e. load the same modules and To use qpms also later, one has to restore the environment, i.e. load the same
activate the anaconda virtual environment. modules and activate the anaconda virtual environment.
``` ```
module restore qpms_conda module restore qpms_conda
conda activate trqpms conda activate trqpms