Thank you for your suggesstion! The make.log and configure.log files are attached below. This scalapack installation failure problem has bothered me for several days, but I still haven't found a way to solve it. I need get your help so that I can learn about the use of CP2K. Thanks!<br><br><div class="gmail_quote"><div dir="auto" class="gmail_attr">在2020年7月30日星期四 UTC+8 下午3:56:37&l...@chem.uzh.ch> 写道:<br/></div><blockquote class="gmail_quote" style="margin: 0 0 0 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">please post the complete build/scalapack-2.1.0/build/make.log (or the 
<br>part where one can see the original compiler error for sgamx2d_.c).
<br>
<br>Best regards,
<br>Tiziano
<br>
<br>On 29.07.20 15:34, <a href data-email-masked rel="nofollow">zho...@gmail.com</a> wrote:
<br>> Thank you for your kind suggesstion!I checked the configure.log, but I 
<br>> am still not sure what contributes to the error. I touched the 
<br>> configure.log below, could you help me analyze it? Thanks!
<br>> 在2020年7月29日星期三 UTC+8 下午3:01:27<<a href data-email-masked rel="nofollow">fa...@gmail.com</a>> 写道:
<br>> 
<br>>     Hi,
<br>> 
<br>>     You have to check the appropriate log file to find the error:
<br>> 
<br>>     build/scalapack-2.1.0/build/configure.log
<br>> 
<br>>     Best,
<br>>     Fabian
<br>> 
<br>>     On Wednesday, 29 July 2020 04:14:05 UTC+2, <a href data-email-masked rel="nofollow">zho...@gmail.com</a> wrote:
<br>> 
<br>>         Hi Everyone,
<br>>         I meet a difficulty in compling CP2K using toolchain. Here is
<br>>         the error in installing ScaLAPACK.
<br>>         ==================== Installing ScaLAPACK ====================
<br>>         scalapack-2.0.2.tgz is found
<br>>         Installing from scratch into
<br>>         /home/wangzl/cp2k-7.1.0/tools/toolchain/install/scalapack-2.0.2
<br>>         ERROR: (./scripts/install_scalapack.sh, line 47) Non-zero exit
<br>>         code detected.
<br>>         and the error in make.log is following
<br>>         make[2]: *** [CMakeFiles/scalapack.dir/build.make:661:
<br>>         CMakeFiles/scalapack.dir/BLACS/SRC/sgamx2d_.c.o] Error 1
<br>>         make[1]: *** [CMakeFiles/Makefile2:877:
<br>>         CMakeFiles/scalapack.dir/all] Error 2
<br>>         I tried to search sgamx2d_.c.o in
<br>>         CMakeFiles/scalapack.dir/BLACS/SRC but fail to find. I am
<br>>         puzzling now. Can anyone help me? Thanks!
<br>> 
<br>> -- 
<br>> You received this message because you are subscribed to the Google 
<br>> Groups "cp2k" group.
<br>> To unsubscribe from this group and stop receiving emails from it, send 
<br>> an email to <a href data-email-masked rel="nofollow">cp...@googlegroups.com</a> 
<br>> <mailto:<a href data-email-masked rel="nofollow">cp...@googlegroups.com</a>>.
<br>> To view this discussion on the web visit 
<br>> <a href="https://groups.google.com/d/msgid/cp2k/a49aa622-01a8-473b-bcb9-3df62a079e24n%40googlegroups.com" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=zh-CN&q=https://groups.google.com/d/msgid/cp2k/a49aa622-01a8-473b-bcb9-3df62a079e24n%2540googlegroups.com&source=gmail&ust=1596205823367000&usg=AFQjCNEMEQOeuu-vDvKKy28oK5SIgi-WQQ">https://groups.google.com/d/msgid/cp2k/a49aa622-01a8-473b-bcb9-3df62a079e24n%40googlegroups.com</a> 
<br>> <<a href="https://groups.google.com/d/msgid/cp2k/a49aa622-01a8-473b-bcb9-3df62a079e24n%40googlegroups.com?utm_medium=email&utm_source=footer" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=zh-CN&q=https://groups.google.com/d/msgid/cp2k/a49aa622-01a8-473b-bcb9-3df62a079e24n%2540googlegroups.com?utm_medium%3Demail%26utm_source%3Dfooter&source=gmail&ust=1596205823367000&usg=AFQjCNGvweNqfm_Wl3jkzudYeSkBTrl0Fw">https://groups.google.com/d/msgid/cp2k/a49aa622-01a8-473b-bcb9-3df62a079e24n%40googlegroups.com?utm_medium=email&utm_source=footer</a>>.
<br>
<br>-- 
<br>Tiziano Müller
<br>University of Zurich
<br>Department of Chemistry
<br>Winterthurerstrasse 190
<br>CH-8057 Zürich
<br>
<br>Tel: +41 44 63 54234
<br><a href="http://www.chem.uzh.ch" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=zh-CN&q=http://www.chem.uzh.ch&source=gmail&ust=1596205823367000&usg=AFQjCNFT5XnJeBWGG1_VLqkFPtarHSNJqA">www.chem.uzh.ch</a>
<br><a href data-email-masked rel="nofollow">tiz...@chem.uzh.ch</a>
<br></blockquote></div>