-
Notifications
You must be signed in to change notification settings - Fork 2.4k
IPOPT : Optimization flag being ignored #6732
Copy link
Copy link
Closed
Description
My command line optimization flag is being over-written by the IPOPT build.
Spack command:
spack -d install -v [email protected]%[email protected] cflags="-g -O0" cppflags="-g -O0" cxxflags="-g -O0" fflags="-g -O0" -coinhsl+metis arch=linux-rhel7-x86_64
Spack debug output snippet:
[cc] /usr/tce/packages/intel/intel-16.0.3/bin/icpc -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/mumps-\
5.1.1-5a4editxji4yi2zavi6gwtism4mgjl5c/include -g -O0 -g -O0 -DHAVE_CONFIG_H -I. -I. -O3 -ip -mp1 -DNDEBUG -DIPOPT_BUILD -MT IpDebug.lo -MD -MP -MF .deps/IpDebug.Tpo -c IpDebug.cpp -fPIC -DPIC -o .libs/IpDebug.o
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