unable to compile using make auto

Submitted by Narayani on Tue, 10/12/2021 - 18:08

make[1]: *** No rule to make target '/usr/include/x86_64-linux-gnu/bits/libc-header-start.h', needed by 'compute_erotate.o'. Stop.

Narayani | Tue, 12/28/2021 - 12:25

cray cluster
- able to install with make mpi which does not support superquadric particles
- make auto giving the following error
g++: error: unrecognized command-line option '-show'
g++: fatal error: no input files
compilation terminated.
Warning: MPICXX compiler is but g++. Thus, setting the MPICH cxx compiler to g++.
Makefile:505: *** 'Could not compile and link a simple MPI example. Test was done with MPI_LIB=/opt/cray/pe/mpt/7.7.16/gni/mpich-cray64/9.0/lib '. Stop.

mschramm | Tue, 12/28/2021 - 19:40

Hello,
to enable superquadratics, you need to add specific pre-compiler flags to the Makefile you wish to use.
I do not know what these flags are off the top of my head but can be found by either checking Makefile.auto or compiling the program locally and checking the compile strings to extract the needed flags.