Skip to content

Instantly share code, notes, and snippets.

@zhongxiang117
Created April 19, 2022 10:21
Show Gist options
  • Save zhongxiang117/9cdccfee43861649975839662b089592 to your computer and use it in GitHub Desktop.
Save zhongxiang117/9cdccfee43861649975839662b089592 to your computer and use it in GitHub Desktop.
GROMACS-Compiling

when compiling GROMACS, there possibly might be an error:

~/gmxpath/build/gromacs/src/double/src/external/build-fftw/fftwBuild-prefix/src/fftwBuild/simd-support/simd-avx2.h:43:2: error: #error "compiling simd-avx2.h without avx2 support"

By refering to this post: https://bbs.archlinux.org/viewtopic.php?id=250244

I know this is caused by the conflicts of -march of cc compiler.

Reading this manual for detail info: gcc options

Thus to solve it, simply remove the corresponding flags inside Makefile will make the problem gone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment