-
Notifications
You must be signed in to change notification settings - Fork 2.4k
MFEM : Optimization flag being ignored #6745
Copy link
Copy link
Closed
Description
My command line optimization flag is being over-written by the MFEM build.
Spack command:
spack -d install -v [email protected]%[email protected] cflags="-g -O0" cppflags="-g -O0" cxxflags="-g -O0" fflags="-g -O0" ~debug~examples~gzstream+hypre+lapack~miniapps~mpfr+mpi+netcdf~openmp~petsc~suite-sparse~sundials~superlu-dist~threadsafe arch=linux-rhel7-x86_64
Spack debug output snippet:
[cc] /usr/tce/packages/intel/intel-16.0.3/bin/icpc -I/usr/tce/packages/mvapich2/mvapich2-2.3-intel-16.0.3/include -I/g/g14/kudo4/spack/opt/spack/linux-rhel7-x86_64/intel-16.0.3/zlib-1.2.11-hhe7xrd6rlf7afevulaptctrum3673we/include -I/g/g\
14/kudo4/spack/opt/spack/linux-rhel7-x86_64/intel-16.0.3/hypre-2.12.1-3asacyzbswxnimncl3jfad6gq2tizfap/include -I/g/g14/kudo4/spack/opt/spack/linux-rhel7-x86_64/intel-16.0.3/metis-4.0.3-sacetyhy56rhqu6ggx3hzjfcwsaxs5t3/include -I/g/g14/\
kudo4/spack/opt/spack/linux-rhel7-x86_64/intel-16.0.3/netcdf-4.4.1.1-6h45mookfhf7u5grqknfb5uc7dz2h5pz/include -I/g/g14/kudo4/spack/opt/spack/linux-rhel7-x86_64/intel-16.0.3/hdf5-1.10.1-soxcwgh2bnzzqmq5bvhvplysjxtizrfx/include -g -O0 -g \
-O0 -g -O3 -I/g/g14/kudo4/spack/opt/spack/linux-rhel7-x86_64/intel-16.0.3/hypre-2.12.1-3asacyzbswxnimncl3jfad6gq2tizfap/include -I/g/g14/kudo4/spack/opt/spack/linux-rhel7-x86_64/intel-16.0.3/metis-4.0.3-sacetyhy56rhqu6ggx3hzjfcwsaxs5t3/\
include -I/usr/lib64/include -I/g/g14/kudo4/spack/opt/spack/linux-rhel7-x86_64/intel-16.0.3/netcdf-4.4.1.1-6h45mookfhf7u5grqknfb5uc7dz2h5pz/include -c general/array.cpp -o general/array.o -I/usr/tce/packages/mvapich2/mvapich2-2.3-intel-\
16.0.3/include
Note the -O3 being introduced.
Information on your system
Platform : TOSS3/TOSS (Tri-Lab Operating System Stack)
Relevant configuration details:
compilers.yaml
compilers:
- compiler:
environment: {}
extra_rpaths: []
modules: []
operating_system: rhel7
paths:
cc: /usr/tce/packages/intel/intel-16.0.3/bin/icc
cxx: /usr/tce/packages/intel/intel-16.0.3/bin/icpc
f77: /usr/tce/packages/intel/intel-16.0.3/bin/ifort
fc: /usr/tce/packages/intel/intel-16.0.3/bin/ifort
flags: {}
spec: [email protected]
target: x86_64
packages.yaml:
packages:
all:
compiler: [intel, gcc, pgi, clang, xl, nag]
providers:
mpi: [mvapich2]
blas: [netlib-lapack]
lapack: [netlib-lapack]
metis:
version: [4.0.3]
netlib-lapack:
paths:
[email protected]: /usr/lib64/
buildable: False
mvapich2:
paths:
[email protected]: /usr/tce/packages/mvapich2/mvapich2-2.3-intel-16.0.3/
buildable: False
mpich:
buildable: False
openmpi:
buildable: False
intel-mpi:
buildable: False
spectrum-mpi:
buildable: False
intel-parallel-studio:
buildable: False
cmake:
paths:
[email protected] arch=linux-rhel7-x86_64: /usr/tce/packages/cmake/cmake-3.5.2/
buildable: False
pkg-config:
paths:
[email protected] arch=linux-rhel7-x86_64: /usr/bin/
buildable: False
m4:
paths:
[email protected] arch=linux-rhe17-x86_64: /usr/bin/
buildable: False
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels