charmc: MPI build errors when trying to pass -Werror
Passing -Werror to charmc for MPI builds causes a compilation failure. It appears to have been introduced in this commit: https://github.com/UIUC-PPL/charm/commit/3261467e797a03883c685955d40bdaf50eb1f867
To reproduce, build charm with the following command: ./build LIBS mpi-linux-x86_64 --build-shared --with-production -j12 -O3 -DNDEBUG
Then attempt to compile examples/charm++/hello/array1d, but add -Werror as an argument to either the compile or link command: ../../../../bin/charmc -Werror -c hello.C
I got the following error: g++: error: : No such file or directory Fatal Error by charmc in directory /home/epmikida/Programming/charm/examples/charm++/hello/1darray Command mpicxx -fPIC -DCMK_GFORTRAN -DMPICH_SKIP_MPICXX -DOMPI_SKIP_MPICXX -I/home/epmikida/Programming/charm/include -D__CHARMC__=1 -U_FORTIFY_SOURCE -fno-stack-protector -fno-lifetime-dse -ftls-model=initial-exec -std=gnu++11 -c hello.C -o hello.o returned error code 1 charmc exiting...
@evan-charmworks do you have any insight on this?