-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error: use of undeclared identifier 'assert' when compiling LAMMPS #20
Comments
Hi @wuziqi-cmu, There may be something of use to you in #8 or #10... but as I said there, we do not support macOS. Things may work, but I wouldn't expect it to and we do not support it. (Note that |
btw, the error in #10 can be resolved by changing |
Hm strange it would stop working... since it's in Re the error in #10, very good to know— I'd be happy to look over a PR that fixes this by subbing |
Hi there,
I am on Mac OS 10.15.6. When I was trying to compile LAMMPS with NequIP patched with the following command:
cmake -D BUILD_LIB=yes -D BUILD_SHARED_LIBS=yes -D BUILD_MPI=ON -D BUILD_OMP=yes -D PKG_MPIIO=ON -D LAMMPS_EXCEPTIONS=yes -D PKG_MANYBODY=ON -D PKG_MISC=ON -D PKG_MISC=ON -D PKG_EXTRA-COMPUTE=ON -D PKG_EXTRA-DUMP=ON -D PKG_EXTRA-FIX=ON -D PKG_EXTRA-PAIR=ON -DCMAKE_PREFIX_PATH=
python -c 'import torch;print(torch.utils.cmake_prefix_path)'-DMKL_INCLUDE_DIR="$CONDA_PREFIX/include" ../cmake
I encountered the following error when compiling force.cpp:
At first, I thought it might be a compiler problem. I tried different versions of Xcode compiler, brew installed llvm compiler, brew installed gcc. None of them works.
Any suggestions on what might be the problem? (It works on a Linux machine)
The text was updated successfully, but these errors were encountered: