Link Search Menu Expand Document

Conda installation

The best and the easiest way to install ASE/GPAW/Elastic system with gpaw-tools is a conda installation. However, sometimes GPAW can run up to 20 times slower with conda installation. Please keep this in mind. Download and install the miniconda. You can say ‘yes’ or ‘no’ to initialization after installing it:

$ wget
$ chmod +x
$ ./

then you can update miniconda:

$ eval "$(/home/$USER/miniconda3/bin/conda shell.bash hook)"
$ conda update conda

Now, we can create an environment (here ‘gpaw-env’ name is used. You can use any name) and activate it:

$ conda create --name gpaw-env
$ conda activate gpaw-env

Then, install GPAW and Elastic packages

$ conda install -c conda-forge gpaw elastic requests phonopy

NOTE: For the energy consumption measurement feature, you can install mongo and pandas packages with conda. However, you must install only pyRAPL with pip in the next step. This workflow and the energy consumption measurement feature is not tested on conda yet. Please submit a better installation solution in this page. Thanks.

Lastly, download and install gpaw-tools.

NOTE: Sometimes, after this step, mpirun -np <core_number> runs seperately in a number of core_number instances. If you observe this kind of execution, please deactivate conda deactivate then remove environment conda remove --name gpaw-env --all then create same environment again conda create --name gpaw-env then activate it conda activate gpaw-env and then install all files again conda install -c conda-forge gpaw elastic requests. Problem must be solved. If it is not solved, please open a new issue about your problem.