Patching Dec 9, 2021 6-7a CST- All GitLab services may be unavailable for 5-10 minutes

Commit cbb3ef07 authored by Roland Haas's avatar Roland Haas
Browse files

mpitar: make -O2 the default optimization setting

parent b2295b01
CC=mpiCC
CCFLAGS=-Wall -g3 -O2
# we call getgrgid which requires a dynamic executable and SEGFAULTs for a
# statically linked one
export CRAYPE_LINK_TYPE=dynamic
......@@ -9,7 +10,7 @@ export XTPE_LINK_TYPE=dynamic
all: mpitar test
mpitar: mpitar.cc timer.hh tarentry.cc tarentry.hh fileentry.hh cmdline.cc cmdline.hh async_writer.cc async_writer.hh
$(CC) $(LDFLAGS) -Wall -g3 -Og mpitar.cc tarentry.cc cmdline.cc async_writer.cc -o mpitar
$(CC) $(LDFLAGS) $(CCFLAGS) mpitar.cc tarentry.cc cmdline.cc async_writer.cc -o mpitar
test: mpitar test.sh
@rm -rf test
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment