MateriApps LIVE! and MateriApps Installer: Environment for starting and scaling up materials science simulations
필름·전자재료 · (16) CPI(투명 폴리이미드)
기본 정보
- 저자
- DOI
- 10.1016/j.softx.2022.101210
- 저널
- SoftwareX
- 발행년도
- 2022
- 발행기관
- Elsevier BV
- 피인용수
- 3
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1016/j.softx.2022.101210
- 토픽
- Electron and X-Ray Spectroscopy Techniques
- OpenAlex ID
- W4229013116
평가 내용
- 관련도
- 사업분야
- 필름·전자재료 · (16) CPI(투명 폴리이미드)
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '필름·전자재료 > CPI(투명 폴리이미드)' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
초록이 없습니다.
본문 51,423자
본문 펼치기
섹션 본문 55문단 · 19,395자
(제목 없음)
1In our current era, numerical simulations have become indispensable theoretical and experimental tools for use in daily research activities, particularly in the materials science fields. However, the installation processes for such simulations frequently become problematic because they depend strongly on the device environment, and troubleshooting those processes is a challenging task for beginners. To minimize such difficulties, we created MateriApps LIVE! and MateriApps Installer, which can solve most of the related issues. Specifically, MateriApps LIVE! offers a virtual environment in which users can quickly try out computational materials science simulations on a personal computer while MateriApps Installer provides a comprehensive set of shell scripts for use when installing software on Unix, Linux, macOS, and supercomputer systems. Herein, we provide detailed descriptions of Materi-Apps LIVE! and MateriApps Installer together with illustrative examples of their use.
Motivation and Significance
2Numerical simulations are now indispensable tools for both theorists and experimentalists in materials science because precise simulations can help elucidate mechanisms behind novel phenomena, predict the various physical properties of new materials, and help identify candidate materials with desired performance characteristics. In computational materials science, new methods are being proposed daily and a wide range of software is being developed actively. Now, because of diverse cutting-edge software developments, users can easily employ highly parallelized numerical simulations based on efficient algorithms and state-of-the-art functionalities without the necessity of writing code by themselves. In an effort to consolidate and disseminate information on materials science software, we launched the MateriApps portal site for material science simulations in 2013 [1, 2], thus providing a wellorganized forum where users could quickly search and find materials science software with desired functionalities, as well as obtain detailed information on each application.
3However, while the promotion of such software dissemination activities requires preparing environments in which users can quickly start testing materials science software, the process of installing such software frequently becomes problematic. This is because most such software requires the use of a command-line interface on the terminal window, which is an extremely high barrier for beginners to overcome. Furthermore, even during hands-on software sessions in which instructors teach software installation processes in detail, such procedures are still troublesome because they depend on the participant's personal computer (PC) environment. Nevertheless, it is clear that most such issues could be resolved by utilizing an environment in which users can easily install software without concerning themselves with operating system (OS) and software details. For this purpose, we developed MateriApps LIVE! [3], which offers a virtual environment in which users can quickly try out computational materials science simulation on PCs.
4Suppose users want to execute simulations for real problems that require significant system resources. In such cases, virtual environments are not practical because the memory size is minimal, and there is a non-negligible virtualization overhead. In addition, there are numerous situations where virtual environments are unavailable due to machine architectures, company regulations, computer system operating policies, and other issues. In those cases, users must install and maintain the software by themselves while also making the appropriate setting changes to the compiler options and numerical libraries that will leverage the computer system's performance. Another critical issue is the need to manage the installation scripts consistently and organize them appropriately for reuse. This is particularly important when preinstalling software on large-scale supercomputers. To overcome these problems, we have developed MateriApps Installer [4], which provides a comprehensive set of shell scripts for software installations on Debian GNU/Linux (Ubuntu), CentOS (RedHat), macOS, and many supercomputer system environments.
5We summarize common usage images of MateriApps, MateriApps LIVE!, and Materials Installer in Fig. 1 (a). First, users utilize the MateriApps portal site to find the suitable software for their purposes. Next, they try software on their PCs using MateriApps LIVE!. Finally, if they hope to maximize software's performance, they start to use MateriApps Installer. The target computers that are assumed in MateriApps LIVE! and MateriApps Installer are also summarized in Fig. 1 (b).
6The remainder of this paper is organized as follows: In Sec. 2, we provide a detailed explanation of the architecture and functionalities of MateriApps LIVE! and MateriApps Installer, while in Sec. 3, we give illustrative examples of how to use both products. In Sec. 4, we discuss the effects of MateriApps LIVE! and MateriApps Installer on the promotion of materials science simulations, while in Sec. 5, we provide concluding remarks.
Software Architecture
7MateriApps LIVE!, which is a Debian GNU/Linux OS that includes various preinstalled materials science software packages, is distributed as a virtual machine snapshot in the open virtualization appliance (OVA) format. As a first step, each simulation software package is prepared as a Debian package and uploaded to the MateriApps package repository, where it is managed with Debian's advanced packaging tool (APT). Later, as each original software version is upgraded, its corresponding Debian package is updated and uploaded accordingly so that users can promptly use the latest version of the simulation software. The MateriApps LIVE! OVA file is generated automatically using the Packer image-building tool. Note that Debian packages are freely available from the MateriApps package repository and can be installed, via APT, on systems already running on Debian GNU/Linux (bullseye/buster/stretch) and Ubuntu (focal/bionic).
8Separately, MateriApps Installer is a collection of shell scripts (compatible with the POSIX standard) that is intended for use when installing materials science programs. As a matter of design policy, MateriApps Installer limits its requirements to just a few fundamental tools such as POSIX-compatible shells, make, and tar. However, in addition to materials science programs, MateriApps Installer offers install scripts for dependencies such as GCC and CMake, even though the official or standard package managers (e.g., Debian packages, RedHat RPM, and Homebrew) are normally recommended. In use, MateriApps Installer installs each version of each tool/application into a separate directory. For example, in the case of CMake 3.22.3, all files are installed into $MA_ROOT/cmake/cmake-3.22.3-1 so they do not interfere with the previous versions and other tools. The last number added, 1, denotes the MateriApps Installer script revision (e.g., the set of compile options). Note that users can choose a different installation location for each software package by changing the $MA_ROOT environment variable. Additionally, since MateriApps Installer installs shell scripts for setting environment variables, such as $PATH, for each tool/application/version, users can activate each software package as needed. When designing Materi-Apps Installer, we separated the installation procedure from the linking process, so new software installations do not affect anything else until the linking is complete. Additionally, the software version is maintained as closely as possible to MateriApps LIVE!, and for ease of maintenance, MateriApps LIVE! and MateriApps Installer utilize the same source code patches.
Software Functionalities
9MateriApps LIVE! offers an environment in which users can "test drive" computational materials science simulations freely using user's PC or similar device. The entire environment required to launch the tutorials, including the OS (Debian GNU/Linux), editors, materials science applications, and visualization tools, is provided as an OVA file. After the OVA file is imported into a virtual machine software product such as VirtualBox, various computational materials science simulators immediately become available.
10On the other hand, MateriApps Installer is a collection of shell scripts designed to assist users when installing computational material science applications that includes all the necessary tools and libraries for various computing environments. Currently, MateriApps Installer supports Debian GNU/Linux (Ubuntu), CentOS (RedHat), macOS, and many major supercomputer systems. In Table 2, we summarize the software packages and tools that are currently preinstalled in MateriApps LIVE! and supported by MateriApps Installer (in bold). Here, we marked * to 2dmat in the table since 2dmat is supported by MateriApps Installer but not preinstalled in MateriApps LIVE!. This is because 2dmat is the software using MPI parallelization for large size of computations and thus it is expected that efficient calculations are not performed on MateriApps LIVE!. In MateriApps LIVE!, a user with the username "user" is predefined with the password "live". After logging into MateriApps LIVE!, the user opens LXTerminal from the "Start Menu" (the leftmost icon on the menu bar), then navigates → System Tools, and then → LXTerminal (Figure 2). This shows that it is possible to execute various software packages in the terminal window without a cumbersome installation process or worrying about environment variable setting. The executable binary files of the software packages are located in /usr/bin, and the utility tools and example files are installed in /usr/share/software name directory.
Updating software
11Numerous software packages are being actively developed, and many are being frequently updated. In the MateriApps LIVE! development system, Debian packages are continuously updated according to their upstream upgrades, which means users can easily update their application packages via the following steps: 1 $ sudo apt update $ sudo apt upgrade
Running a simulation
12As an example, we will now demonstrate how to perform the exact diagonalization for quantum lattice models by using the HΦ [27] software package. Let us start by showing how to calculate the temperature dependence of the magnetic susceptibility of the antiferromagnetic Heisenberg (AFH) chain using the thermal pure quantum (TPQ) method [84,85].
13First, we copy the sample files from /usr/share/hphi/samples to a working directory, e.g., $HOME/hphi: $ cd $ mkdir hphi && cd hphi $ cp -r /usr/share/hphi/samples ./ In HΦ v3.5.0, which is currently the latest version, users can find the sample input file for the TPQ calculation of the AFH chain at tutorial 2.1/stan3.in. At that point, the user executes HΦ using the following commands:
14$ cd $HOME/hphi/samples/tutorial_2.1 $ HPhi -s stan3.in The results are then saved into the output directory. By using a postprocessing script AveFlct.py to calculate susceptibility, users can generate the magnetic susceptibility as follows:
15$ python3 AveFlct.py
16The generated data are then saved into a file named ave Flct.dat. Finally, the result is visualized by using Gnuplot (Fig. 3):
17$ gnuplot gnuplot> set log x gnuplot> set colors classic gnuplot> set xlabel "T/J" gnuplot> set ylabel "chi" gnuplot> pl "ave_Flct.dat" u 1:5:6 w ye lc rgb "#FFBBBB" pt 6 t"", \ "" u 1:5 w lp lt 1 pt 6 t"chi
18For HΦ details, please refer to the official tutorial [26].
MateriApps Installer
19In this section, we describe how to set up MateriApps Installer and install tools and applications on Linux OS. A MateriApps Installer zip file can be downloaded from the official website [4]. After opening the zip file, users can obtain all the shell scripts included in MateriApps Installer. If Git is available, MateriApps Installer can be cloned by typing the following command:
20$ git clone https://github.com/wistaria/MateriAppsInstaller
21The MateriApps Installer directory structure is as follows:
22The following scripts and file directories are available.
23• check_prefix.sh: Displays variables that are commonly used in each script, such as the top installation directory.
24• docs directory: A directory containing the manual and its source code.
25• macos directory: A directory containing scripts used to install the necessary tools using Macports.
26• setup directory: A directory containing scripts used to prepare for software installation.
27The directory structure in setup, tools, and apps is given as follows:
28Each file and directory is described as shown below:
29• README.md: Includes a brief introduction of the software and the URLs of the official website.
30• download.sh*: Download the source code archive.
31• install.sh*: Build and install the software.
32• link.sh *: Create symbolic links to installed directories and configuration files.
33• setup.sh*: Extract the prepared source code archive and apply the patch (if it exists).
34• version.sh*: Specify the version to download.
35• patch directory: The directory where the patches are stored.
36• config directory: Additional settings for installation other than the default settings, such as when using the Intel Compiler.
37Here, a file marked with an * indicates a file that must always be present in the directory. Below, we show how to install the tools and software through a step-by-step demonstration.
Installing tools
38First, perform the initial setup by entering the MateriApps Installer source directory and executing the following command:
$ sh setup/setup.sh
39This command prepares the directory where tools and applications will be installed. The default location is $HOME/materiapps/. 2 Next, the compiler is installed. Here, it should be noted that while the compiler installed in the system can also be used for installing other tools and applications, some applications may not compile well with the old version of GCC. If users have little experience in solving compilation problems, it is strongly recommended that they use the GCC installed by MateriApps Installer. To install GCC 10, execute the following commands:
40$ cd tools/gcc10 $ sh install.sh
41After finishing the installation, execute $ sh link.sh to set up an appropriate symbolic link.
42Many recent tools and applications, including the major Linux distributions, include CMake to facilitate installation processes. However, to avoid potential installation problems, it is recommended that the latest CMake version is installed by MateriApps Installer. To install CMake, execute the following commands in the MateriApps Installer source directory:
43The other tools can be installed using the same process. Note that GCC, Git, libffi, and Python3 must be installed in that order before the other tools can be installed. After installing the above tools, the user should install the remaining tools required for applications, e.g., in alphabetical order (e.g., Boost, Eigen3, FFTW, GSL, HDF5, LAPACK, OpenMPI, OpenSSL, ScaLAPACK, TclTk, and Zlib).
Installing applications
44After installing the tools, users can install the application by entering the directory of the application to be installed and executing the installation script install.sh as follows:
$ sh install.sh
45Users can then check whether the installation was successful by running the check script using the following command:
$ sh runtest.sh
46It should also be noted that if the application installation was terminated during the process, some files may remain in incomplete form in $HOME/materiapps/application name-directory and will cause errors when reinstallation is attempted. In such cases, users have to remove the directory of the target application by hand. If errors are encountered during installation, please read the error messages carefully. Most errors result when the required tools are not installed.
47Once the test has been completed, execute the following command to prepare an appropriate link to the application setting script:
48$ sh link.sh
Running applications
49Before running the application, the environment variables must be set. The following command sets the variables required for HΦ: 3 $ source $HOME/materiapps/hphi/hphivars.sh
50The sample files can be found in $HPHI ROOT/samples. Users can execute HΦ using the same process described in Sec. 3.1:
51$ cd $ mkdir hphi && cd hphi $ cp -r $HPHI_ROOT/samples ./ $ cd $HOME/hphi/samples/tutorial_2.1 $ HPhi -s stan3.in
Impact
52MateriApps LIVE! allows computer simulation non-experts to start a simulation in just a few minutes, while MateriApps Installer makes it easy to run simulations on computer clusters and supercomputers, thereby facilitating larger-scale and more accurate simulations than ever before. As a result, Ma-teriApps LIVE! and MateriApps Installer free users from cumbersome simulation software installation and upgrade processes, thereby enabling them to seamlessly use the same version of the software on any device from users' PCs to state-of-the-art supercomputers (see also Fig. 1 (b)). These significant advantages, which cannot be achieved by previous approaches, are expected to contribute significantly to the promotion of computational simulation research by encouraging an increasing number of experimental and industrial researchers to engage in new simulations.
53The use of MateriApps LIVE! and MateriApps Installer for materials science simulations has been progressing steadily. In fact, MateriApps LIVE! has been downloaded more than 10,000 times since its first release in 2013 and won Open Source Excellence Award from SourceForge in 2022. Additionally, the MateriApps LIVE! environment has been used in more than 30 lectures and workshops attended by more than 1,000 participants. It has also been utilized in internal corporate training, hands-on seminars, and in universities for undergraduate and graduate student classes.
54Separately, the use of MateriApps Installer has been gradually increasing since the release of version 1.0.0 in March 2021, and it has already been used for installing materials science software on supercomputers at the Institute for Solid State Physics (ISSP) at the University of Tokyo, and the High-Performance Computing Infrastructure (HPCI) in Japan. We anticipate that other companies will soon provide support, simulation services, and consulting for computational materials science simulations based on the MateriApps environment.
Conclusions
55In this paper, we showed how MateriApps LIVE! and MateriApps Installer help users get started with materials science simulations. More specifically, we showed that MateriApps LIVE! provides a virtual environment that immediately enables users to try out materials science simulations on users' PC. This environment dramatically reduces the barriers encountered by nonexperts who want to start utilizing various simulation packages in unified OS settings. Separately, MateriApps Installer provides a comprehensive set of shell scripts to facilitate the installation of software on Unix, Linux, macOS, and supercomputer systems. Conducting installations via this script collection enables users to maximize the performance of high-end workstations, laboratory-level computer clusters, and supercomputers in materials science simulations. Since our ultimate goal is promoting further research and development in computational materials science, we believe that it is crucial for us to continue the development of MateriApps LIVE! and MateriApps Installer, as well as the MateriApps portal site, by adding new software packages and updating the currently included software products.
참고문헌 45건
- GROMACS: High performance molecular simulations through multi-level parallelism from laptops to supercomputers SoftwareX · Elsevier BV · 2015 10.1016/j.softx.2015.06.001
- Tackling Exascale Software Challenges in Molecular Dynamics Simulations with GROMACS Lecture notes in computer science · Springer Science+Business Media · 2015 10.1007/978-3-319-15976-8_1
- Kernel method for corrections to scaling Physical Review E · American Physical Society · 2015 10.1103/physreve.92.012106
- Thermal Pure Quantum States at Finite Temperature Physical Review Letters · American Physical Society · 2012 10.1103/physrevlett.108.240401
- Canonical Thermal Pure Quantum State Physical Review Letters · American Physical Society · 2013 10.1103/physrevlett.111.010401
- CIF2Cell: Generating geometries for electronic structure programs Computer Physics Communications · Elsevier BV · 2011 10.1016/j.cpc.2011.01.013
- The ALPS Project: Open Source Software for Strongly Correlated Systems Journal of the Physical Society of Japan · Physical Society of Japan · 2005 10.1143/jpsjs.74s.30
- RASMOL: biomolecular graphics for all Trends in Biochemical Sciences · Elsevier BV · 1995 10.1016/s0968-0004(00)89080-5
- <i>VESTA 3</i> for three-dimensional visualization of crystal, volumetric and morphology data Journal of Applied Crystallography · Wiley · 2011 10.1107/s0021889811038970
- VMD: Visual molecular dynamics Journal of Molecular Graphics · Elsevier BV · 1996 10.1016/0263-7855(96)00018-5
- The Spack package manager 2015 10.1145/2807591.2807623
- Visualization and analysis of atomistic simulation data with OVITO–the Open Visualization Tool Modelling and Simulation in Materials Science and Engineering · IOP Publishing · 2009 10.1088/0965-0393/18/1/015012
- Electronic Structure Ni–Pd Alloys Calculated by the Self-Consistent KKR-CPA Method Journal of the Physical Society of Japan · Physical Society of Japan · 1982 10.1143/jpsj.51.468
- Anharmonic force constants extracted from first-principles molecular dynamics: applications to heat transfer simulations Journal of Physics Condensed Matter · IOP Publishing · 2014 10.1088/0953-8984/26/22/225402
- Variationally optimized atomic orbitals for large-scale electronic structures Physical review. B, Condensed matter · American Physical Society · 2003 10.1103/physrevb.67.155108
- Bayesian inference in the scaling analysis of critical phenomena Physical Review E · American Physical Society · 2011 10.1103/physreve.84.056704
- XCrySDen—a new program for displaying crystalline structures and electron densities Journal of Molecular Graphics and Modelling · Elsevier BV · 1999 10.1016/s1093-3263(99)00028-5
- QUANTUM ESPRESSO: a modular and open-source software project for quantum simulations of materials Journal of Physics Condensed Matter · IOP Publishing · 2009 10.1088/0953-8984/21/39/395502
- TRIQS/CTHYB: A continuous-time quantum Monte Carlo hybridisation expansion solver for quantum impurity problems Computer Physics Communications · Elsevier BV · 2015 10.1016/j.cpc.2015.10.023
- The ALPS project release 2.0: open source software for strongly correlated systems Journal of Statistical Mechanics Theory and Experiment · Institute of Physics · 2011 10.1088/1742-5468/2011/05/p05001
- GROMACS 4.5: a high-throughput and highly parallel open source molecular simulation toolkit Bioinformatics · Oxford University Press · 2013 10.1093/bioinformatics/btt055
- Numerical atomic basis orbitals from H to Kr Physical Review B · American Physical Society · 2004 10.1103/physrevb.69.195113
- Open Babel: An open chemical toolbox Journal of Cheminformatics · BioMed Central · 2011 10.1186/1758-2946-3-33
- Recent progress with large‐scale <i>ab initio</i> calculations: the CONQUEST code physica status solidi (b) · Wiley · 2006 10.1002/pssb.200541386
- TRIQS/DFTTools: A TRIQS application for ab initio calculations of correlated materials Computer Physics Communications · Elsevier BV · 2016 10.1016/j.cpc.2016.03.014
- Solving Software Challenges for Exascale Lecture notes in computer science · Springer Science+Business Media · 2015 10.1007/978-3-319-15976-8
- Quantum lattice model solver <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="mml23" display="inline" overflow="scroll" altimg="si23.gif"><mml:mi mathvariant="script">H</mml:mi><mml:mi mathvariant="normal">Φ</mml:mi></mml:math> Computer Physics Communications · Elsevier BV · 2017 10.1016/j.cpc.2017.04.006
- Advanced capabilities for materials modelling with Quantum ESPRESSO Journal of Physics Condensed Matter · IOP Publishing · 2017 10.1088/1361-648x/aa8f79
- mVMC—Open-source software for many-variable variational Monte Carlo method Computer Physics Communications · Elsevier BV · 2018 10.1016/j.cpc.2018.08.014
- SALMON: Scalable Ab-initio Light–Matter simulator for Optics and Nanoscience Computer Physics Communications · Elsevier BV · 2018 10.1016/j.cpc.2018.09.018
- FermiSurfer: Fermi-surface viewer providing multiple representation schemes Computer Physics Communications · Elsevier BV · 2019 10.1016/j.cpc.2019.01.017
- The ALPS project release 1.3: Open-source software for strongly correlated systems Journal of Magnetism and Magnetic Materials · Elsevier BV · 2006 10.1016/j.jmmm.2006.10.304
- Wannier90 as a community code: new features and applications Journal of Physics Condensed Matter · IOP Publishing · 2019 10.1088/1361-648x/ab51ff
- RESPACK: An ab initio tool for derivation of effective low-energy model of material Computer Physics Communications · Elsevier BV · 2020 10.1016/j.cpc.2020.107781
- Variational and diffusion quantum Monte Carlo calculations with the CASINO code The Journal of Chemical Physics · American Institute of Physics · 2020 10.1063/1.5144288
- Recent developments in the general atomic and molecular electronic structure system The Journal of Chemical Physics · American Institute of Physics · 2020 10.1063/5.0005188
- Variational and diffusion quantum Monte Carlo calculations with the CASINO code The Journal of Chemical Physics · American Institute of Physics · 2020 10.1063/1.5144288
- DCore: Integrated DMFT software for correlated electrons SciPost Physics · SciPost.org · 2021 10.21468/scipostphys.10.5.117
- DSQSS: Discrete Space Quantum Systems Solver Computer Physics Communications · Elsevier BV · 2021 10.1016/j.cpc.2021.107944
- DCore: Integrated DMFT software for correlated electrons SciPost Physics · SciPost.org · 2021 10.21468/scipostphys.10.5.117
- LAMMPS - a flexible simulation tool for particle-based materials modeling at the atomic, meso, and continuum scales Computer Physics Communications · Elsevier BV · 2021 10.1016/j.cpc.2021.108171
- Bayesian optimization package: PHYSBO Computer Physics Communications · Elsevier BV · 2022 10.1016/j.cpc.2022.108405
- TeNeS: Tensor network solver for quantum lattice systems Computer Physics Communications · Elsevier BV · 2022 10.1016/j.cpc.2022.108437
- Data-analysis software framework 2DMAT and its application to experimental measurements for two-dimensional material structures Computer Physics Communications · Elsevier BV · 2022 10.1016/j.cpc.2022.108465
- Updated Core Libraries of the ALPS Project arXiv (Cornell University) · Cornell University · 2018 10.48550/arxiv.1811.08331