<div dir="ltr"><div>Hi,</div><div><br></div><div>You have to check the appropriate log file to find the error:<br></div><div><br></div><div>build/scalapack-2.1.0/build/configure.log</div><div><br></div><div>Best,</div><div>Fabian<br></div><br>On Wednesday, 29 July 2020 04:14:05 UTC+2, zho...@gmail.com  wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">Hi Everyone,<div>I meet a difficulty in compling CP2K using toolchain. Here is the error in installing ScaLAPACK.</div><div><div>==================== Installing ScaLAPACK ====================</div><div>scalapack-2.0.2.tgz is found</div><div>Installing from scratch into /home/wangzl/cp2k-7.1.0/tools/<wbr>toolchain/install/scalapack-2.<wbr>0.2</div><div>ERROR: (./scripts/install_scalapack.<wbr>sh, line 47) Non-zero exit code detected.</div></div><div>and the error in make.log is following</div><div><div>make[2]: *** [CMakeFiles/scalapack.dir/<wbr>build.make:661: CMakeFiles/scalapack.dir/<wbr>BLACS/SRC/sgamx2d_.c.o] Error 1</div><div>make[1]: *** [CMakeFiles/Makefile2:877: CMakeFiles/scalapack.dir/all] Error 2</div></div><div>I tried to search sgamx2d_.c.o in CMakeFiles/scalapack.dir/<wbr>BLACS/SRC but fail to find. I am puzzling now. Can anyone help me? Thanks!</div></blockquote></div>