The Qbics program offers two installation methods. First, users can download a pre-built package directly, available for both Windows and Linux. Secondly, for Linux users, there’s a "one-click compile and install" option, a streamlined process designed for efficient compilation and installation on Linux systems.
To date, our development team has achieved successful compilation and testing of Qbics software across multiple high-performance servers, ensuring we deliver a more reliable and high-quality experience to users.
Solution: To address this, in the Makefile-linux-cpu file, add $(LIBPLUMED) before $(LIBFFTW) in the LIBS section. This ensures the PLUMED library is correctly linked prior to FFTW, enabling proper functionality and preventing runtime errors.
Error Report:Error – FFTW Library Missing PLUMED Support This issue arose due to the unavailability of PLUMED library support for the FFTW library during compilation. It is essential to resolve this, as both libraries are fundamental to Qbics' computations, particularly when performing advanced simulations in computational chemistry.Solution: Set CXXFLAGS="-O1". For cases involving the PLUMED library, this can be specified within build.sh by including export CXXFLAGS="-O1" in the PLUMED section. Additionally, remove parallel commands after make by deleting -j${numCores} to prevent excessive memory usage.
Error Report:Fatal Error – g++: Killed Signal Terminated Program cclplus This error indicates that memory or computational resources were insufficient during the linking stage. Adjusting the compilation optimization level can help mitigate resource demands and stabilize the build process.Optimization Solution: In the Makefile-linux-cpu file, modify CXXFLAG from -O2 to -O1. This adjustment reduces the optimization level, allowing compilation to proceed with reduced memory demand, improving compatibility with limited-resource servers.
Error Report:Memory Limitation Issue – "cclplus" The compilation encountered memory limitations due to the complex calculations required by cclplus, potentially leading to crashes or timeouts in low-resource environments.