Setting up your environment this way avoids most errors on this page.
| Practice | What happens if you skip it |
|---|---|
| Run ulimit -s unlimited and export OMP_STACKSIZE=4G before calculations, and put them in job scripts on clusters. | Large systems fail with Segmentation fault or SIGSEGV. |
| Set export OMP_NUM_THREADS=<cores>,1 and export OMP_MAX_ACTIVE_LEVELS=1. | Nested parallelism oversubscribes threads, slowing runs or blowing up memory. |
| Install with conda install -c conda-forge xtb crest and keep xtb on the latest build. | Old builds meet a newer Fortran runtime and geometry optimizations fail with Fortran runtime error. |
| When CREST uses OpenBLAS, set export OPENBLAS_NUM_THREADS=1. | CREST's own parallelism stacks on OpenBLAS threads and overloads the CPU. |
| Make sure xtb runs directly from PATH before running CREST. | Some CREST modes call the xtb program and cannot run without it. |
Troubleshooting by error message
Find your exact error message. Each entry gives the cause, the fix, and what may come up after the fix.
Segmentation fault (or forrtl: severe (174): SIGSEGV, segmentation fault occurred, on large systems or many cores)
Cause: The stack is too small. The system default is about 8 MB, and large systems use it up.
Fix: Run ulimit -s unlimited before calculating; with several cores also set export OMP_STACKSIZE=4G, then run again.
What may come next: Every thread reserves OMP_STACKSIZE of memory, and the official docs mention about 16 GB per thread for a 3000-atom system, so use fewer threads if memory runs short.
Fortran runtime error: Missing comma between descriptors (At line 852 of file ../src/optimizer.f90, xtb 6.7.1 from conda)
Cause: After libgfortran in the conda environment moved to 15, older builds of xtb 6.7.1 use an output format the new runtime rejects, and geometry optimization stops in the first cycle.
Fix: Run conda update -c conda-forge xtb to get the fixed build or 6.8.0; if you cannot update yet, downgrade libgfortran in the environment to 14.2.0.
What may come next: Downgrading libgfortran affects other Fortran programs in the same environment, so give xtb its own environment.
GFN2 calculations fail with xtb 6.7.1 installed by conda on Windows (GFN-FF works)
Cause: The Windows conda build of xtb 6.7.1 has a problem with the GFN2 method.
Fix: Update to 6.8.0 with conda update -c conda-forge xtb, or install the Linux build of xtb in WSL2.
Intel MKL ERROR: Parameter 6 was incorrect on entry to DLASWP. (when running CREST)
Cause: CREST built with Intel compilers and MKL hits a memory problem under nested OpenMP parallelism.
Fix: Use a CREST build with GNU compilers and the OpenBLAS backend (the conda-forge build is one); as a stopgap run single-threaded with -T 1.
What may come next: Single-threaded runs avoid the error but make conformer searches much slower.
CMake Error at config/modules/crest-utils.cmake:125 (add_library): add_library cannot create imported target "mctc-lib::mctc-lib" because another target with the same name already exists.
Cause: Newer mctc-lib already provides this CMake target, and the CREST 3.0.2 find script creates it a second time.
Fix: Build from CREST's latest master branch instead, or install with conda install -c conda-forge crest.
Error: Symbol ‘cds_input’ referenced at (1) not found in module ‘tblite_solvation’ (when building CREST)
Cause: The build picked up an outdated tblite module on the cluster that lacks the solvation interface CREST needs.
Fix: Do not load the cluster tblite module; run git submodule init and git submodule update and rebuild with the tblite bundled with CREST.
What may come next: The tblite, mctc-lib and other libraries CREST uses must match each other, so mixing cluster modules with submodules easily leads to new link errors.
Scientify is a cloud computer with research software installed and AI agents such as Codex and Claude Code built in. Describe what you need in one sentence, for example "run a CREST conformer search on this drug molecule and optimize the lowest-energy conformers with GFN2-xTB", and the agent uses the preinstalled xtb and CREST to do the modeling and computation, with no software to install and no code to write.
Compared with installing more on your own computer, the cloud computer already has xtb 6.7.1 and CREST 3.0.2, using an xtb build that already includes the Fortran runtime fix, so geometry optimizations do not hit the Missing comma error above, and runs continue after you close your laptop.
The cloud computer comes with more computing power: CPU and GPU clusters can be called on demand for large-scale scientific computing. Compute is billed by the minutes you actually use, so nothing is wasted.
- Cloud computer
- 4 vCPU · 8 GB
- Top configuration, for data processing and small to medium jobs
- Callable GPU
- 96 GB VRAM
- Up to an RTX PRO 6000 per GPU; H800 80 GB and up to 8 × A10G also available
- Callable CPU
- 224 cores · 3 TB
- Largest spec, for large parallel computations
References
- xtb docs: setup and environment — ulimit, OMP_STACKSIZE, OMP_NUM_THREADS and OMP_MAX_ACTIVE_LEVELS
- xtb README — Install routes and prebuilt binaries
- CREST installation — conda-forge and OPENBLAS_NUM_THREADS
- xtb issue #694 — Large-system crashes fixed with enough OMP stack
- dftd4 issue #218 — SIGSEGV and ulimit -s unlimited
- xtb issue #1277 — A libgfortran update broke conda xtb optimizations; downgrading to 14.2.0 works
- xtb issue #1332 — Missing comma between descriptors
- conda-forge xtb-feedstock PR #48 — GCC 15 fix backported into the conda build
- xtb issue #1386 — GFN2 problems with conda xtb 6.7.1 on Windows
- CREST issue #285 — The Intel MKL DLASWP error and GNU builds
- CREST issue #486 — Duplicate mctc-lib::mctc-lib target
- CREST issue #405 — Outdated tblite modules and git submodules