MULTEM is a powerful and advanced collection of C++ routines with CUDA support, designed to perform efficient and accurate multislice simulations for various TEM experiments such as HRTEM, STEM, ISTEM, ED, PED, CBED, ADF-TEM, ABF-HC, EFTEM, and EELS.
It seems still has some issues using device_functions.h.
Error using mex
In file included from /home/zzhang/OneDrive/compile/multem/src/gpu_fcns.cuh:35,
from /home/zzhang/OneDrive/compile/multem/src/output_multislice.hpp:33,
from /home/zzhang/OneDrive/compile/multem/mex_files_multem/ilc_multem.cu:26:
/opt/cuda/include/device_functions.h:54:2: warning: #warning "device_functions.h is an internal header file and must not be used
directly. This file will be removed in a future CUDA release. Please use cuda_runtime_api.h or cuda_runtime.h instead." [-Wcpp]
54 | #warning "device_functions.h is an internal header file and must not be used directly. This file will be removed in a future
CUDA release. Please use cuda_runtime_api.h or cuda_runtime.h instead."
| ^~~
sh: line 1: cicc: command not found
System: Manjaro CUDA: 11.8 gcc/g++: 12.2.1
It seems still has some issues using
device_functions.h
.The full log error.log