Pre-configured environment for Quantum ESPRESSO and XCrySDen for scientific computations.
1.1K
This Docker image includes a pre-configured environment for Quantum ESPRESSO (QE) and XCrySDen, optimized for scientific computations and visualization of crystalline structures and densities. It is intended to be used for material science simulations and research.
To pull the image from Docker Hub, use the following command:
docker pull emrahidman/qeimage:latest
To run the container with XCrySDen support on a Mac M1, ensure you have XQuartz installed and running, then use:
xhost + 127.0.0.1
docker run -it --platform linux/amd64 -e DISPLAY=host.docker.internal:0 -v /tmp/.X11-unix:/tmp/.X11-unix -v <local_file_path>:/mnt/QuantumEspresso emrahidman/qeimage /bin/bash
docker run -it --platform linux/amd64 -e DISPLAY=host.docker.internal:0 -v /c/Users/yourusername/QuantumEspresso:/mnt/QuantumEspresso yourusername/qeimage /bin/bash
After starting the container, set the DISPLAY environment variable if necessary and run XCrySDen:
export DISPLAY=host.docker.internal:0
cd /xcrysden
./xcrysden
Set parameters for executing Quantum Espresso as "root" user
export OMPI_ALLOW_RUN_AS_ROOT=1
export OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1
You can run pw.x(or other calculation commands) in both single and parallel execution modes.
Single Execution:
/q-e-qe-6.7MaX/bin/pw.x -in input_file > output_file
Parallel Execution:
mpirun -np 4 /q-e-qe-6.7MaX/bin/pw.x -in input_file > output_file
This image is provided under the MIT License. Quantum ESPRESSO and XCrySDen have their own licenses. Please refer to their respective documentation for details.
Content type
Image
Digest
sha256:cb5f634fa…
Size
2.1 GB
Last updated
about 2 years ago
docker pull emrahidman/qeimage