[petsc-users] Failing PETSc 3.19.2 compile using ICPC
Robert.Crockett at lamresearch.com
Robert.Crockett at lamresearch.com
Thu Jul 20 09:27:34 CDT 2023
Satish,
Unfortunately, --with-cxx-dialect+AD0-11 did not fix the problem.
Can you or others on the list tell me the effect on solving large sparse real symmetric and unsymmetric problems, if --with-cxx+AD0-0 and suitesparse is not downloaded?
Thanks,
Robert
Confidential +IBM- Limited Access and Use
-----Original Message-----
From: Satish Balay +ADw-balay+AEA-mcs.anl.gov+AD4-
Sent: Wednesday, July 19, 2023 5:07 PM
To: Barry Smith +ADw-bsmith+AEA-petsc.dev+AD4-
Cc: Crockett, Robert +ADw-Robert.Crockett+AEA-lamresearch.com+AD4AOw- petsc-users+AEA-mcs.anl.gov
Subject: Re: +AFs-petsc-users+AF0- Failing PETSc 3.19.2 compile using ICPC
you can try --with-cxx-dialect+AD0-11 and see if that works.
with -with-cxx+AD0-0 - --download-suitesparse +AFs-and other pkgs that require cxx+AF0- won't work - and would need to be installed separately
Jacob,
One more use case for --with-cxx-bindings+AD0-0
Satish
On Wed, 19 Jul 2023, Barry Smith wrote:
+AD4-
+AD4- Do you need C+-+-, you can configure --with-cxx+AD0-0 if you do not need it.
+AD4-
+AD4- You can also try the main branch of PETSc or slightly different versions of the compiler.
+AD4-
+AD4- Barry
+AD4-
+AD4-
+AD4-
+AD4- +AD4- On Jul 19, 2023, at 4:31 PM, Robert Crockett via petsc-users +ADw-petsc-users+AEA-mcs.anl.gov+AD4- wrote:
+AD4- +AD4-
+AD4- +AD4- Hello,
+AD4- +AD4- I am attempting to build PETSc using the 2018.5.274 Intel compiler suite on CentOS7. I get the below error messages.
+AD4- +AD4- See the attached for more information.
+AD4- +AD4- The file petscbuild.sh is the script used to configure and build The
+AD4- +AD4- file configure.log is output by PETSc The file log.petscbuild is the
+AD4- +AD4- output of the config +ACY- build script.
+AD4- +AD4-
+AD4- +AD4- Can you please help find a work-around?
+AD4- +AD4- Best,
+AD4- +AD4- Robert
+AD4- +AD4-
+AD4- +AD4- PS. Some related links I found in searching on this issue.
+AD4- +AD4- The first references a related compiler bug ticket opened with Intel, though I cannot tell if it was closed or if it applied to my compiler.
+AD4- +AD4- https://nam02.safelinks.protection.outlook.com/?url+AD0-https+ACU-3A+ACU-2F+ACU-2Fco
+AD4- +AD4- mmunity.intel.com+ACU-2Ft5+ACU-2FIntel-C-Compiler+ACU-2FDefault-constructor-of-v
+AD4- +AD4- ariant-is-deleted+ACU-2Fm-p+ACU-2F1156212+ACU-3Fprofile.language+ACU-3Den+ACY-data+AD0-05+ACU-7C
+AD4- +AD4- 01+ACU-7CRobert.Crockett+ACU-40lamresearch.com+ACU-7C616797c1562a4487ab5008db889
+AD4- +AD4- c18bc+ACU-7C918079dbc9024e29b22c9764410d0375+ACU-7C0+ACU-7C0+ACU-7C63825397626768035
+AD4- +AD4- 8+ACU-7CUnknown+ACU-7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTi
+AD4- +AD4- I6Ik1haWwiLCJXVCI6Mn0+ACU-3D+ACU-7C3000+ACU-7C+ACU-7C+ACU-7C+ACY-sdata+AD0-aLTeNz0m6xZ4df8AyndNe
+AD4- +AD4- 38vqD16gbTfWuKHGw735+ACU-2BY+ACU-3D+ACY-reserved+AD0-0
+AD4- +AD4- https://nam02.safelinks.protection.outlook.com/?url+AD0-https+ACU-3A+ACU-2F+ACU-2Fme
+AD4- +AD4- diatum.ub.tum.de+ACU-2Fdoc+ACU-2F1555265+ACU-2F1555265.pdf+ACY-data+AD0-05+ACU-7C01+ACU-7CRobert
+AD4- +AD4- .Crockett+ACU-40lamresearch.com+ACU-7C616797c1562a4487ab5008db889c18bc+ACU-7C918
+AD4- +AD4- 079dbc9024e29b22c9764410d0375+ACU-7C0+ACU-7C0+ACU-7C638253976267680358+ACU-7CUnknown
+AD4- +AD4- +ACU-7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiL
+AD4- +AD4- CJXVCI6Mn0+ACU-3D+ACU-7C3000+ACU-7C+ACU-7C+ACU-7C+ACY-sdata+AD0-KfN8V+ACU-2BPnJs5kr5itDINRXfrFUOpRX3
+AD4- +AD4- Kok9OtAC4k1pg+ACU-3D+ACY-reserved+AD0-0
+AD4- +AD4-
+AD4- +AD4- Robert Crockett
+AD4- +AD4- Plasma Simulation Engineer +AHw- OCTO - Computational Products
+AD4- +AD4- P: 617.648.8349 M: 415.205.4567
+AD4- +AD4-
+AD4- +AD4- LAM RESEARCH
+AD4- +AD4- 4650 Cushing Pkwy, Fremont CA 94538 USA lamresearch.com
+AD4- +AD4- +ADw-https://www.lamresearch.com/+AD4- +ADw-image001.png+AD4-
+AD4- +AD4-
+AD4- +AD4- -----------------------------------------
+AD4- +AD4- Using C compile: /usr/local/petsc/r/bin/mpicc -o .o -c -wd1572
+AD4- +AD4- -Wno-unknown-pragmas -O3 -mtune+AD0-generic mpicc -show: icc -fPIC
+AD4- +AD4- -wd1572 -O3 -mtune+AD0-generic -I/usr/local/petsc/r/include
+AD4- +AD4- -L/usr/local/petsc/r/lib -Wl,-rpath -Wl,/usr/local/petsc/r/lib
+AD4- +AD4- -Wl,--enable-new-dtags -lmpi C compiler version: icc (ICC) 18.0.5
+AD4- +AD4- 20180823 Using C+-+- compile: /usr/local/petsc/r/bin/mpicxx -o .o -c
+AD4- +AD4- -wd1572 -O3 -mtune+AD0-generic -std+AD0-c+-+-14
+AD4- +AD4- -I/usr/local/share/petsc/src/include
+AD4- +AD4- -I/usr/local/share/petsc/src/arch-linux-c-opt/include
+AD4- +AD4- -I/usr/local/petsc/r/include mpicxx -show: icpc -wd1572 -O3
+AD4- +AD4- -mtune+AD0-generic -std+AD0-c+-+-14 -fPIC -I/usr/local/petsc/r/include
+AD4- +AD4- -L/usr/local/petsc/r/lib -lmpicxx -Wl,-rpath
+AD4- +AD4- -Wl,/usr/local/petsc/r/lib -Wl,--enable-new-dtags -lmpi
+AD4- +AD4- C+-+- compiler version: icpc (ICC) 18.0.5 20180823
+AD4- +AD4- Using Fortran compile: /usr/local/petsc/r/bin/mpif90 -o .o -c -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 -mtune+AD0-generic -I/usr/local/share/petsc/src/include -I/usr/local/share/petsc/src/arch-linux-c-opt/include -I/usr/local/petsc/r/include
+AD4- +AD4- mpif90 -show: gfortran -fPIC -ffree-line-length-none
+AD4- +AD4- -ffree-line-length-0 -Wno-lto-type-mismatch -O3 -mtune+AD0-generic
+AD4- +AD4- -I/usr/local/petsc/r/include -I/usr/local/petsc/r/include
+AD4- +AD4- -L/usr/local/petsc/r/lib -lmpifort -Wl,-rpath
+AD4- +AD4- -Wl,/usr/local/petsc/r/lib -Wl,--enable-new-dtags -lmpi Fortran
+AD4- +AD4- compiler version: GNU Fortran (GCC) 7.3.1 20180303 (Red Hat 7.3.1-5)
+AD4- +AD4- -----------------------------------------
+AD4- +AD4- Using C/C+-+- linker: /usr/local/petsc/r/bin/mpicc Using C/C+-+- flags:
+AD4- +AD4- -wd1572 -Wno-unknown-pragmas -O3 -mtune+AD0-generic Using Fortran
+AD4- +AD4- linker: /usr/local/petsc/r/bin/mpif90 Using Fortran flags: -Wall
+AD4- +AD4- -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch
+AD4- +AD4- -Wno-unused-dummy-argument -O3 -mtune+AD0-generic
+AD4- +AD4- -----------------------------------------
+AD4- +AD4- Using system modules:
+AD4- +AD4- Using mpi.h: +ACM- 1 +ACI-/usr/local/petsc/r/include/mpi.h+ACI- 1
+AD4- +AD4- -----------------------------------------
+AD4- +AD4- Using libraries:
+AD4- +AD4- -Wl,-rpath,/usr/local/share/petsc/src/arch-linux-c-opt/lib
+AD4- +AD4- -L/usr/local/share/petsc/src/arch-linux-c-opt/lib
+AD4- +AD4- -Wl,-rpath,/usr/local/petsc/r/lib -L/usr/local/petsc/r/lib
+AD4- +AD4- -Wl,-rpath,/opt/rh/devtoolset-7/root/usr/lib/gcc/x86+AF8-64-redhat-linux
+AD4- +AD4- /7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86+AF8-64-redhat-linux/7
+AD4- +AD4- -Wl,-rpath,/opt/rh/devtoolset-7/root/usr/lib64
+AD4- +AD4- -L/opt/rh/devtoolset-7/root/usr/lib64
+AD4- +AD4- -Wl,-rpath,/work/tools/intel/composer+AF8-xe+AF8-2018+AF8-4/compilers+AF8-and+AF8-librar
+AD4- +AD4- ies+AF8-2018.5.274/linux/ipp/lib/intel64
+AD4- +AD4- -L/work/tools/intel/composer+AF8-xe+AF8-2018+AF8-4/compilers+AF8-and+AF8-libraries+AF8-2018.
+AD4- +AD4- 5.274/linux/ipp/lib/intel64
+AD4- +AD4- -Wl,-rpath,/work/tools/intel/composer+AF8-xe+AF8-2018+AF8-4/compilers+AF8-and+AF8-librar
+AD4- +AD4- ies+AF8-2018.5.274/linux/compiler/lib/intel64+AF8-lin
+AD4- +AD4- -L/work/tools/intel/composer+AF8-xe+AF8-2018+AF8-4/compilers+AF8-and+AF8-libraries+AF8-2018.
+AD4- +AD4- 5.274/linux/compiler/lib/intel64+AF8-lin
+AD4- +AD4- -Wl,-rpath,/work/tools/intel/composer+AF8-xe+AF8-2018+AF8-4/compilers+AF8-and+AF8-librar
+AD4- +AD4- ies+AF8-2018.5.274/linux/mkl/lib/intel64+AF8-lin
+AD4- +AD4- -L/work/tools/intel/composer+AF8-xe+AF8-2018+AF8-4/compilers+AF8-and+AF8-libraries+AF8-2018.
+AD4- +AD4- 5.274/linux/mkl/lib/intel64+AF8-lin
+AD4- +AD4- -Wl,-rpath,/work/tools/intel/composer+AF8-xe+AF8-2018+AF8-4/compilers+AF8-and+AF8-librar
+AD4- +AD4- ies+AF8-2018.5.274/linux/tbb/lib/intel64/gcc4.7
+AD4- +AD4- -L/work/tools/intel/composer+AF8-xe+AF8-2018+AF8-4/compilers+AF8-and+AF8-libraries+AF8-2018.
+AD4- +AD4- 5.274/linux/tbb/lib/intel64/gcc4.7
+AD4- +AD4- -Wl,-rpath,/work/tools/intel/composer+AF8-xe+AF8-2018+AF8-4/compilers+AF8-and+AF8-librar
+AD4- +AD4- ies+AF8-2018.5.274/linux/daal/lib/intel64+AF8-lin
+AD4- +AD4- -L/work/tools/intel/composer+AF8-xe+AF8-2018+AF8-4/compilers+AF8-and+AF8-libraries+AF8-2018.
+AD4- +AD4- 5.274/linux/daal/lib/intel64+AF8-lin
+AD4- +AD4- -Wl,-rpath,/work/tools/intel/composer+AF8-xe+AF8-2018+AF8-4/compilers+AF8-and+AF8-librar
+AD4- +AD4- ies+AF8-2018.5.274/linux/tbb/lib/intel64+AF8-lin/gcc4.4
+AD4- +AD4- -L/work/tools/intel/composer+AF8-xe+AF8-2018+AF8-4/compilers+AF8-and+AF8-libraries+AF8-2018.
+AD4- +AD4- 5.274/linux/tbb/lib/intel64+AF8-lin/gcc4.4
+AD4- +AD4- -Wl,-rpath,/opt/rh/devtoolset-7/root/usr/lib
+AD4- +AD4- -L/opt/rh/devtoolset-7/root/usr/lib -lpetsc -lspqr -lumfpack -lklu
+AD4- +AD4- -lcholmod -lbtf -lccolamd -lcolamd -lcamd -lamd -lsuitesparseconfig
+AD4- +AD4- -lscalapack -lsuperlu -lf2clapack -lf2cblas -lptesmumps
+AD4- +AD4- -lptscotchparmetisv3 -lptscotch -lptscotcherr -lesmumps -lscotch
+AD4- +AD4- -lscotcherr -lpthread -lmetis -ldl -lmpifort -lmpi -lgfortran -lm
+AD4- +AD4- -lgfortran -lm -lgcc+AF8-s -lquadmath -ldl -lmpicxx -lmpi -limf -lsvml
+AD4- +AD4- -lirng -lstdc+-+- -lm -lipgo -ldecimal -lcilkrts -lgcc+AF8-s -lirc -lirc+AF8-s
+AD4- +AD4- -lrt -ldl -lmpicxx -lmpi -limf -lsvml -lirng -lstdc+-+- -lm -lipgo
+AD4- +AD4- -ldecimal -lcilkrts -lgcc+AF8-s -lirc -lirc+AF8-s -ldl
+AD4- +AD4- ------------------------------------------
+AD4- +AD4- Using mpiexec: /usr/local/petsc/r/bin/mpiexec
+AD4- +AD4- ------------------------------------------
+AD4- +AD4- Using MAKE: /usr/bin/gmake
+AD4- +AD4- Default MAKEFLAGS: MAKE+AF8-NP:4 MAKE+AF8-LOAD:6.0 MAKEFLAGS:
+AD4- +AD4- --no-print-directory -- PETSC+AF8-ARCH+AD0-arch-linux-c-opt
+AD4- +AD4- PETSC+AF8-DIR+AD0-/usr/local/share/petsc/src
+AD4- +AD4- +AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9-
+AD4- +AD4- /usr/bin/gmake --print-directory -f gmakefile -j4 -l6.0 V+AD0- libs
+AD4- +AD4- /opt/mambaforge/bin/python3 ./config/gmakegen.py --petsc-arch+AD0-arch-linux-c-opt
+AD4- +AD4- CXX arch-linux-c-opt/obj/sys/objects/device/impls/host/hostcontext.o
+AD4- +AD4- CXX arch-linux-c-opt/obj/sys/objects/device/impls/host/hostdevice.o
+AD4- +AD4- CXX arch-linux-c-opt/obj/sys/objects/device/interface/dcontext.o
+AD4- +AD4- CXX arch-linux-c-opt/obj/sys/objects/device/interface/device.o
+AD4- +AD4- CXX arch-linux-c-opt/obj/sys/objects/device/interface/global+AF8-dcontext.o
+AD4- +AD4- CXX
+AD4- +AD4- arch-linux-c-opt/obj/sys/objects/device/interface/mark+AF8-dcontext.o
+AD4- +AD4- /usr/local/share/petsc/src/include/petsc/private/cpp/object+AF8-pool.hpp(930): error: the default constructor of +ACI-Petsc::util::compressed+AF8-pair+ADw-PetscDeviceContextConstructor, Petsc::memory::PoolAllocator+AD4AIg- cannot be referenced -- it is a deleted function
+AD4- +AD4- util::compressed+AF8-pair+ADw-constructor+AF8-type, allocator+AF8-type+AD4- pair+AF8AewB9ADs-
+AD4- +AD4- +AF4-
+AD4- +AD4- detected during instantiation of class +ACI-Petsc::ObjectPool+ADw-T, Constructor+AD4- +AFs-with T+AD0AXw-p+AF8-PetscDeviceContext, Constructor+AD0-PetscDeviceContextConstructor+AF0AIg- at line 61 of +ACI-/usr/local/share/petsc/src/src/sys/objects/device/interface/dcontext.cxx+ACI-
+AD4- +AD4-
+AD4- +AD4- CXX
+AD4- +AD4- arch-linux-c-opt/obj/sys/objects/device/interface/memory.o
+AD4- +AD4- compilation aborted for
+AD4- +AD4- /usr/local/share/petsc/src/src/sys/objects/device/interface/dcontext
+AD4- +AD4- .cxx (code 2)
+AD4- +AD4- gmake+AFs-3+AF0-: +ACoAKgAq-
+AD4- +AD4- +AFs-arch-linux-c-opt/obj/sys/objects/device/interface/dcontext.o+AF0- Error
+AD4- +AD4- 2
+AD4- +AD4- gmake+AFs-3+AF0-: +ACoAKgAq- Waiting for unfinished jobs....
+AD4- +AD4- /usr/local/share/petsc/src/include/petsc/private/cpp/object+AF8-pool.hpp(930): error: the default constructor of +ACI-Petsc::util::compressed+AF8-pair+ADw-PetscEventConstructor, Petsc::memory::PoolAllocator+AD4AIg- cannot be referenced -- it is a deleted function
+AD4- +AD4- util::compressed+AF8-pair+ADw-constructor+AF8-type, allocator+AF8-type+AD4- pair+AF8AewB9ADs-
+AD4- +AD4- +AF4-
+AD4- +AD4- detected during instantiation of class +ACI-Petsc::ObjectPool+ADw-T, Constructor+AD4- +AFs-with T+AD0AXw-n+AF8-PetscEvent, Constructor+AD0-PetscEventConstructor+AF0AIg- at line 54 of +ACI-/usr/local/share/petsc/src/src/sys/objects/device/interface/mark+AF8-dcontext.cxx+ACI-
+AD4- +AD4-
+AD4- +AD4- compilation aborted for
+AD4- +AD4- /usr/local/share/petsc/src/src/sys/objects/device/interface/mark+AF8-dco
+AD4- +AD4- ntext.cxx (code 2)
+AD4- +AD4- gmake+AFs-3+AF0-: +ACoAKgAq-
+AD4- +AD4- +AFs-arch-linux-c-opt/obj/sys/objects/device/interface/mark+AF8-dcontext.o+AF0-
+AD4- +AD4- Error 2
+AD4- +AD4- gmake+AFs-2+AF0-: +ACoAKgAq- +AFs-libs+AF0- Error 2
+AD4- +AD4- +ACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKg-ERROR+ACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACo-
+AD4- +AD4- Error during compile, check arch-linux-c-opt/lib/petsc/conf/make.log
+AD4- +AD4- Send it and arch-linux-c-opt/lib/petsc/conf/configure.log to
+AD4- +AD4- petsc-maint+AEA-mcs.anl.gov +ADw-mailto:petsc-maint+AEA-mcs.anl.gov+AD4-
+AD4- +AD4- +ACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKg-
+AD4- +AD4- make+AFs-1+AF0-: +ACoAKgAq- +AFs-all+AF0- Error 1
+AD4- +AD4- make: +ACoAKgAq- +AFs-all+AF0- Error 2
+AD4- +AD4- +ACoAKgAq- Using PETSC+AF8-DIR+AD0-/usr/local/share/petsc/src
+AD4- +AD4- PETSC+AF8-ARCH+AD0-arch-linux-c-opt +ACoAKgAq-
+AD4- +AD4- +ACoAKgAq- Installing PETSc at prefix location: /usr/local/petsc/r +ACoAKgAq-
+AD4- +AD4- +AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9-
+AD4- +AD4- Install complete.
+AD4- +AD4-
+AD4- +AD4-
+AD4- +AD4- LAM RESEARCH CONFIDENTIALITY NOTICE: This e-mail transmission, and any documents, files, or previous e-mail messages attached to it, (collectively, +ACI-E-mail Transmission+ACI-) may be subject to one or more of the following based on the associated sensitivity level: E-mail Transmission (i) contains confidential information, (ii) is prohibited from distribution outside of Lam, and/or (iii) is intended solely for and restricted to the specified recipient(s). If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of any of the information contained in or attached to this message is STRICTLY PROHIBITED. If you have received this transmission in error, please immediately notify the sender and destroy the original transmission and its attachments without reading them or saving them to disk. Thank you.
+AD4- +AD4-
+AD4- +AD4- Confidential +IBM- Limited Access and Use
+AD4- +AD4-
+AD4- +AD4- +ADw-configure.log+AD4APA-log.petscbuild+AD4APA-petscbuild.sh+AD4-
+AD4-
+AD4-
More information about the petsc-users
mailing list