Skip to content

Technical Aspects

19 Topics 92 Posts

Seek assistance, discuss troubleshooting tips for any technical problem you encounter and report bugs

Subcategories


  • Scripts, Objects, Libraries

    4 13
    4 Topics
    13 Posts
    GiacomoAmbrogio
    Hi Jack, compiling from objects on Apple Silicon is possible, but there are two critical requirements: You must use OpenMPI built with the same GNU Fortran version used to compile the object files (in particular gfortran 12.1) You must use the MPI compiler wrappers (mpif90, mpicc, mpicxx) instead of the plain compilers for the final linking stage The default include file is almost correct. The only necessary changes are the compiler definitions. Replace the first lines with: F90 = mpif90 LD = $(F90) PLD = mpif90 Keep the rest unchanged. Important notes The OpenMPI you use must be built against gfortran 12.1. You can check with: mpif90 --show or mpif90 --version and verify that it points to gfortran-12. Do not mix different GNU Fortran versions (e.g. gfortran 13 or Apple clang). A mismatch here is the most common cause of runtime failures.
  • Pcrystal, MPPcrystal, MPI, OpenMP, GPUs

    7 37
    7 Topics
    37 Posts
    GiacomoAmbrogio
    Hi Jack, the parallel version of CRYSTAL23 shipped for Apple Silicon is built with OpenMPI 4.1.1, therefore it is essential that the code is executed using the same mpirun version (or at least the same major version, ie 4.x.x). If a different OpenMPI installation is used (for example the Homebrew 5.x one), the program may start but fail internally, leading to errors such as the abnormal SCF termination you originally observed. Concerning the message ls: No match. this is just a standard shell warning printed when the ls command does not find the files it is looking for. It is probably produced by the run script when it tries to list some output or scratch files that may not exist (for example if the job stops before all files are written). It is not an error of CRYSTAL itself. You may try searching inside the run script to locate the line containing the ls command. From the path and filename it is trying to list, you can understand whether the file is genuinely not produced or if the script is looking in the wrong path. Hope this helps.
  • Report bugs with reproduciple example

    8 42
    8 Topics
    42 Posts
    aerba
    Dear Marco, Thank you for your very detailed analysis. We had a look in the code and can indeed confirm that this is a bug. For "historical reasons", atomic radii for DFT integration in CRYSTAL are tabulated up to atomic number 98 (Cf). Einsteinium (99) is the first excluded element. Unfortunately, its radius can not be user-defined via the keyword RADIUS because in CRYSTAL atomic number 99 meant "I'm done!" (as you may have seen in the basis set input block which ends with a string "99 0"). So I am afraid there is no way to run a meaningful DFT calculation with CRYSTAL23 for Es. We are now working at a bug-fix that we will include in future versions of the code. Sorry not to have better news this time around, and Thanks for reporting this issue!
  • Technical and scientific tips on interfacing CRYSTAL with other software

    0 0
    0 Topics
    0 Posts
    No new posts.