[CP2K-user] [CP2K:18571] g++: error: unrecognized command line option ‘--showme:compile’

'Pitt Chen' via cp2k cp2k at googlegroups.com
Tue Mar 21 15:13:10 UTC 2023


Hello everyone, I encountered some problems when installing CP2K-dependent 
libraries through toolchain. When I executed
 ./install_cp2k_toolchain.sh --with-sirius=no --with-openmpi=system 
--with-plumed=install
it happened Got the following error:
====================== Finding OpenMPI from system paths 
=====================
path to mpirun is /share/intel/impi/5.0.3.049/intel64/bin/mpirun
path to mpicc is /share/intel/impi/5.0.3.049/intel64/bin/mpicc
path to mpic++ is /share/home/chenxx/anaconda3/bin/mpic++
path to mpif90 is /share/intel/impi/5.0.3.049/intel64/bin/mpif90
g++: error: unrecognized command line option '--showme:compile'
ERROR: (./scripts/stage1/install_openmpi.sh, line 98) Non-zero exit code 
detected.
My gcc version is g++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44), how should I 
solve this error? Since I already have openmi, I write like 
this:--with-openmpi=system                
Line 98 of my install_openmpi.sh looks like this: 
OPENMPI CFLAGS="$(mpicc --showme:compile)"
I would be very grateful if you could answer my question.

-- 
You received this message because you are subscribed to the Google Groups "cp2k" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cp2k+unsubscribe at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cp2k/6d47f69b-646a-4d8b-9f89-dba4bff6fe7fn%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20230321/6c5b3ae5/attachment.htm>


More information about the CP2K-user mailing list