unable to compile using make auto

Submitted by Narayani on
Narayani

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.

Tue, 28 Dec 2021 - 12:25 Permalink
mschramm

In reply to by Narayani

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.

Tue, 28 Dec 2021 - 19:40 Permalink

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