Skip to Content.
Sympa Menu

opal - [Opal] CMake error while configuring OPAL

opal AT lists.psi.ch

Subject: The OPAL Discussion Forum

List archive

[Opal] CMake error while configuring OPAL


Chronological Thread 
  • From: Matt Easton 董昊 <matt.easton AT pku.edu.cn>
  • To: <opal AT lists.psi.ch>
  • Subject: [Opal] CMake error while configuring OPAL
  • Date: Mon, 29 Jan 2018 09:11:44 +0800
  • Organization: Peking University 北京大学

Hi again,

 

Sorry for sending lots of emails all in a row. If it would be better for the community for me to combine everything into longer, less frequent emails, please let me know.

I’m working on the “one issue one email chain” basis, but am happy to change that if necessary.

 

I am now trying to compile and install OPAL without the SAAMG solver. All the prerequisites seem to have installed fine, using the recipes on the OPAL wiki.

 

I have downloaded the source for OPAL v1.6.1 as a tarball from https://gitlab.psi.ch/OPAL/src/tags/OPAL-1.6.1

 

I’m running the following configure command from the wiki page https://gitlab.psi.ch/OPAL/src/wikis/For%20Developers/Compile-OPAL-on-RHEL6

 

mkdir -p "${SRC_DIR}/OPAL/build" && cd "$_"

CC=mpicc CXX=mpicxx cmake \

        --prefix="${PREFIX}" \

        "${SRC_DIR}/OPAL/src"

 

On my system, $SRC_DIR is ~/Code and $PREFIX is /usr/local.

 

I’m getting two errors from CMake:

 

CMake Error at CMakeLists.txt:11 (STRING):

  string sub-command REGEX, mode MATCH regex "[^0-9]*" matched an empty

  string.

 

CMake Error at CMakeLists.txt:103 (IF):

  if given arguments:

    "MATCHES" "edison" "OR" "MATCHES" "cori" "OR" "MATCHES" "daint"

  Unknown arguments specified

 

Any suggestions on what to look into? These errors don’t mean very much to me, I’m afraid.

 

Thanks for the help,

Matt


Dr Matt Easton 董昊

Post-Doctoral Researcher 博士后研究员

Institute of Heavy Ion Physics 重离子研究所

Peking University 北京大学
matteaston.net/work
matt.easton AT pku.edu.cn
+86 185-1427-0582
北京市海淀区成府路201号加速器楼220

Sent from Outlook 2016

 




Archive powered by MHonArc 2.6.19.

Top of Page