Docker Image का उपयोग¶
आधिकारिक runtime Docker image का उपयोग करने पर FrontISTR को उसकी dependency libraries अलग से install किए बिना चलाया जा सकता है। Docker स्वयं install करने के लिए अपने environment के documentation देखें।
Image प्राप्त करना¶
Image में execution के लिए आवश्यक निम्न libraries शामिल हैं।
- MPI: Open MPI
- METIS
- MUMPS
- Trilinos ML
- Intel MKL (x86_64 environments)
Analysis चलाना¶
Host working directory (जहाँ input files हैं) को container के साथ share करके analysis चलाएँ। Directory share करने के लिए -v और working directory निर्दिष्ट करने के लिए -w उपयोग करें।
docker run --rm -v $PWD:/work -w /work \
registry.gitlab.com/frontistr-commons/frontistr/fistr1:latest fistr1
Image का default command fistr1 है (source: docker/container/Dockerfile, CMD ["fistr1"])। Version check जैसे options देने के लिए image name के बाद command निर्दिष्ट करें।
Input files तैयार करने और control files लिखने के लिए Analysis Flow देखें।
MPI Parallel Execution¶
MPI parallel execution container के भीतर mpirun के माध्यम से की जाती है। विशिष्ट execution commands और domain-decomposition procedure के लिए Parallel Analysis देखें।